Quarterly report pursuant to Section 13 or 15(d)

DEBT (Details)

v3.22.2
DEBT (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
May 31, 2020
Debt Instrument [Line Items]            
Unamortized issuance costs and debt discounts         $ 100  
Interest expense $ 569 $ 1,759 $ 1,774 $ 2,244    
Credit Facility with MidCap            
Debt Instrument [Line Items]            
Maximum borrowing capacity 60,000   60,000      
Remaining borrowing capacity 30,000   $ 30,000      
Final payment fee, percentage of principal     2.50%      
Outstanding balance 30,000   $ 30,000      
Unamortized issuance costs and debt discounts 200   200      
Interest expense $ 600 $ 400 1,100 $ 800    
Accrued interest     $ 600      
Credit Facility with MidCap | LIBOR            
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]            
Maximum borrowing capacity 10,000   10,000      
Outstanding balance 10,000   10,000      
Credit Facility with MidCap | Tranche 4            
Debt Instrument [Line Items]            
Maximum borrowing capacity 10,000   10,000      
Credit Facility with MidCap | Tranche 5            
Debt Instrument [Line Items]            
Maximum borrowing capacity $ 20,000   $ 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      
Credit Facility with MidCap | Additional extended conditional interest-only payment period            
Debt Instrument [Line Items]            
Interest-only payments period     48 months