Annual report pursuant to Section 13 and 15(d)

Income Taxes - Additional Information (Details)

v3.20.4
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Income Tax Contingency [Line Items]        
Investment tax credit $ 66,000 $ 18,800    
Other state tax credit carryforward 1,900      
Deferred tax asset, valuation allowance 91,322 12,120    
Valuation allowance, deferred tax asset, increase (decrease) 79,200      
Unrecognized tax benefits 961 0 $ 647 $ 1,525
U.S. Federal        
Income Tax Contingency [Line Items]        
Net operating loss carryforwards 720,700      
State        
Income Tax Contingency [Line Items]        
Net operating loss carryforwards 2,100,000      
Vivint Solar        
Income Tax Contingency [Line Items]        
Unrecognized tax benefits 1,000      
California Enterprise Zone Credits.        
Income Tax Contingency [Line Items]        
Investment tax credit $ 1,000 1,000    
Indefinite | U.S. Federal        
Income Tax Contingency [Line Items]        
Net operating loss carryforwards   1,100,000    
Indefinite | State        
Income Tax Contingency [Line Items]        
Net operating loss carryforwards   $ 176,300