XML 302 R111.htm IDEA: XBRL DOCUMENT v3.23.1
SUBSEQUENT EVENTS - Narrative (Details)
$ / shares in Units, $ in Thousands
Feb. 22, 2023
USD ($)
Feb. 14, 2023
USD ($)
$ / shares
shares
Jun. 22, 2021
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Subsequent Event [Line Items]          
Cash and cash equivalents       $ 51,025 $ 98,132
Subsequent Event          
Subsequent Event [Line Items]          
Exercise price (in usd per share) | $ / shares   $ 0.01      
Secured Debt | Line of Credit | Subsequent Event | $30 million+ but less than below          
Subsequent Event [Line Items]          
PIK extension fee (in percent)   3.75      
Secured Debt | Line of Credit | Subsequent Event | $30 million+          
Subsequent Event [Line Items]          
PIK extension fee (in percent)   0.02      
Secured Debt | Line of Credit | Subsequent Event | Second Amended Credit Facility          
Subsequent Event [Line Items]          
Repayment of debt   $ 30,000      
Amendment fee percentage (in percent)   0.010      
Secured Debt | Line of Credit | Subsequent Event | Second Amended Credit Facility | Secured Overnight Financing Rate (SOFR) | Variable Rate Component One, Paid In Cash          
Subsequent Event [Line Items]          
Interest rate margin (in percent)   5.00%      
Secured Debt | Line of Credit | Subsequent Event | Second Amended Credit Facility | Secured Overnight Financing Rate (SOFR) | Variable Rate Component Two, Paid In Kind          
Subsequent Event [Line Items]          
Interest rate margin (in percent)   5.00%      
Secured Debt | Line of Credit | Subsequent Event | Second Amended Credit Facility | Debt Instrument, Amortization, Period One          
Subsequent Event [Line Items]          
Amortization of debt percentage (in percent)   0.0100      
Secured Debt | Line of Credit | Subsequent Event | Second Amended Credit Facility | Debt Instrument, Amortization, Period Two          
Subsequent Event [Line Items]          
Amortization of debt percentage (in percent)   0.12      
Credit Facility          
Subsequent Event [Line Items]          
Interest rate (in percent)     9.00%    
Line of credit facility, commitment fee amount     $ 500    
Credit Facility | Subsequent Event          
Subsequent Event [Line Items]          
Interest rate (in percent)   10.00%      
Credit Facility | Subsequent Event | Maximum          
Subsequent Event [Line Items]          
PIK extension fee (in percent)   0.0200      
Cash and cash equivalents   $ 35,000      
Credit Facility | Subsequent Event | First Revolver Amendment          
Subsequent Event [Line Items]          
Line of credit facility, maximum borrowing capacity   $ 15,000      
Interest rate, paid in kind (in percent)   0.03      
Line of credit facility, commitment fee amount   $ 750      
Common stock | Subsequent Event | Public Stock Offering          
Subsequent Event [Line Items]          
Number of shares issued in transaction | shares   4,550,000      
Sale of stock (in usd per share) | $ / shares   $ 5.00      
Net proceeds from sale of stock   $ 21,000      
Repayment of debt $ 20,000        
Common stock | Secured Debt | Line of Credit | Subsequent Event          
Subsequent Event [Line Items]          
Warrant shares (in shares) | shares   3,223,851      
Common stock | Secured Debt | Line of Credit | Subsequent Event | $30 million+          
Subsequent Event [Line Items]          
Warrant shares (in shares) | shares   1,612,705