Condensed Consolidated Statement of Stockholders' Equity Statement - USD ($) $ in Thousands | Total | Cumulative Effect, Period of Adoption, Adjustment | Common Stock [Member] | Additional Paid-in Capital [Member] | Treasury Stock [Member] | Retained Earnings [Member] | Retained Earnings [Member]Cumulative Effect, Period of Adoption, Adjustment | Accumulated Other Comprehensive Income, net of tax [Member] |
Common Stock, Shares, Outstanding, Beginning Balance at Dec. 31, 2019 | | | 42,630,123 | | | | | |
Stockholders' Equity Attributable to Parent- Beginning Balance at Dec. 31, 2019 | $ 164,996 | | $ 47 | $ 560,496 | $ (29,847) | $ (361,789) | | $ (3,911) |
Treasury Stock, Shares - Beginning Balance at Dec. 31, 2019 | | | | | 4,680,723 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures | | | 647,401 | | | | | |
Stock Issued During Period, Value, Restricted Stock Award, Gross | (20,221) | | $ 1 | (20,222) | | | | |
Stock Issued During Period, Shares, Employee Stock Purchase Plans | | | 26,774 | | | | | |
Proceeds from Stock Plans | $ 1,364 | | | 1,364 | | | | |
Warrant Exercise, Shares | 0 | | 163 | | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | $ 12,058 | | | 12,058 | | | | |
Other Comprehensive Income (Loss), Net of Tax | (84) | | | | | | | (84) |
Net Income (Loss) Attributable to Parent | (39,943) | | | | | (39,943) | | |
Treasury Stock, Shares - Enging Balance at Jun. 30, 2020 | | | | | 4,680,723 | | | |
Stockholders' Equity Attributable to Parent- Ending Balance at Jun. 30, 2020 | 118,170 | | $ 48 | 553,696 | $ (29,847) | (401,732) | | (3,995) |
Common Stock, Shares, Outstanding, Ending Balance at Jun. 30, 2020 | | | 43,304,461 | | | | | |
Common Stock, Shares, Outstanding, Beginning Balance at Mar. 31, 2020 | | | 43,291,660 | | | | | |
Stockholders' Equity Attributable to Parent- Beginning Balance at Mar. 31, 2020 | 129,610 | | $ 48 | 548,014 | $ (29,847) | (384,524) | | (4,081) |
Treasury Stock, Shares - Beginning Balance at Mar. 31, 2020 | | | | | 4,680,723 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures | | | 12,801 | | | | | |
Stock Issued During Period, Value, Restricted Stock Award, Gross | (49) | | | (49) | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | 5,731 | | | 5,731 | | | | |
Other Comprehensive Income (Loss), Net of Tax | 86 | | | | | | | 86 |
Net Income (Loss) Attributable to Parent | (17,208) | | | | | (17,208) | | |
Treasury Stock, Shares - Enging Balance at Jun. 30, 2020 | | | | | 4,680,723 | | | |
Stockholders' Equity Attributable to Parent- Ending Balance at Jun. 30, 2020 | $ 118,170 | | $ 48 | 553,696 | $ (29,847) | (401,732) | | (3,995) |
Common Stock, Shares, Outstanding, Ending Balance at Jun. 30, 2020 | | | 43,304,461 | | | | | |
Common Stock, Shares, Outstanding, Beginning Balance at Dec. 31, 2020 | 43,461,544 | | 43,461,544 | | | | | |
Stockholders' Equity Attributable to Parent- Beginning Balance at Dec. 31, 2020 | $ 117,037 | | $ 48 | 589,040 | $ (29,847) | (438,773) | | (3,431) |
Treasury Stock, Shares - Beginning Balance at Dec. 31, 2020 | 4,680,723 | | | | 4,680,723 | | | |
Stockholders' Equity Attributable to Parent- Ending Balance at Jan. 01, 2021 | | $ (68,768) | | | | | $ 11,330 | |
Common Stock, Shares, Outstanding, Beginning Balance at Dec. 31, 2020 | 43,461,544 | | 43,461,544 | | | | | |
Stockholders' Equity Attributable to Parent- Beginning Balance at Dec. 31, 2020 | $ 117,037 | | $ 48 | 589,040 | $ (29,847) | (438,773) | | (3,431) |
Treasury Stock, Shares - Beginning Balance at Dec. 31, 2020 | 4,680,723 | | | | 4,680,723 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures | | | 836,168 | | | | | |
Stock Issued During Period, Value, Restricted Stock Award, Gross | $ (352) | | $ 1 | (353) | | | | |
Stock Issued During Period, Shares, Employee Stock Purchase Plans | 41,970 | | 41,970 | | | | | |
Proceeds from Stock Plans | $ 1,596 | | | 1,596 | | | | |
Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt | | | | (80,098) | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | 16,741 | | | 16,741 | | | | |
Other Comprehensive Income (Loss), Net of Tax | (451) | | | | | | | (451) |
Net Income (Loss) Attributable to Parent | $ (40,075) | | | | | (40,075) | | |
Treasury Stock, Shares - Enging Balance at Jun. 30, 2021 | 4,680,723 | | | | 4,680,723 | | | |
Stockholders' Equity Attributable to Parent- Ending Balance at Jun. 30, 2021 | $ 25,728 | | $ 49 | 526,926 | $ (29,847) | (467,518) | | (3,882) |
Common Stock, Shares, Outstanding, Ending Balance at Jun. 30, 2021 | 44,339,682 | | 44,339,682 | | | | | |
Common Stock, Shares, Outstanding, Beginning Balance at Mar. 31, 2021 | | | 44,252,765 | | | | | |
Stockholders' Equity Attributable to Parent- Beginning Balance at Mar. 31, 2021 | $ 35,029 | | $ 49 | 518,338 | $ (29,847) | (449,472) | | (4,039) |
Treasury Stock, Shares - Beginning Balance at Mar. 31, 2021 | | | | | 4,680,723 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures | | | 86,917 | | | | | |
Stock Issued During Period, Value, Restricted Stock Award, Gross | $ 0 | | | | | | | |
Stock Issued During Period, Shares, Employee Stock Purchase Plans | 0 | | | | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | $ 8,588 | | | 8,588 | | | | |
Other Comprehensive Income (Loss), Net of Tax | 157 | | | | | | | 157 |
Net Income (Loss) Attributable to Parent | $ (18,046) | | | | | (18,046) | | |
Treasury Stock, Shares - Enging Balance at Jun. 30, 2021 | 4,680,723 | | | | 4,680,723 | | | |
Stockholders' Equity Attributable to Parent- Ending Balance at Jun. 30, 2021 | $ 25,728 | | $ 49 | $ 526,926 | $ (29,847) | $ (467,518) | | $ (3,882) |
Common Stock, Shares, Outstanding, Ending Balance at Jun. 30, 2021 | 44,339,682 | | 44,339,682 | | | | | |