Quarterly report pursuant to Section 13 or 15(d)

DEBT - Term Loan (Details)

v3.24.2.u1
DEBT - Term Loan (Details) - USD ($)
3 Months Ended 6 Months Ended
Nov. 16, 2023
Jan. 24, 2023
Mar. 31, 2023
Jun. 30, 2024
May 02, 2024
Dec. 31, 2021
Debt Instrument [Line Items]            
Warrants to purchase common stock (in shares)       43,089,476 1,000,000  
Exercise price of warrants (in dollars per share)       $ 0.67 $ 0.32 $ 1.087
Value of warrants issued         $ 218,000  
Aggregate amortization of original issuance discount and loan discount     $ 300,000      
Loan and Security Agreement | Secured Debt            
Debt Instrument [Line Items]            
Proceeds from term loan   $ 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        
Payment of third-party debt issuance costs in connection with debt   $ 1,800,000        
Debt principal paid down $ 32,700,000          
Debt repaid, principal 28,500,000          
Debt repaid, make-whole payment 3,700,000          
Debt repaid, accrued unpaid interest 200,000          
Debt repaid, transaction-related fees 300,000          
Loss on extinguishment of debt 10,200,000          
Construction to Permanent Commercial Real Estate Mortgage Loan ("CREM Loan") | Mortgages            
Debt Instrument [Line Items]            
Payment of third-party debt issuance costs in connection with debt       $ 1,500,000    
Debt instrument, face amount $ 58,700,000          
Secured Debt            
Debt Instrument [Line Items]            
Percent of principal due monthly   1.00%        
Secured Debt | Loan and Security Agreement | Line of Credit            
Debt Instrument [Line Items]            
Additional amount eligible for draw down   $ 35,000,000        
Secured Debt | Loan and Security Agreement | Secured Debt            
Debt Instrument [Line Items]            
Proceeds from term loan   30,000,000        
Additional drawdown availability   $ 5,000,000        
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%        
Voluntary prepayment amount   $ 5,000,000        
Prepayment premium percentage   3.00%        
Term eligible for make-whole payment   20 months        
Secured Debt | Loan and Security Agreement - Incremental Term Loan | Secured Debt            
Debt Instrument [Line Items]            
Additional incremental term loan upon approval of lenders   $ 30,000,000        
Unamortized discount   $ 900,000        
Term of eligibility for additional amount   6 months