Annual report pursuant to Section 13 and 15(d)

Net Loss Per Share - Summary of Basic and Diluted Earnings Per Share (Detail)

v3.8.0.1
Net Loss Per Share - Summary of Basic and Diluted Earnings Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Numerator:                      
Net income (loss) $ (19,448) $ (9,167) $ 10,965 $ 8,463 $ 8,348 $ 9,679 $ 22,584 $ 20,681 $ (9,187) $ 61,292 $ (42,331)
Denominator:                      
Weighted Average Number of Shares Outstanding, Basic                 66,252 63,781 53,378
Dilutive common stock equivalents (shares)                 0 3,872 0
Weighted average common shares outstanding-diluted (shares)                 66,252 67,653 53,378
Net income (loss) per share:                      
Basic (usd per share) $ (0.29) $ (0.14) $ 0.17 $ 0.13 $ 0.13 $ 0.15 $ 0.36 $ 0.33 $ (0.14) $ 0.96 $ (0.79)
Diluted (usd per share) $ (0.29) $ (0.14) $ 0.16 $ 0.12 $ 0.12 $ 0.14 $ 0.33 $ 0.31 $ (0.14) $ 0.91 $ (0.79)