Quarterly Summary of Information (Unaudited) - Summary of Unaudited Quarterly Statements of Income Data (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2020 |
Sep. 30, 2020 |
Jun. 30, 2020 |
Mar. 31, 2020 |
Dec. 31, 2019 |
Sep. 30, 2019 |
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|
Selected Quarterly Financial Information [Abstract] | |||||||||||
Total revenue | $ 73,978 | $ 74,329 | $ 71,691 | $ 88,489 | $ 78,917 | $ 91,761 | $ 101,063 | $ 90,202 | $ 308,487 | $ 361,943 | $ 358,111 |
Gross profit | 34,059 | 33,006 | 32,749 | 38,366 | 33,922 | 43,315 | 50,215 | 44,409 | 138,180 | 171,861 | 178,580 |
Income (loss) before provision (benefit) for income taxes | (5,205) | (1,913) | 3,525 | (1,687) | (4,237) | 8,753 | 13,684 | 6,072 | (5,280) | 24,272 | 40,455 |
Provision (benefit) for income taxes | (84) | (214) | 945 | (98) | (2,862) | 1,890 | 3,524 | 770 | 549 | 3,322 | (11,390) |
Net income (loss) | $ (5,121) | $ (1,699) | $ 2,580 | $ (1,589) | $ (1,375) | $ 6,863 | $ 10,160 | $ 5,302 | $ (5,829) | $ 20,950 | $ 51,845 |
Net income (loss) per share attributable to common stockholders: | |||||||||||
Basic | $ (0.23) | $ (0.08) | $ 0.12 | $ (0.07) | $ (0.06) | $ 0.31 | $ 0.47 | $ 0.24 | $ (0.27) | $ 0.96 | $ 2.44 |
Diluted | $ (0.23) | $ (0.08) | $ 0.12 | $ (0.07) | $ (0.06) | $ 0.31 | $ 0.45 | $ 0.24 | $ (0.27) | $ 0.94 | $ 2.30 |
Weighted-average number of shares used in calculating net income per share attributable to common stockholders: | |||||||||||
Basic common shares | 22,042,288 | 21,998,299 | 21,963,472 | 21,916,365 | 21,878,004 | 21,840,473 | 21,815,634 | 21,750,305 | 21,980,326 | 21,821,104 | 21,266,696 |
Diluted common shares | 22,042,288 | 21,998,299 | 22,221,356 | 21,916,365 | 21,878,004 | 22,191,688 | 22,359,679 | 22,534,885 | 21,980,326 | 22,241,064 | 22,514,513 |
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/disclosureRef
|
X | ||||||||||
- References No definition available.
|
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/exampleRef
|
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/disclosureRef
|
X | ||||||||||
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
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/disclosureRef
|
X | ||||||||||
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|