Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Deferred Revenue (Details)

v3.20.2
Summary of Significant Accounting Policies - Deferred Revenue (Details) - USD ($)
$ in Thousands
Jun. 30, 2020
Dec. 31, 2019
Dec. 31, 2018
Deferred Revenue Arrangement [Line Items]      
Deferred revenue $ 742,547 $ 729,499 $ 591,600
Customer agreements      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 609,215 603,504  
Customer agreements | Payments received      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 560,828 558,630  
Customer agreements | Financing component balance      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 48,387 44,874  
SREC contracts      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 133,332 125,995  
SREC contracts | Payments received      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue 128,429 122,680  
SREC contracts | Financing component balance      
Deferred Revenue Arrangement [Line Items]      
Deferred revenue $ 4,903 $ 3,315