Annual report pursuant to Section 13 and 15(d)

LONG-TERM DEBT, COMMON STOCK WARRANT LIABILITY, AND SUBSEQUENT EVENTS - Common Stock Warrant Liability (Details)

v3.22.0.1
LONG-TERM DEBT, COMMON STOCK WARRANT LIABILITY, AND SUBSEQUENT EVENTS - Common Stock Warrant Liability (Details) - USD ($)
$ in Thousands
12 Months Ended
Feb. 12, 2021
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Class of Warrant or Right [Line Items]        
Adjustment to fair value of warrants   $ 1,347 $ 598 $ 1,230
Common stock warrant liability     $ 2,653  
Line of Credit | Second Lien Term Loan | Warrant to Purchase Common Equity        
Class of Warrant or Right [Line Items]        
Adjustment to fair value of warrants $ 1,300      
Warrants or Options Granted On Second Lien 1,006,568      
Payments for Repurchase of Warrants $ 4,000