XML 59 R42.htm IDEA: XBRL DOCUMENT v3.10.0.1
Net Income (Loss) Per Share - Schedule of Net Income (Loss) Per Share (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Earnings Per Share [Abstract]                      
Net income (loss) - basic and diluted $ 18,078 $ 50,764 $ (5,913) $ (41,818) $ 6,894 $ (11,125) $ (59,985) $ (78,326) $ 21,111 $ (142,542) $ (141,090)
Weighted-average common shares outstanding:                      
Basic 90,742,000 90,555,000 90,100,000 89,526,000 88,665,000 88,325,000 88,063,000 87,283,000 90,235,000 88,089,000 86,713,000
Effect of dilutive securities:                      
Employee stock purchase program                 11,000 0 0
Stock options                 3,228,000 0 0
Restricted stock units                 564,000 0 0
2024 Notes                 1,348,000 0 0
Diluted 95,724,000 96,798,000 90,100,000 89,526,000 92,659,000 88,325,000 88,063,000 87,283,000 95,386,000 88,089,000 86,713,000
Net income (loss) per share:                      
Basic $ 0.20 $ 0.56 $ (0.07) $ (0.47) $ 0.08 $ (0.13) $ (0.68) $ (0.90) $ 0.23 $ (1.62) $ (1.63)
Diluted $ 0.19 $ 0.52 $ (0.07) $ (0.47) $ 0.07 $ (0.13) $ (0.68) $ (0.90) $ 0.22 $ (1.62) $ (1.63)