Annual report pursuant to Section 13 and 15(d)

Debt - Notes payable (Details)

v3.22.1
Debt - Notes payable (Details) - USD ($)
12 Months Ended
Jun. 29, 2021
Jun. 24, 2020
Jan. 13, 2020
Nov. 04, 2019
Dec. 31, 2021
Dec. 31, 2020
Jun. 30, 2020
Dec. 31, 2019
Dec. 19, 2019
Debt Instruments [Abstract]                  
Default interest rate       12.00%          
Common stock, shares issued (in shares)         29,146,367 8,651,400      
Common stock purchase warrants issued (in shares)         9,433,584 9,916,997   2,830,309  
Debt outstanding         $ 10,270,000 $ 32,611,000      
Notes payable, net         $ 0 18,910,000      
Notes payable                  
Debt Instruments [Abstract]                  
Conversion price (in dollars per share)         $ 5.00        
Debt outstanding         $ 0        
Convertible Subordinated Seller Notes | Executive Officer                  
Debt Instruments [Abstract]                  
Notes payable, net               $ 100,000  
Interest expense         $ 100,000 $ 200,000      
Convertible Subordinated Seller Notes | Director                  
Debt Instruments [Abstract]                  
Notes payable, net             $ 800,000 $ 2,200,000  
Licensing arrangement                  
Debt Instruments [Abstract]                  
Termination fee paid     $ 100,000            
Common stock, shares issued (in shares)     12,120            
Termination fee payable     $ 100,000            
Common stock purchase warrants issued (in shares)     10,204            
Common stock purchase warrant issuable     $ 200,000            
Contract termination costs     1,100,000            
November 2019 Notes                  
Debt Instruments [Abstract]                  
Debt face amount       $ 2,800,000          
Interest rate per annum       10.00% 0.00% 10.00%      
Conversion price (in dollars per share)       $ 24.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]                  
Interest rate per annum                 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]                  
Debt face amount                 $ 10,000,000
Interest rate per annum         0.00% 10.00%      
Debt outstanding         $ 0 $ 10,332,000      
Debt issuance costs and discounts           $ 800,000      
Junior Seller Notes                  
Debt Instruments [Abstract]                  
Debt face amount                 $ 5,000,000
Interest rate per annum         0.00% 10.00%      
Debt outstanding         $ 0 $ 4,973,000      
Debt issuance costs and discounts           $ 500,000      
ABG Notes                  
Debt Instruments [Abstract]                  
Debt face amount     $ 600,000            
Interest rate per annum         0.00% 10.00%      
Conversion price (in dollars per share)   $ 22.50 $ 24.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]                  
Debt face amount   $ 1,500,000              
Interest rate per annum   10.00%     0.00% 10.00%      
Conversion price (in dollars per share)   $ 4.50              
Amortization of discount $ 1,400,000                
Debt outstanding         $ 0 $ 88,000      
Debt issuance costs and discounts           $ 1,500,000      
June 2020 Notes | Notes payable                  
Debt Instruments [Abstract]                  
Conversion price (in dollars per share)         $ 4.50