Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies (Details)

v3.21.2
Summary of Significant Accounting Policies (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Dec. 31, 2020
May 06, 2021
Feb. 29, 2020
Dec. 31, 2019
Concentration Risk [Line Items]                
Cash and cash equivalents $ 187,238 $ 4,901 $ 187,238 $ 4,901 $ 460     $ 1,297
Net loss (49,461) $ (18,684) (122,955) (24,272)        
Net cash used in operating activities     (47,962) $ (11,693)        
Working capital $ 204,314   $ 204,314          
Concentrations of credit risk (as a percent) 100.00% 100.00% 100.00% 100.00%        
Allowance for doubtful accounts $ 142   $ 142   0      
Impairment of long-lived assets     0 $ 0        
Convertible Note 87,863   87,863          
Interest rate (as a percent)   8.00%   8.00%     8.00%  
Convertible Note due in May 2024                
Concentration Risk [Line Items]                
Convertible Note $ 100,000   $ 100,000          
Interest rate (as a percent) 7.50%   7.50%          
Fair value of convertible debt $ 59,888   $ 59,888   $ 0 $ 17,063    
Customer | Accounts receivable | One Customer                
Concentration Risk [Line Items]                
Concentrations of credit risk (as a percent)     55.00%          
Customer | Accounts receivable | Two Customers                
Concentration Risk [Line Items]                
Concentrations of credit risk (as a percent)         37.00%      
Supplier | Accounts payable | One Supplier                
Concentration Risk [Line Items]                
Concentrations of credit risk (as a percent)     16.00%   12.00%      
Supplier | Purchases | One Supplier                
Concentration Risk [Line Items]                
Concentrations of credit risk (as a percent) 37.00%     39.00%        
Supplier | Purchases | Two Suppliers                
Concentration Risk [Line Items]                
Concentrations of credit risk (as a percent)   47.00% 36.00%