Annual report pursuant to Section 13 and 15(d)

Debt - Additional Information (Details)

v3.22.4
Debt - Additional Information (Details) - USD ($)
1 Months Ended 12 Months Ended
Jul. 14, 2021
Mar. 25, 2020
Apr. 30, 2020
Jan. 01, 2023
Jan. 02, 2022
Dec. 31, 2020
May 24, 2021
Dec. 13, 2019
Debt Instrument [Line Items]                
Gain (loss) on extinguishment of debt       $ 0 $ (60,000) $ 1,628,000    
Secured Debt                
Debt Instrument [Line Items]                
Repayment of debt $ 15,200,000              
Gain (loss) on extinguishment of debt $ (100,000)              
Interest expense         200,000      
Debt outstanding       0 0      
Secured Debt | Affiliated Entity                
Debt Instrument [Line Items]                
Debt principal amount             $ 15,000,000  
Interest rate payable monthly             7.50%  
Convertible Promissory Notes                
Debt Instrument [Line Items]                
Debt outstanding       $ 0 $ 0      
Accrued Interest   $ 100,000            
Discounts rate   30.00%            
Change in the fair value of the promissory notes   $ 2,400,000            
Series P2 Convertible Preferred Stock | Convertible Promissory Notes                
Debt Instrument [Line Items]                
Debt conversion (in shares)   19,001,815            
2020 Paycheck Protection Program Loan CARES Act                
Debt Instrument [Line Items]                
Loan Proceeds     $ 1,600,000          
Board of Directors | Convertible Promissory Notes                
Debt Instrument [Line Items]                
Debt principal amount               $ 5,700,000
Interest rate payable monthly               6.00%