Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.21.1
Debt - Narrative (Details) - USD ($)
1 Months Ended 2 Months Ended 3 Months Ended
Jul. 15, 2020
Apr. 10, 2020
Mar. 31, 2021
Oct. 31, 2019
Apr. 30, 2019
Feb. 28, 2021
Mar. 31, 2021
Mar. 31, 2020
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             $ 5,768,000 $ 0      
Class of warrant or right, outstanding (in shares)     5,996,112       5,996,112        
Loss on change in fair value of warrant liability             $ 885,000 $ 0      
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          
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]                      
Interest rate (as a percent)     10.00%       10.00%        
Value of notes       $ 20,000,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             $ 51,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