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) |
X | ||||||||||
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|