Annual report pursuant to Section 13 and 15(d)

SUBSEQUENT EVENTS (Details)

v3.22.4
SUBSEQUENT EVENTS (Details) - USD ($)
$ / shares in Units, $ in Thousands
2 Months Ended 3 Months Ended 12 Months Ended
Jan. 24, 2023
Mar. 03, 2023
Dec. 31, 2022
Dec. 31, 2022
Oct. 31, 2022
Apr. 30, 2022
Oct. 31, 2020
Subsequent Event [Line Items]              
Warrants issued (in shares)     22,855,540 22,855,540 896,031 750,000  
Warrants exercise price (in dollars per share)     $ 0.85 $ 0.85      
Exercise price (in dollars per share)       $ 0.61      
Common stock              
Subsequent Event [Line Items]              
Shares granted under royalty agreement (in shares)     218,345        
Shares granted under royalty agreement     $ 121        
Secured Debt              
Subsequent Event [Line Items]              
Warrants issued (in shares)             5,000,000
Warrants exercise price (in dollars per share)             $ 0.25
Subsequent Event              
Subsequent Event [Line Items]              
Percent of principal due monthly 1.00%            
Subsequent Event | Common stock              
Subsequent Event [Line Items]              
Shares granted under royalty agreement (in shares)   1,793,000          
Shares granted under royalty agreement   $ 700          
Subsequent Event | Secured Debt | Loan And Security Agreement              
Subsequent Event [Line Items]              
Loan principal funded at initial closing $ 30,000            
Additional amount eligible for draw down 5,000            
Voluntary prepayment amount $ 5,000            
Prepayment premium percentage 3.00%            
Term eligible for make-whole payment 20 months            
Warrant coverage percentage 30.00%            
Premium on warrants issued for warrant coverage 20.00%            
Term of average price measurement 20 days            
Warrants issued (in shares) 19,148,936            
Warrants exercise price (in dollars per share) $ 0.47            
Warrants term 5 years            
Subsequent Event | Secured Debt | Loan And Security Agreement | Prime Rate              
Subsequent Event [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%            
Subsequent Event | Secured Debt | Loan And Security Agreement - Incremental Term Loan              
Subsequent Event [Line Items]              
Additional incremental term loan upon approval of lenders $ 30,000            
Term of eligibility for additional amount 6 months            
Subsequent Event | Line of Credit | Loan And Security Agreement              
Subsequent Event [Line Items]              
Principal borrowings $ 35,000