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) |
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
|