Annual report pursuant to Section 13 and 15(d)

LOAN AND SECURITY AGREEMENT (Details)

v3.22.2.2
LOAN AND SECURITY AGREEMENT (Details) - USD ($)
4 Months Ended 12 Months Ended
Apr. 14, 2021
Jun. 30, 2022
Jun. 30, 2022
Feb. 28, 2022
Jun. 30, 2021
Debt Instrument [Line Items]          
Embedded derivative liabilities   $ 407,000 $ 407,000   $ 387,000
Loss on extinguishment of debt, unaccreted discount     (1,471,000)    
Debt instrument prepayment fee amount     300,000    
Loss on extinguishment of debt     (1,771,000)    
Repayments of debt     $ 16,013,000    
Loan and security agreement          
Debt Instrument [Line Items]          
Maximum borrowing capacity $ 30,000,000.0        
Stated interest rate 8.75%        
Variable margin rate 0.12% 0.23%   0.12%  
Contractual rate   8.98% 8.98%   8.87%
Non-refundable facility fee 1.00%        
Final fee 4.75%        
Debt discounts         $ 1,700,000
Financial advisory and legal fees         500,000
Facility Fee and Final Fee         $ 800,000
Exit fee on the funded principal balance 4.00%        
Percentage of entity's shares held by investors 35.00%        
Prepayment fee   2.00% 2.00%    
Loan and security agreement | Term A loan          
Debt Instrument [Line Items]          
Gross proceeds from issuance of debt $ 15,000,000.0        
Effective rate         12.60%
Total debt discount         $ 1,700,000
Embedded derivative associated with the exit fee and prepayment fee related to the term A loan         400,000
Embedded derivative liabilities 381,000        
Loss on extinguishment of debt, unaccreted discount     $ (1,500,000)    
Non-operating loss on change in fair value of embedded derivative     $ (20,000)   $ (6,000)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]     Gain (Loss) on Derivative Instruments, Net, Pretax   Gain (Loss) on Derivative Instruments, Net, Pretax
Prepayment fee   2.00% 2.00%    
Debt instrument prepayment fee amount     $ 300,000    
Loss on extinguishment of debt     (1,800,000)    
Repayments of debt     16,000,000.0    
Repayments Of Debt, Principal Balance     15,000,000.0    
Repayments Of Debt, Final Fee     700,000    
Loan and security agreement | Term B loan          
Debt Instrument [Line Items]          
Cash balance requirement 5,000,000.0        
Loan and security agreement | Term B and C Loan          
Debt Instrument [Line Items]          
Remaining borrowing capacity $ 15,000,000.0 $ 0 $ 0