v3.22.2.2
Fair Value Measurements - Additional Information (Details)
3 Months Ended 9 Months Ended
Oct. 17, 2022
USD ($)
$ / shares
shares
Dec. 22, 2020
USD ($)
Sep. 30, 2022
USD ($)
$ / shares
shares
Aug. 17, 2022
shares
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
$ / shares
shares
Sep. 30, 2021
USD ($)
Sep. 15, 2022
shares
Dec. 31, 2021
USD ($)
$ / shares
shares
Dec. 12, 2020
facility
MW
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Redeemable warrants issued (in shares)               14,798,981    
Common stock, par value (in usd per share) | $ / shares     $ 0.0001     $ 0.0001     $ 0.0001  
Redeemable warrants exercised share (in shares)           1,687        
Proceeds from redeemable warrants cash | $           $ 18,557        
Redeemable warrants on a cashless (in shares)           10,614,564        
Gain in fair value change of warrant | $           $ 4,100,000        
Exchange of warrants into common stock | $           7,828,000        
Class of warrants or rights, warrants liability | $           $ 35,800,000        
Alignment shares outstanding (in shares)     1,207,500     1,207,500     1,408,750  
Volatility rate           73.00%        
Risk-free interest rate           4.00%        
Loss (gain) on fair value remeasurement of contingent consideration, net | $     $ 825,000   $ (350,000) $ (146,000) $ (2,400,000)      
Common Stock                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Exercised warrants (in shares)     2,934,466     2,934,466        
Gain in fair value change of warrant | $           $ 8,600,000        
Solar                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Number of assets acquired | facility                   16
Nameplate capacity | MW                   61.5
Earnout cash payments | $   $ 10,500,000                
Liability for contingent consideration | $     $ 2,700,000     2,700,000     $ 2,300,000  
Loss (gain) on fair value remeasurement of contingent consideration, net | $     $ (800,000)   $ 400,000 100,000 2,400,000      
Amount of change of other contingent consideration, amount | $           $ 500,000 $ 0      
Redeemable Warrants                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Warrants surrendered (in shares)       4,630,163            
Redeemable Warrants | Subsequent Event                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Redeemable price (in usd per share) | $ / shares $ 0.10                  
Redemption fair market value price (in usd per share) | $ / shares $ 10.98                  
Redemption cashless exercise 0.2763                  
Redeemable warrants exercised share (in shares) 8,462                  
Proceeds from redeemable warrants cash | $ $ 93,082                  
Redemption warrant of cashless exercise (in shares) 14,690,310                  
Exercised warrants (in shares) 4,058,845                  
Warrants remained unexercised (in shares) 100,209                  
Aggregate redemption price | $ $ 10,021                  
Class A Common Stock                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Common stock, par value (in usd per share) | $ / shares     $ 0.0001     $ 0.0001        
Class A Common Stock | Common Stock                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Exercised warrants (in shares)           2,932,779        
IPO                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Redeemable warrants issued (in shares)     10,062,500     10,062,500        
IPO | Private Placement Warrants                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Redeemable warrants issued (in shares)     7,366,667     7,366,667        
Exercise price of warrants (in usd per share) | $ / shares     $ 11.00     $ 11.00        
Exercisable warrants (in shares)     9,366,667     9,366,667        
IPO | Private Placement Warrants | Amended And Restated Promissory Note                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Redeemable warrants issued (in shares)     2,000,000     2,000,000        
IPO | Class A Common Stock                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Redeemable warrants issued (in shares)     10,062,500     10,062,500        
IPO | Class A Common Stock | Private Placement Warrants                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Exercise price of warrants (in usd per share) | $ / shares     $ 11.00     $ 11.00        
Warrant | Class A Common Stock                    
Fair Value, Option, Quantitative Disclosures [Line Items]                    
Number of shares issued in transaction (in shares)       1,111,243