Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Redeemable Preferred Stock [Member] | Redeemable Preferred Stock [Member]Conversion of Preferred Stock to Common Stock | Warrant [Member] | Warrant [Member]Conversion of Common Stock Warrants to Common Stock | Warrant [Member]Issuance of Preferred and Conversion to Common Stock Upon Exercise of Warrants Net | Common Stock [Member] | Common Stock [Member]Conversion of Common Stock Warrants to Common Stock | Common Stock [Member]Conversion of Preferred Stock to Common Stock | Common Stock [Member]Issuance of Preferred and Conversion to Common Stock Upon Exercise of Warrants Net | Preferred Stock [Member] | Preferred Stock [Member]Conversion of Preferred Stock to Common Stock | APIC - Convertible Preferred Stock [Member] | APIC - Convertible Preferred Stock [Member]Conversion of Preferred Stock to Common Stock | Warrant [Member] | Warrant [Member]Conversion of Common Stock Warrants to Common Stock | Warrant [Member]Issuance of Preferred and Conversion to Common Stock Upon Exercise of Warrants Net | Common Stock [Member] | Common Stock [Member]Conversion of Preferred Stock to Common Stock | APIC - Common Stock [Member] | APIC - Common Stock [Member]Conversion of Common Stock Warrants to Common Stock | APIC - Common Stock [Member]Conversion of Preferred Stock to Common Stock | APIC - Common Stock [Member]Issuance of Preferred and Conversion to Common Stock Upon Exercise of Warrants Net | AOCI Attributable to Parent [Member] | Retained Earnings [Member] | Retained Earnings [Member]Conversion of Preferred Stock to Common Stock | Treasury Stock [Member] | Treasury Stock [Member]Conversion of Common Stock Warrants to Common Stock |
Shares, Outstanding - Period Start at Dec. 31, 2018 | | 14,043,977 | | 24,959 | | | 2,935,249 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period Start at Dec. 31, 2018 | $ 346,549 | | | | | | | | | | $ 16 | | $ 257,887 | | $ 130 | | | $ 3 | | $ 44,411 | | | | $ (132) | $ 52,662 | | $ (8,428) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period | | | | | | | 7,317 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Stock Options Exercised | 142 | | | | | | | | | | | | | | | | | | | 142 | | | | | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | 1,980 | | | | | | | | | | | | | | | | | | | 1,980 | | | | | | | | |
New Accounting Pronouncement or Change in Accounting Principle, Effect of Adoption, Quantification | (125) | | | | | | | | | | | | | | | | | | | | | | | | (125) | | | |
Other Comprehensive Income (Loss), Net of Tax | (3) | | | | | | | | | | | | | | | | | | | | | | | (3) | | | | |
Net Income (Loss) Attributable to Parent | 14,614 | | | | | | | | | | | | | | | | | | | | | | | | 14,614 | | | |
Shares, Outstanding - Period End at Mar. 31, 2019 | | 14,043,977 | | 24,959 | | | 2,942,566 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period End at Mar. 31, 2019 | 363,157 | | | | | | | | | | 16 | | 257,887 | | 130 | | | 3 | | 46,533 | | | | (135) | 67,151 | | (8,428) | |
Shares, Outstanding - Period Start at Dec. 31, 2018 | | 14,043,977 | | 24,959 | | | 2,935,249 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period Start at Dec. 31, 2018 | 346,549 | | | | | | | | | | 16 | | 257,887 | | 130 | | | 3 | | 44,411 | | | | (132) | 52,662 | | (8,428) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Dividends, Preferred Stock, Paid-in-kind | 37,456 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Net Income (Loss) Attributable to Parent | 38,435 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Shares, Outstanding - Period End at Sep. 30, 2019 | | 0 | | 15,869 | | | 27,001,251 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period End at Sep. 30, 2019 | 461,117 | | | | | | | | | | 0 | | 0 | | 63 | | | 6 | | 416,196 | | | | (168) | 53,516 | | (8,496) | |
Shares, Outstanding - Period Start at Mar. 31, 2019 | | 14,043,977 | | 24,959 | | | 2,942,566 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period Start at Mar. 31, 2019 | 363,157 | | | | | | | | | | 16 | | 257,887 | | 130 | | | 3 | | 46,533 | | | | (135) | 67,151 | | (8,428) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period | | | | | | | 2,216 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Stock Options Exercised | 4 | | | | | | | | | | | | | | | | | | | 4 | | | | | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | 2,035 | | | | | | | | | | | | | | | | | | | 2,035 | | | | | | | | |
Other Comprehensive Income (Loss), Net of Tax | (41) | | | | | | | | | | | | | | | | | | | | | | | (41) | | | | |
Net Income (Loss) Attributable to Parent | 13,792 | | | | | | | | | | | | | | | | | | | | | | | | 13,792 | | | |
Shares, Outstanding - Period End at Jun. 30, 2019 | | 14,043,977 | | 24,959 | | | 2,944,782 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period End at Jun. 30, 2019 | 378,947 | | | | | | | | | | 16 | | 257,887 | | 130 | | | 3 | | 48,572 | | | | (176) | 80,943 | | (8,428) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period | | | | | | | 96,371 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Stock Options Exercised | 645 | | | | | | | | | | | | | | | | | | | 645 | | | | | | | | |
Adjustments to Additional Paid in Capital, Other | (86) | | | | | | | | | | | | | | | | | | | (86) | | | | | | | | |
Stock Issued During Period, Shares, New Issues | | | | | | | 4,873,356 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, New Issues | 60,479 | | | | | | | | | | | | | | | | | | | 60,479 | | | | | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | 11,163 | | | | | | | | | | | | | | | | | | | 11,163 | | | | | | | | |
Dividends, Preferred Stock, Paid-in-kind | 37,456 | | | | | | | | | | | | | | | | | | | | | | | | | $ (37,456) | | |
Stockholders' Equity, Other Shares | | | (14,043,977) | | | (9,090) | | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Other | | | | | | | | | | | | $ (16) | | $ (257,887) | | | $ (67) | | | | | | | | | | | |
Stock Issued During Period, Shares, Conversion of Convertible Securities | | | | | | | | | 19,075,167 | 3,969 | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Conversion of Convertible Securities | | | | | | | | | | | | | | | | | | | $ 3 | | | $ 295,356 | $ 67 | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures | | | | | | | 11,627 | | | | | | | | | | | | | | | | | | | | | |
Shares Withheld, Value, Net Share Settlement | (68) | | | | | | | | | | | | | | | | | | | | | | | | | | (68) | |
Share-based Payment Arrangement, Shares Withheld for Tax Withholding Obligation | | | | | | | (4,021) | | | | | | | | | | | | | | | | | | | | | |
Other Comprehensive Income (Loss), Net of Tax | 8 | | | | | | | | | | | | | | | | | | | | | | | 8 | | | | |
Net Income (Loss) Attributable to Parent | 10,029 | | | | | | | | | | | | | | | | | | | | | | | | 10,029 | | | |
Shares, Outstanding - Period End at Sep. 30, 2019 | | 0 | | 15,869 | | | 27,001,251 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period End at Sep. 30, 2019 | 461,117 | | | | | | | | | | 0 | | 0 | | 63 | | | 6 | | 416,196 | | | | (168) | 53,516 | | (8,496) | |
Shares, Outstanding - Period Start at Dec. 31, 2019 | | 0 | | 23,512 | | | 27,003,157 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period Start at Dec. 31, 2019 | 488,766 | | | | | | | | | | 0 | | 0 | | 63 | | | 6 | | 418,299 | | | | (162) | 76,679 | | (6,119) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period | | | | | | | 3,161 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Stock Options Exercised | 20 | | | | | | | | | | | | | | | | | | | 20 | | | | | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | 4,151 | | | | | | | | | | | | | | | | | | | 4,151 | | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures | | | | | | | 137,479 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures | (813) | | | | | | | | | | | | | | | | | | | (813) | | | | | | | | |
New Accounting Pronouncement or Change in Accounting Principle, Effect of Adoption, Quantification | 4,835 | | | | | | | | | | | | | | | | | | | | | | | | 4,835 | | | |
Other Comprehensive Income (Loss), Net of Tax | (117) | | | | | | | | | | | | | | | | | | | | | | | (117) | | | | |
Net Income (Loss) Attributable to Parent | (13,301) | | | | | | | | | | | | | | | | | | | | | | | | (13,301) | | | |
Shares, Outstanding - Period End at Mar. 31, 2020 | | 0 | | 23,512 | | | 27,143,797 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period End at Mar. 31, 2020 | 483,541 | | | | | | | | | | 0 | | 0 | | 63 | | | 6 | | 421,657 | | | | (279) | 68,213 | | (6,119) | |
Shares, Outstanding - Period Start at Dec. 31, 2019 | | 0 | | 23,512 | | | 27,003,157 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period Start at Dec. 31, 2019 | 488,766 | | | | | | | | | | 0 | | 0 | | 63 | | | 6 | | 418,299 | | | | (162) | 76,679 | | (6,119) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Dividends, Preferred Stock, Paid-in-kind | 0 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Net Income (Loss) Attributable to Parent | (53,595) | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Shares, Outstanding - Period End at Sep. 30, 2020 | | 0 | | 0 | | | 27,583,028 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period End at Sep. 30, 2020 | 453,021 | | | | | | | | | | 0 | | 0 | | 0 | | | 6 | | 431,673 | | | | (268) | 27,919 | | (6,309) | |
Shares, Outstanding - Period Start at Mar. 31, 2020 | | 0 | | 23,512 | | | 27,143,797 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period Start at Mar. 31, 2020 | 483,541 | | | | | | | | | | 0 | | 0 | | 63 | | | 6 | | 421,657 | | | | (279) | 68,213 | | (6,119) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period | | | | | | | 22,407 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Stock Options Exercised | 79 | | | | | | | | | | | | | | | | | | | 79 | | | | | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | 4,972 | | | | | | | | | | | | | | | | | | | 4,972 | | | | | | | | |
Stockholders' Equity, Other Shares | | | | | (23,512) | | | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Other | | | | | | | | | | | | | | | | $ (63) | | | | | | | | | | | | |
Stock Issued During Period, Shares, Conversion of Convertible Securities | | | | | | | | 10,972 | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Conversion of Convertible Securities | | | | | | | | | | | | | | | | | | | | | $ 253 | | | | | | | |
Treasury Stock, Value, Acquired, Cost Method | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ (190) |
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures | | | | | | | 153,624 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures | (17) | | | | | | | | | | | | | | | | | | | (17) | | | | | | | | |
Other Comprehensive Income (Loss), Net of Tax | 5 | | | | | | | | | | | | | | | | | | | | | | | 5 | | | | |
Net Income (Loss) Attributable to Parent | (34,248) | | | | | | | | | | | | | | | | | | | | | | | | (34,248) | | | |
Shares, Outstanding - Period End at Jun. 30, 2020 | | 0 | | 0 | | | 27,330,800 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period End at Jun. 30, 2020 | 454,332 | | | | | | | | | | 0 | | 0 | | 0 | | | 6 | | 426,944 | | | | (274) | 33,965 | | (6,309) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period | | | | | | | 4,018 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Stock Options Exercised | 24 | | | | | | | | | | | | | | | | | | | 24 | | | | | | | | |
APIC, Share-based Payment Arrangement, Increase for Cost Recognition | 5,194 | | | | | | | | | | | | | | | | | | | 5,194 | | | | | | | | |
Dividends, Preferred Stock, Paid-in-kind | 0 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures | | | | | | | 248,210 | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures | (489) | | | | | | | | | | | | | | | | | | | (489) | | | | | | | | |
Other Comprehensive Income (Loss), Net of Tax | 6 | | | | | | | | | | | | | | | | | | | | | | | 6 | | | | |
Net Income (Loss) Attributable to Parent | (6,046) | | | | | | | | | | | | | | | | | | | | | | | | (6,046) | | | |
Shares, Outstanding - Period End at Sep. 30, 2020 | | 0 | | 0 | | | 27,583,028 | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest - Period End at Sep. 30, 2020 | $ 453,021 | | | | | | | | | | $ 0 | | $ 0 | | $ 0 | | | $ 6 | | $ 431,673 | | | | $ (268) | $ 27,919 | | $ (6,309) | |