Quarterly report pursuant to Section 13 or 15(d)

TERM LOAN (Details)

v3.23.2
TERM LOAN (Details) - USD ($)
3 Months Ended 6 Months Ended
Jan. 24, 2023
Jun. 30, 2023
Jun. 30, 2023
Jun. 30, 2022
Dec. 31, 2022
Mar. 31, 2021
Line of Credit Facility [Line Items]            
Original issuance discount   $ (3,485,000) $ (3,485,000)      
Warrants to purchase common stock (in shares)   42,224,476 42,224,476      
Exercise price of warrants (in dollars per share)   $ 0.68 $ 0.68     $ 1.087
Value of warrants issued           $ 9,500,000
Amortization of debt discount     $ 888,000 $ 0    
Current portion of term loan   $ 3,600,000 3,600,000   $ 0  
Aggregate amortization of original issuance discount and loan discount   500,000 900,000      
Secured Debt            
Line of Credit Facility [Line Items]            
Percent of principal due monthly 1.00%          
Loan and Security Agreement | Line of Credit | Secured Debt            
Line of Credit Facility [Line Items]            
Additional amount eligible for draw down $ 35,000,000          
Loan and Security Agreement | Secured Debt            
Line of Credit Facility [Line Items]            
Principal funded at initial closing $ 30,000,000          
Warrant coverage percentage 30.00%          
Premium on warrants issued for warrant coverage 20.00%          
Average price, number of days after closing 20 days          
Warrants to purchase common stock (in shares) 19,148,936          
Exercise price of warrants (in dollars per share) $ 0.47          
Term of warrants (in years) 5 years          
Value of warrants issued $ 5,500,000          
Discount for warrants issued 5,500,000          
Outstanding term loan balance   24,100,000 24,100,000      
Current portion of term loan   $ 3,600,000 $ 3,600,000      
Loan and Security Agreement | Secured Debt | Secured Debt            
Line of Credit Facility [Line Items]            
Principal funded at initial closing 30,000,000          
Additional drawdown availability 5,000,000          
Voluntary prepayment amount $ 5,000,000          
Prepayment premium percentage 3.00%          
Term eligible for make-whole payment 20 months          
Loan and Security Agreement | Secured Debt | Prime Rate | Secured Debt            
Line of Credit Facility [Line Items]            
Variable interest rate 5.75%          
Percentage increase on variable interest rate in event of default 3.00%          
Percentage increase on variable interest rate in material event of default 7.50%          
Loan and Security Agreement - Incremental Term Loan | Secured Debt | Secured Debt            
Line of Credit Facility [Line Items]            
Additional incremental term loan upon approval of lenders $ 30,000,000          
Term of eligibility for additional amount 6 months          
Unamortized discount $ 900,000