Annual report pursuant to Section 13 and 15(d)

DEBT (Details)

v3.22.0.1
DEBT (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Instrument [Line Items]      
Interest expense $ 4,860 $ 1,353 $ 335
Credit Facility with MidCap      
Debt Instrument [Line Items]      
Maximum borrowing capacity 60,000    
Remaining borrowing capacity $ 40,000    
Final payment fee, percentage of principal 2.50%    
Outstanding balance $ 19,900 19,800  
Unamortized issuance costs and debt discounts 100 200  
Interest expense 1,700 $ 1,400 $ 200
Accrued interest 400    
Covenant, cash $ 10,000    
Credit Facility with MidCap | LIBOR      
Debt Instrument [Line Items]      
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 20,000    
Credit Facility with MidCap | Tranche 4      
Debt Instrument [Line Items]      
Maximum 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    
Credit Facility with MidCap | Extended conditional interest-only payment period      
Debt Instrument [Line Items]      
Interest-only payments period 36 months