Quarterly report pursuant to Section 13 or 15(d)

LOAN AND SECURITY AGREEMENT - Narrative (Details)

v3.22.1
LOAN AND SECURITY AGREEMENT - Narrative (Details)
$ in Thousands
1 Months Ended 9 Months Ended 12 Months Ended
Apr. 13, 2031
USD ($)
Apr. 14, 2021
USD ($)
tranche
Mar. 31, 2022
USD ($)
Nov. 30, 2021
USD ($)
Oct. 31, 2021
USD ($)
Mar. 31, 2022
USD ($)
Mar. 31, 2022
USD ($)
Jun. 30, 2021
USD ($)
Debt Instrument [Line Items]                
Net proceeds from the offering       $ 52,300 $ 52,300      
Restricted cash noncurrent     $ 5,000     $ 5,000 $ 5,000  
Debt discounts     1,427     1,427 1,427  
Total contractual payments     15,713     15,713 15,713  
Net carrying value     $ 14,286     $ 14,286 $ 14,286 $ 13,968
Number of Tranches | tranche   3            
Loan and security agreement                
Debt Instrument [Line Items]                
Maximum borrowing capacity   $ 30,000            
Stated interest rate   8.75%            
Variable margin rate   0.12% 0.23%       0.12%  
Contractual rate     8.98%     8.98% 8.98% 8.87%
Non-refundable facility fee   1.00%            
Final fee   4.75%            
Debt discounts     $ 1,700     $ 1,700 $ 1,700  
Financial advisory and legal fees     400     400 400  
Facility Fee and Final Fee     $ 900     $ 900 $ 900  
Exit fee on the funded principal balance   4.00%            
Exit fee $ 600              
Percentage of entity's shares held by investors   35.00%            
Default interest rate   5.00%            
Loan and security agreement | Term A loan                
Debt Instrument [Line Items]                
Gross proceeds from issuance of debt   $ 15,000            
Stated interest rate     12.70%     12.70% 12.70% 12.60%
Total debt discount           $ 1,700    
Embedded derivative associated with the exit fee and prepayment fee related to the term A loan           400    
Debt discounts     $ 1,400     1,400 $ 1,400  
Fair value of embedded derivatives   354            
Outstanding principal balance     15,000     15,000 15,000  
Outstanding Final Fee     700     700 700  
Total contractual payments     15,700     15,700 15,700  
Net carrying value     $ 14,300     $ 14,300 $ 14,300  
Loan and security agreement | Term B loan                
Debt Instrument [Line Items]                
Cash balance requirement   5,000            
Loan and security agreement | Term B and C Loan                
Debt Instrument [Line Items]                
Remaining borrowing capacity   $ 15,000            
Registered Direct Offering                
Debt Instrument [Line Items]                
Net proceeds from the offering       5,000 5,000      
Underwritten Offering                
Debt Instrument [Line Items]                
Net proceeds from the offering       $ 47,300 $ 47,300      
Minimum | Loan and security agreement                
Debt Instrument [Line Items]                
Prepayment fee   1.00%            
Maximum | Loan and security agreement                
Debt Instrument [Line Items]                
Prepayment fee   3.00%