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 6 Months Ended
Apr. 05, 2021
Jul. 15, 2020
Apr. 10, 2020
Mar. 31, 2021
Oct. 31, 2019
Apr. 30, 2019
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
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             2,184,000   $ 81,000 7,952,000 $ 81,000        
Payments on senior convertible notes                   25,095,000 $ 455,000        
Total debt             $ 3,998,000     $ 3,998,000     10,071,000    
Class of warrant or right, outstanding (in shares)             5,996,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                          
Warrants | Common Stock                              
Debt Instrument [Line Items]                              
Exercise price per share (in dollars per share)   $ 4.00                   $ 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             $ 243,000     $ 243,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          
Notes Payable to Banks                              
Debt Instrument [Line Items]                              
Loan proceeds     $ 2,850,000                        
Interest rate (as a percent)                           0.98%  
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                    
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 on senior convertible notes 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