Annual report pursuant to Section 13 and 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Restricted Cash (Details)

v3.22.0.1
Basis of Presentation and Summary of Significant Accounting Policies - Restricted Cash (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Restricted Cash and Cash Equivalents Items [Line Items]    
Restricted cash $ 2,771 $ 0
Refundable customer deposits 900  
Cash and cash equivalents 224,721 702,422
Net Cash Provided by (Used in) Operating Activities (300,816) $ (107,054)
Sales Agreement with Panasonic    
Restricted Cash and Cash Equivalents Items [Line Items]    
Standby letter of credit in restricted cash 800  
Office Facility in Auburn Hills, MI    
Restricted Cash and Cash Equivalents Items [Line Items]    
Standby letter of credit in restricted cash $ 1,100