Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Deferred Revenue (Details)

v3.22.2
Summary of Significant Accounting Policies - Deferred Revenue (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Dec. 31, 2020
Deferred Revenue Arrangement [Line Items]      
Deferred revenue $ 941,111 $ 873,611 $ 799,300
Under Customer Agreements      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 770,618 703,956  
Under Customer Agreements | Payments received, net      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 708,698 645,439  
Under Customer Agreements | Financing component balance      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 61,920 58,517  
SREC Contracts      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 170,493 169,655  
SREC Contracts | Payments received, net      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 160,970 161,575  
SREC Contracts | Financing component balance      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue $ 9,523 $ 8,080