Quarterly report pursuant to Section 13 or 15(d)

Debt - Notes payable (Details)

v3.21.2
Debt - Notes payable (Details) - USD ($)
3 Months Ended 9 Months Ended
Jun. 30, 2021
Jun. 24, 2020
Jan. 13, 2020
Nov. 04, 2019
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Dec. 31, 2020
Dec. 31, 2019
Dec. 19, 2019
Debt Instruments [Abstract]                    
Common stock or units, issued (in shares)           29,241,317   8,651,400    
Accretion of debt discount $ 1,400,000                  
Debt outstanding           $ 10,405,000   $ 32,611,000    
Notes payable, net           0   $ 18,910,000    
Licensing arrangement                    
Debt Instruments [Abstract]                    
Termination fee paid     $ 100,000              
Common stock or units, issued (in shares)     12,120              
Termination fee payable     $ 100,000              
Common stock purchase warrant issuable     200,000              
Subordinated convertible notes | Executive Officer                    
Debt Instruments [Abstract]                    
Notes payable, net                 $ 100,000  
Interest expense         $ 100,000 100,000 $ 100,000      
Subordinated convertible notes | Director                    
Debt Instruments [Abstract]                    
Notes payable, net                 $ 2,200,000  
November 2019 Notes                    
Debt Instruments [Abstract]                    
Face amount       $ 2,800,000            
Long-term debt, interest rate       10.00%       10.00%    
Conversion price (in dollars per share)   $ 22.50   $ 24.00            
Default interest rate       12.00%            
Increase in fair value, adjustment to paid in capital   $ 300,000                
Debt outstanding           0   $ 2,830,000    
Debt issuance costs and discounts               $ 300,000    
Seller Notes                    
Debt Instruments [Abstract]                    
Long-term debt, interest rate                   10.00%
Conversion price (in dollars per share)                   $ 24.00
Increase in fair value, adjustment to paid in capital   300,000                
Senior Seller Notes                    
Debt Instruments [Abstract]                    
Face amount                   $ 10,000,000
Long-term debt, interest rate               10.00%    
Debt outstanding           0   $ 10,332,000    
Debt issuance costs and discounts               $ 800,000    
Junior Seller Notes                    
Debt Instruments [Abstract]                    
Face amount                   $ 5,000,000
Long-term debt, interest rate               10.00%    
Debt outstanding           $ 0   $ 4,973,000    
Debt issuance costs and discounts               $ 500,000    
ABG Notes                    
Debt Instruments [Abstract]                    
Face amount     $ 600,000              
Long-term debt, interest rate               10.00%    
Conversion price (in dollars per share)           $ 5.00        
Increase in fair value, adjustment to paid in capital   100,000                
Debt outstanding           $ 0   $ 687,000    
Debt issuance costs and discounts               $ 100,000    
June 2020 Notes                    
Debt Instruments [Abstract]                    
Face amount   $ 1,500,000                
Long-term debt, interest rate   10.00%           10.00%    
Conversion price (in dollars per share) $ 4.50 $ 4.50                
Debt outstanding           $ 0   $ 88,000    
Debt issuance costs and discounts               $ 1,500,000