Quarterly report pursuant to Section 13 or 15(d)

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

v3.19.1
Revenue from Contracts with Customers - Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Disaggregation of Revenue [Line Items]    
Revenues $ 150,112 $ 167,410
United States    
Disaggregation of Revenue [Line Items]    
Revenues 139,233 157,461
Canada    
Disaggregation of Revenue [Line Items]    
Revenues 6,511 8,439
Other    
Disaggregation of Revenue [Line Items]    
Revenues 4,368 1,510
Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 87,432 111,683
O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 15,211 15,088
Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 24,985 21,494
Other    
Disaggregation of Revenue [Line Items]    
Revenues 22,484 19,145
U.S. Regions    
Disaggregation of Revenue [Line Items]    
Revenues 55,597 74,691
U.S. Regions | United States    
Disaggregation of Revenue [Line Items]    
Revenues 55,597 74,691
U.S. Regions | Canada    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
U.S. Regions | Other    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
U.S. Regions | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 45,704 65,440
U.S. Regions | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 3,318 3,895
U.S. Regions | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 6,021 4,981
U.S. Regions | Other    
Disaggregation of Revenue [Line Items]    
Revenues 554 375
U.S. Federal    
Disaggregation of Revenue [Line Items]    
Revenues 43,057 47,785
U.S. Federal | United States    
Disaggregation of Revenue [Line Items]    
Revenues 43,057 47,785
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 32,353 37,838
U.S. Federal | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 9,858 9,178
U.S. Federal | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 643 769
U.S. Federal | Other    
Disaggregation of Revenue [Line Items]    
Revenues 203 0
Canada    
Disaggregation of Revenue [Line Items]    
Revenues 7,148 8,904
Canada | United States    
Disaggregation of Revenue [Line Items]    
Revenues 702 520
Canada | Canada    
Disaggregation of Revenue [Line Items]    
Revenues 6,446 8,384
Canada | Other    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Canada | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 5,234 6,936
Canada | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 0 19
Canada | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 320 366
Canada | Other    
Disaggregation of Revenue [Line Items]    
Revenues 1,594 1,583
Non-Solar DG    
Disaggregation of Revenue [Line Items]    
Revenues 21,230 18,117
Non-Solar DG | United States    
Disaggregation of Revenue [Line Items]    
Revenues 21,230 18,117
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 1,074 899
Non-Solar DG | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 2,035 1,996
Non-Solar DG | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 17,699 15,114
Non-Solar DG | Other    
Disaggregation of Revenue [Line Items]    
Revenues 422 108
Other    
Disaggregation of Revenue [Line Items]    
Revenues 23,080 17,913
Other | United States    
Disaggregation of Revenue [Line Items]    
Revenues 18,647 16,348
Other | Canada    
Disaggregation of Revenue [Line Items]    
Revenues 65 55
Other | Other    
Disaggregation of Revenue [Line Items]    
Revenues 4,368 1,510
Other | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 3,067 570
Other | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Other | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 302 264
Other | Other    
Disaggregation of Revenue [Line Items]    
Revenues $ 19,711 $ 17,079