Annual report pursuant to Section 13 and 15(d)

Selected Quarterly Financial Data (Details)

v3.6.0.2
Selected Quarterly Financial Data (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Sep. 30, 2016
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Quarterly Financial Information Disclosure [Abstract]                        
Net revenue $ 87,136 $ 96,324 $ 101,687 $ 102,685 $ 98,949 $ 95,191 $ 70,824 $ 35,396   $ 387,832 $ 300,360 $ 133,112
Gross profit 50,403 55,504 62,913 61,170 55,760 51,050 26,942 21,671   229,990 155,423 81,958
Net income (loss) $ 8,348 $ 9,679 $ 22,584 $ 20,681 $ (8,544) $ 1,582 $ (30,647) $ (4,722)   $ 61,292 $ (42,331) $ (7,041)
Basic $ 0.13 $ 0.15 $ 0.36 $ 0.33 $ (0.14) $ 0.03 $ (0.58) $ (0.12)   $ 0.96 $ (0.79) $ (0.19)
Diluted $ 0.12 $ 0.14 $ 0.33 $ 0.31 $ (0.14) $ 0.03 $ (0.58) $ (0.12) $ 0.91 $ 0.91 $ (0.79) $ (0.19)