Annual report pursuant to Section 13 and 15(d)

Selected Quarterly Financial Data (Details)

v3.8.0.1
Selected Quarterly Financial Data (Details) - USD ($)
$ / shares in Units, $ 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
Quarterly Financial Information Disclosure [Abstract]                      
Net revenue $ 113,721 $ 113,581 $ 104,175 $ 88,841 $ 87,136 $ 96,324 $ 101,687 $ 102,685 $ 420,318 $ 387,832 $ 300,360
Gross profit 52,093 51,842 51,104 52,924 50,403 55,504 62,913 61,170 207,963 229,990 155,423
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)
Basic $ (0.29) $ (0.14) $ 0.17 $ 0.13 $ 0.13 $ 0.15 $ 0.36 $ 0.33 $ (0.14) $ 0.96 $ (0.79)
Diluted $ (0.29) $ (0.14) $ 0.16 $ 0.12 $ 0.12 $ 0.14 $ 0.33 $ 0.31 $ (0.14) $ 0.91 $ (0.79)