Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Additional Information (Details)

v3.22.1
Summary of Significant Accounting Policies - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Jul. 14, 2021
USD ($)
Sep. 30, 2020
USD ($)
Feb. 29, 2016
Jan. 02, 2022
USD ($)
Segment
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
shares
Class Of Warrant Or Right [Line Items]          
Working capital       $ 377,500  
Accumulated deficit       (333,152) $ (207,278)
Proceeds from business acquisition $ 373,745     $ 373,700  
Number of operating segments | Segment       1  
Impairment charges       $ 0  
Common stock, shares issued | shares       152,272,287 100,016,559
Common stock, shares outstanding | shares       152,272,287 100,016,559
Common stock, par value | $ / shares       $ 0.0001 $ 0.0001
Allocation of transaction price to the performance obligations, percentage       100.00%  
Financial assistance agreement   $ 6,500      
Description of financial assistance agreement       Under the agreement, the Company will perform research and development under a joint project with the EERE, and the EERE will reimbursee the Company for 49.8% of allowable project costs. The remaining 50.2% in costs would be incurred by the Company.  
Vesting period       5 years  
Deferred Revenue       $ 7,900 $ 5,500
Deferred contract costs       4,600 3,500
ASU term description     ASU 2016-02 requires an entity to recognize a right-of-use asset and lease liability for all leases with terms of more than 12 months.    
Minimum [Member]          
Class Of Warrant Or Right [Line Items]          
Restricted cash       $ 100 $ 100
Term of service revenue contracts       1 year  
Maximum [Member]          
Class Of Warrant Or Right [Line Items]          
Term of service revenue contracts       3 years  
Maximum [Member] | Capitalized Software Costs for Internal Use [Member]          
Class Of Warrant Or Right [Line Items]          
Property and equipment, estimated useful life       5 years  
Deferred Revenue [Member] | Customer Concentration Risk [Member] | Customer One [Member]          
Class Of Warrant Or Right [Line Items]          
Concentration risk, percentage       64.00% 91.00%
Prepaid Expense and Other Assets [Member]          
Class Of Warrant Or Right [Line Items]          
Reimbursement receivable       $ 300 $ 200
Stock Options [Member] | Maximum [Member]          
Class Of Warrant Or Right [Line Items]          
Contractual term       10 years  
Common Stock Warrants [Member]          
Class Of Warrant Or Right [Line Items]          
Common stock, shares issued | shares       17,500,000  
Common stock, shares outstanding | shares       17,500,000  
Common stock, par value | $ / shares       $ 11.50  
Contractual term       5 years  
Warrant exercisable date       Dec. 05, 2021  
Outstanding public warrant redemption price | $ / shares       $ 0.01  
Common Stock Warrants [Member] | Minimum [Member]          
Class Of Warrant Or Right [Line Items]          
Warrant redemption condition minimum share price | $ / shares       $ 18.00