XML 41 R30.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Significant Accounting Policies - Additional Information (Details)
$ in Thousands, € in Millions, shares in Millions
1 Months Ended 6 Months Ended
Jul. 31, 2022
USD ($)
Rate
Jul. 31, 2022
EUR (€)
Apr. 30, 2022
USD ($)
Rate
Apr. 30, 2022
EUR (€)
Jun. 30, 2022
USD ($)
GWh
battery_solution
shares
Jul. 31, 2022
EUR (€)
Rate
Apr. 30, 2022
EUR (€)
Rate
Dec. 31, 2021
USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Accumulated losses | $         $ 847,295     $ 619,245
Cash and cash equivalents | $         $ 851,939     $ 1,202,439
Number of battery solutions | battery_solution         2      
Battery capacity in gigawatt-hours | GWh         5      
Purchase of foreign currency     $ 140,000 € 130.1        
Foreign currency exchange rate, translation | Rate     107.60%       107.60%  
Translation adjustment functional to reporting currency     $ 50,900       € 50.0  
Subsequent Event                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Purchase of foreign currency $ 140,000 € 130.1            
Foreign currency exchange rate, translation | Rate 101.80%         101.80%    
Translation adjustment functional to reporting currency $ 50,900         € 50.0    
Common Class A | ATM Program                
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                
Sale of stock, shares available for sale under program | shares         335