Quarterly report pursuant to Section 13 or 15(d)

DEBT (Details)

v3.23.2
DEBT (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Mar. 28, 2023
Dec. 31, 2022
May 31, 2022
May 31, 2020
Debt Instrument [Line Items]                
Unamortized issuance costs and debt discounts           $ 600    
Interest expense $ 1,862 $ 569 $ 3,066 $ 1,774        
Credit Facility with MidCap                
Debt Instrument [Line Items]                
Maximum borrowing capacity 60,000   60,000          
Remaining borrowing capacity 0   0          
Outstanding balance 60,000   60,000          
Unamortized issuance costs and debt discounts 400   400          
Interest expense $ 1,900 $ 600 3,100 $ 1,100        
Accrued interest     $ 1,200          
Credit Facility with MidCap | Following Third Amendment                
Debt Instrument [Line Items]                
Final payment fee, percentage of principal     2.50%          
Credit Facility with MidCap | SOFR | Following Third Amendment                
Debt Instrument [Line Items]                
Rate adjustment     0.11448%          
Basis spread on variable rate     5.65%          
Floor rate 1.50%   1.50%          
Credit Facility with MidCap | LIBOR | Prior to Third Amendment                
Debt Instrument [Line Items]                
Basis spread on variable rate     5.65%          
Floor rate 1.50%   1.50%          
Credit Facility with MidCap | Tranche 1                
Debt Instrument [Line Items]                
Outstanding balance $ 10,000   $ 10,000          
Credit Facility with MidCap | Tranche 2                
Debt Instrument [Line Items]                
Outstanding balance               $ 10,000
Credit Facility with MidCap | Tranche 3                
Debt Instrument [Line Items]                
Outstanding balance             $ 10,000  
Credit Facility with MidCap | Tranche 4                
Debt Instrument [Line Items]                
Outstanding balance             $ 10,000  
Credit Facility with MidCap | Tranche 5                
Debt Instrument [Line Items]                
Outstanding balance         $ 20,000