Quarterly report pursuant to Section 13 or 15(d)

Subsequent Events (Details)

v3.22.2.2
Subsequent Events (Details)
$ / shares in Units, shares in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Nov. 09, 2022
USD ($)
a
squareFoot
Nov. 01, 2022
USD ($)
squareFoot
Oct. 05, 2022
USD ($)
May 10, 2022
$ / shares
shares
Nov. 09, 2022
USD ($)
a
squareFoot
Sep. 30, 2022
USD ($)
$ / shares
Jun. 30, 2022
shares
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
$ / shares
Sep. 30, 2021
USD ($)
Oct. 17, 2022
electricVehicle
Oct. 11, 2022
USD ($)
Subsequent Event [Line Items]                        
Share-based compensation expense           $ 19,500,000   $ 19,100,000 $ 60,900,000 $ 89,700,000    
Purchase share price (in dollars per share) | $ / shares           $ 3.63     $ 3.63      
Common stock                        
Subsequent Event [Line Items]                        
Purchase share price (in dollars per share) | $ / shares       $ 3.65                
Common stock | PIPE                        
Subsequent Event [Line Items]                        
Issuance of shares - SEPA and PIPE (in shares) | shares       13,700     13,699          
Subsequent Event                        
Subsequent Event [Line Items]                        
Number of square feet | squareFoot   100,000                    
Lease term (in years)   10 years                    
Lease, option to terminate (in years)   5 years                    
Lease not yet commenced, operating lease liability to be paid   $ 7,200,000                    
Subsequent Event | Side Letter to the Wainwright Sales Agreement                        
Subsequent Event [Line Items]                        
Sale of stock, percentage of additional fee     1.50%                  
Manager commissions, percent of gross proceeds     3.00%                  
Subsequent Event | Sale of shares under the Wainwright ATM Program                        
Subsequent Event [Line Items]                        
Share-based compensation expense         $ 900,000              
Subsequent Event | Purchase and Sale Agreement for Manufacturing Facility | OKLAHOMA                        
Subsequent Event [Line Items]                        
Number of square feet | squareFoot 630,000       630,000              
Area of land | a 121       121              
Payments to acquire facility $ 35,900,000                      
Subsequent Event | Common stock | Sale of shares under the Wainwright ATM Program                        
Subsequent Event [Line Items]                        
Sale of stock consideration         $ 30,500,000              
Subsequent Event | Yorkville | Side Letter to Pre-Paid Advance Agreement                        
Subsequent Event [Line Items]                        
Sale of stock consideration     $ 1,000,000                  
Subsequent Event | Zeeba                        
Subsequent Event [Line Items]                        
Number of electric vehicles                       3,000
Number of electric vehicles, additions                       2,450
Subsequent Event | Kingbee                        
Subsequent Event [Line Items]                        
Number of electric vehicles | electricVehicle                     9,300  
Number of electric vehicles, additions | electricVehicle                     9,300