Annual report pursuant to Section 13 and 15(d)

LONG-TERM DEBT, COMMON STOCK WARRANT LIABILITY, AND SUBSEQUENT EVENTS - Long-Term Debt (Details)

v3.22.0.1
LONG-TERM DEBT, COMMON STOCK WARRANT LIABILITY, AND SUBSEQUENT EVENTS - Long-Term Debt (Details) - USD ($)
$ in Thousands
Feb. 07, 2022
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]      
Unamortized discounts and debt issuance costs   $ (8,381) $ (5,173)
Long-term debt, net   301,619 107,258
Current portion of long-term debt     (426)
Long-term debt, net of current portion, unamortized discount and issuance costs   301,619 106,832
Senior Secured Notes      
Debt Instrument [Line Items]      
Outstanding principal   310,000  
Senior Secured Notes Due 2028 | Senior Secured Notes      
Debt Instrument [Line Items]      
Outstanding principal   310,000  
Estimated fair value   $ 327,500  
Senior Secured Notes Due 2028 | Senior Secured Notes | Subsequent Event      
Debt Instrument [Line Items]      
Long-term debt, net $ 410,000    
Senior Secured Notes Due 2024 | Unsecured Debt      
Debt Instrument [Line Items]      
Outstanding principal     106,825
Unsecured Loans CARES Act      
Debt Instrument [Line Items]      
Outstanding principal     $ 5,606