Annual report pursuant to Section 13 and 15(d)

DEBT (Details)

v3.22.4
DEBT (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]      
Interest expense $ 3,707 $ 4,860 $ 1,353
Credit Facility with MidCap      
Debt Instrument [Line Items]      
Maximum borrowing capacity $ 60,000    
Final payment fee, percentage of principal 2.50%    
Outstanding balance $ 40,000    
Debt issuance costs being amortized ratably 400    
Unamortized issuance costs and debt discounts 600 100  
Interest expense 3,000 $ 1,700 $ 1,400
Accrued interest $ 800    
Credit Facility with MidCap | LIBOR      
Debt Instrument [Line Items]      
Basis spread on variable rate 5.65%    
Floor rate 1.50%    
Credit Facility with MidCap | SOFR      
Debt Instrument [Line Items]      
Rate adjustment 0.11448%    
Basis spread on variable rate 5.65%    
Floor rate 1.50%    
Credit Facility with MidCap | Tranche 1      
Debt Instrument [Line Items]      
Maximum borrowing capacity $ 10,000    
Credit Facility with MidCap | Tranche 2      
Debt Instrument [Line Items]      
Maximum borrowing capacity 10,000    
Credit Facility with MidCap | Tranche 3      
Debt Instrument [Line Items]      
Maximum borrowing capacity 10,000    
Credit Facility with MidCap | Tranche 4      
Debt Instrument [Line Items]      
Maximum borrowing capacity 10,000    
Credit Facility with MidCap | Tranche 5      
Debt Instrument [Line Items]      
Remaining borrowing capacity $ 20,000    
Credit Facility with MidCap | Initial interest-only payment period      
Debt Instrument [Line Items]      
Interest-only payments period 24 months    
Credit Facility with MidCap | First conditional interest-only payment period      
Debt Instrument [Line Items]      
Interest-only payments period 36 months    
Credit Facility with MidCap | Second conditional interest-only payment period      
Debt Instrument [Line Items]      
Interest-only payments period 48 months