Annual report pursuant to Section 13 and 15(d)

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

v3.19.3.a.u2
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Revenue, Major Customer [Line Items]                      
Total Revenue $ 243,937 $ 215,542 $ 204,595 $ 194,504 $ 240,120 $ 204,960 $ 170,538 $ 144,363 $ 858,578 $ 759,981 $ 532,542
Customer agreements and incentives                      
Revenue, Major Customer [Line Items]                      
Customer agreements and incentives                 387,835 404,466 234,276
Customer agreements                      
Revenue, Major Customer [Line Items]                      
Customer agreements and incentives                 345,486 272,672 210,753
Incentives                      
Revenue, Major Customer [Line Items]                      
Customer agreements and incentives                 42,349 131,794 23,523
Solar energy systems and product sales                      
Revenue, Major Customer [Line Items]                      
Total Revenue                 470,743 355,515 298,266
Solar energy systems                      
Revenue, Major Customer [Line Items]                      
Total Revenue                 283,429 186,512 113,953
Products                      
Revenue, Major Customer [Line Items]                      
Total Revenue                 $ 187,314 $ 169,003 $ 184,313