Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.21.2
Debt - Narrative (Details) - USD ($)
1 Months Ended 3 Months Ended 9 Months Ended
Oct. 27, 2021
Apr. 05, 2021
Jul. 15, 2020
Apr. 10, 2020
Mar. 31, 2021
Oct. 31, 2019
Apr. 30, 2019
Sep. 30, 2021
Mar. 31, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Oct. 22, 2021
Feb. 28, 2021
Dec. 31, 2020
Apr. 09, 2020
Dec. 31, 2019
Debt Instrument [Line Items]                                  
Original issue discount               $ 0     $ 0       $ 1,029,000    
Repayments of debt                 $ 11,507,000                
Loss on extinguishment of debt               0   $ 950,000 7,952,000 $ 1,031,000          
Payments of convertible debt                     25,116,000 $ 3,948,000          
Total debt               $ 1,127,000     $ 1,127,000       $ 10,071,000    
Class of warrant or right, outstanding (in shares)               7,676,112     7,676,112       5,996,112    
Cane Capital, LLC                                  
Debt Instrument [Line Items]                                  
Principal amount of note                                 $ 195,000
Warrants                                  
Debt Instrument [Line Items]                                  
Warrant, term     3 years                            
Class of warrant or right, outstanding (in shares)     2,160,000                     3,840,000      
Warrants | Common Stock                                  
Debt Instrument [Line Items]                                  
Exercise price per share (in dollars per share)     $ 4.00                     $ 2.25      
Warrants | Common Stock | Subsequent Event                                  
Debt Instrument [Line Items]                                  
Exercise price per share (in dollars per share)                         $ 2.25        
Convertible notes                                  
Debt Instrument [Line Items]                                  
Proceeds from issuance of debt     $ 1,751,000                            
Subsequent placement optional redemption, maximum net proceeds from placement (as a percent)     40.00%                            
Loss on extinguishment of debt                 5,717,000                
Total debt               $ 222,000     $ 222,000       $ 250,000    
Participation rights period     2 years                            
Maximum amount of securities sold in equity offerings (as a percent)     30.00%                            
Interest rate (as a percent)               7.00%     7.00%            
Value of notes             $ 20,000,000                    
Conversion price (in dollars per share)               $ 11.50     $ 11.50            
Convertible notes | Subsequent Event                                  
Debt Instrument [Line Items]                                  
Extinguishment of debt, amount $ 222,000                                
Notes Payable to Banks                                  
Debt Instrument [Line Items]                                  
Loan proceeds       $ 2,850,000                          
Interest rate (as a percent)                               0.98%  
Senior Convertible Notes Payable                                  
Debt Instrument [Line Items]                                  
Maximum amount of securities sold in equity offerings (as a percent)     30.00%                            
Promissory notes                                  
Debt Instrument [Line Items]                                  
Total debt               $ 905,000     $ 905,000       $ 905,000    
Interest rate (as a percent)               10.00%     10.00%            
Value of notes           $ 20,000,000                      
Minimum balance of interest payments period           1 year                      
Principal and unpaid accrued interest due and payable, period           60 months                      
Promissory notes | Subsequent Event                                  
Debt Instrument [Line Items]                                  
Repayments of notes payable $ 905,000                                
Series A Note | Convertible notes                                  
Debt Instrument [Line Items]                                  
Principal amount of note     $ 4,320,000                            
Original issue discount     320,000                            
Series B Note | Convertible notes                                  
Debt Instrument [Line Items]                                  
Principal amount of note     17,280,000                            
Original issue discount     1,280,000                            
Loss on extinguishment of debt   $ 2,184,000                 $ 51,000            
Payments of convertible debt   13,902,000                              
Total debt   $ 11,718,000                              
Investor Note | Secured Debt                                  
Debt Instrument [Line Items]                                  
Principal amount of note     $ 16,000,000                            
Voluntary prepayment amount         $ 10,250,000                        
Proceeds from voluntary prepayment amount         10,250,000                        
Unrestricted original issue discount         $ 820,000       $ 820,000