Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Cash and Restricted Cash (Details)

v3.21.2
Summary of Significant Accounting Policies - Cash and Restricted Cash (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Oct. 08, 2020
Jun. 30, 2020
Dec. 31, 2019
Business Acquisition [Line Items]          
Cash $ 679,588 $ 519,965   $ 269,569 $ 269,577
Restricted cash, current and long-term 178,015 188,243   84,663 93,652
Total $ 857,603 $ 708,208   $ 354,232 $ 363,229
Vivint Solar Inc          
Business Acquisition [Line Items]          
Increase (decrease) cash and restricted cash     $ 537,200