Quarterly report pursuant to Section 13 or 15(d)

Revenue from Contracts with Customers - Disaggregation of Revenue (Details)

v3.20.1
Revenue from Contracts with Customers - Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Disaggregation of Revenue [Line Items]    
Revenues $ 212,413 $ 150,112
United States    
Disaggregation of Revenue [Line Items]    
Revenues 195,939 139,233
Canada    
Disaggregation of Revenue [Line Items]    
Revenues 10,553 6,511
Other    
Disaggregation of Revenue [Line Items]    
Revenues 5,921 4,368
Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 144,429 87,432
O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 18,062 15,211
Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 28,222 24,985
Other    
Disaggregation of Revenue [Line Items]    
Revenues 21,700 22,484
US Regions    
Disaggregation of Revenue [Line Items]    
Revenues 84,727 55,597
US Regions | United States    
Disaggregation of Revenue [Line Items]    
Revenues 84,727 55,597
US Regions | Canada    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
US Regions | Other    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
US Regions | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 71,493 45,704
US Regions | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 4,352 3,318
US Regions | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 8,554 6,021
US Regions | Other    
Disaggregation of Revenue [Line Items]    
Revenues 328 554
U.S. Federal    
Disaggregation of Revenue [Line Items]    
Revenues 68,745 43,057
U.S. Federal | United States    
Disaggregation of Revenue [Line Items]    
Revenues 68,745 43,057
U.S. Federal | Canada    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
U.S. Federal | Other    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
U.S. Federal | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 56,114 32,353
U.S. Federal | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 11,626 9,858
U.S. Federal | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 719 643
U.S. Federal | Other    
Disaggregation of Revenue [Line Items]    
Revenues 286 203
Canada    
Disaggregation of Revenue [Line Items]    
Revenues 11,392 7,148
Canada | United States    
Disaggregation of Revenue [Line Items]    
Revenues 896 702
Canada | Canada    
Disaggregation of Revenue [Line Items]    
Revenues 10,496 6,446
Canada | Other    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Canada | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 8,864 5,234
Canada | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 9 0
Canada | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 663 320
Canada | Other    
Disaggregation of Revenue [Line Items]    
Revenues 1,856 1,594
Non-Solar DG    
Disaggregation of Revenue [Line Items]    
Revenues 22,724 21,230
Non-Solar DG | United States    
Disaggregation of Revenue [Line Items]    
Revenues 22,724 21,230
Non-Solar DG | Canada    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Non-Solar DG | Other    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Non-Solar DG | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 2,371 1,074
Non-Solar DG | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 2,015 2,035
Non-Solar DG | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 17,986 17,699
Non-Solar DG | Other    
Disaggregation of Revenue [Line Items]    
Revenues 352 422
All Other    
Disaggregation of Revenue [Line Items]    
Revenues 24,825 23,080
All Other | United States    
Disaggregation of Revenue [Line Items]    
Revenues 18,847 18,647
All Other | Canada    
Disaggregation of Revenue [Line Items]    
Revenues 57 65
All Other | Other    
Disaggregation of Revenue [Line Items]    
Revenues 5,921 4,368
All Other | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 5,587 3,067
All Other | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 60 0
All Other | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 300 302
All Other | Other    
Disaggregation of Revenue [Line Items]    
Revenues $ 18,878 $ 19,711