Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details)

v3.20.2
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Sep. 30, 2020
Sep. 30, 2019
Revenue, Major Customer [Line Items]        
Total revenue $ 209,760 $ 215,542 $ 601,785 $ 614,641
Customer agreements and incentives        
Revenue, Major Customer [Line Items]        
Total revenue 114,485 96,249 319,704 288,538
Customer agreements        
Revenue, Major Customer [Line Items]        
Total revenue 102,213 89,241 294,991 253,046
Incentives        
Revenue, Major Customer [Line Items]        
Total revenue 12,272 7,008 24,713 35,492
Solar energy systems and product sales        
Revenue, Major Customer [Line Items]        
Total revenue 95,275 119,293 282,081 326,103
Solar energy systems        
Revenue, Major Customer [Line Items]        
Total revenue 52,238 67,230 168,094 192,235
Products        
Revenue, Major Customer [Line Items]        
Total revenue $ 43,037 $ 52,063 $ 113,987 $ 133,868