Annual report pursuant to Section 13 and 15(d)

Income Taxes - Additional Information (Details)

v3.22.4
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Tax Contingency [Line Items]      
Investment tax credit $ 87,500 $ 75,500  
Other state tax credit carryforward 1,300    
Deferred tax asset, valuation allowance 61,695 136,682  
Valuation allowance, deferred tax asset, increase (decrease) (75,000)    
U.S. Federal      
Income Tax Contingency [Line Items]      
Capital loss carryforward 7,200    
Net operating loss carryforwards 720,700    
U.S. Federal | Indefinite      
Income Tax Contingency [Line Items]      
Net operating loss carryforwards 1,400,000    
State      
Income Tax Contingency [Line Items]      
Capital loss carryforward 8,900    
Net operating loss carryforwards 2,500,000    
State | Indefinite      
Income Tax Contingency [Line Items]      
Net operating loss carryforwards 296,800    
Vivint Solar      
Income Tax Contingency [Line Items]      
Unrecognized tax benefits 1,000 1,000 $ 1,000
California Enterprise Zone Credits.      
Income Tax Contingency [Line Items]      
Investment tax credit $ 1,000 $ 1,000