Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Additional Information (Details)

v3.22.2
Summary of Significant Accounting Policies - Additional Information (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2022
USD ($)
item
Jun. 30, 2021
USD ($)
item
Jun. 30, 2022
USD ($)
item
customer
Jun. 30, 2021
USD ($)
item
Dec. 31, 2021
USD ($)
item
customer
May 06, 2021
USD ($)
Concentration Risk [Line Items]            
Concentrations of credit risk (as a percent) 100.00% 100.00% 100.00% 100.00%    
Impairment of long-lived assets $ 0 $ 0 $ 0 $ 0    
Revenues recognized     (412,000)      
Facility $ 90,863,000   $ 90,863,000   $ 90,863,000  
Convertible Note due in May 2024            
Concentration Risk [Line Items]            
Interest rate (as a percent) 7.50%   7.50%     7.50%
Convertible note $ 87,863,000   $ 87,863,000   87,863,000 $ 100,000,000
Fair value of convertible debt $ 64,567,000   $ 64,567,000   76,614,000 $ 17,063,000
Facility            
Concentration Risk [Line Items]            
Interest rate (as a percent) 15.00%   15.00%      
Facility $ 3,000,000   $ 3,000,000   3,000,000  
Notes payable, fair value $ 3,308,000   3,308,000   $ 4,173,000  
Service Revenue            
Concentration Risk [Line Items]            
Revenues recognized     $ 62,000      
Customer Concentration Risk | Accounts Receivable | One Customer            
Concentration Risk [Line Items]            
Concentrations of credit risk (as a percent)     46.00%   40.00%  
Customer Concentration Risk | Accounts Receivable | Two Customers            
Concentration Risk [Line Items]            
Concentrations of credit risk (as a percent)         20.00%  
Customer Concentration Risk | Accounts Receivable | Three Customers            
Concentration Risk [Line Items]            
Number of customers | customer     1   3  
Concentrations of credit risk (as a percent)         17.00%  
Supplier Concentration Risk | Accounts Payable | Supplier One            
Concentration Risk [Line Items]            
Concentrations of credit risk (as a percent)     30.00%   20.00%  
Number of suppliers | item     1      
Supplier Concentration Risk | Accounts Payable | Supplier Two            
Concentration Risk [Line Items]            
Concentrations of credit risk (as a percent)         19.00%  
Number of suppliers | item 2 2        
Supplier Concentration Risk | Accounts Payable | Supplier Three            
Concentration Risk [Line Items]            
Concentrations of credit risk (as a percent)         11.00%  
Number of suppliers | item         3  
Supplier Concentration Risk | Purchases | Supplier One            
Concentration Risk [Line Items]            
Concentrations of credit risk (as a percent)     40.00% 18.00%    
Number of suppliers | item     2      
Supplier Concentration Risk | Purchases | Supplier Two            
Concentration Risk [Line Items]            
Concentrations of credit risk (as a percent)       16.00%    
Number of suppliers | item       2