Quarterly report pursuant to Section 13 or 15(d)

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

v3.23.1
Revenue from Contracts with Customers - Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Disaggregation of Revenue [Line Items]    
Revenues $ 271,042 $ 474,002
Percentage of revenue recognized over time 93.00% 96.00%
United States    
Disaggregation of Revenue [Line Items]    
Revenues $ 233,084 $ 438,391
Canada    
Disaggregation of Revenue [Line Items]    
Revenues 17,234 15,988
Other    
Disaggregation of Revenue [Line Items]    
Revenues 20,724 19,623
Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 183,230 393,404
O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 22,258 20,253
Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 40,772 38,428
Integrated-PV    
Disaggregation of Revenue [Line Items]    
Revenues 11,944 11,356
Other    
Disaggregation of Revenue [Line Items]    
Revenues 12,838 10,561
U.S. Regions    
Disaggregation of Revenue [Line Items]    
Revenues 124,369 314,520
U.S. Regions | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 104,320 298,632
U.S. Regions | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 5,529 5,080
U.S. Regions | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 13,651 10,018
U.S. Regions | Integrated-PV    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
U.S. Regions | Other    
Disaggregation of Revenue [Line Items]    
Revenues 869 790
U.S. Federal    
Disaggregation of Revenue [Line Items]    
Revenues 59,556 75,646
U.S. Federal | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 45,549 62,217
U.S. Federal | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 12,700 12,297
U.S. Federal | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 1,076 1,090
U.S. Federal | Integrated-PV    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
U.S. Federal | Other    
Disaggregation of Revenue [Line Items]    
Revenues 231 42
Canada    
Disaggregation of Revenue [Line Items]    
Revenues 18,411 17,172
Canada | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 14,911 13,951
Canada | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 10 11
Canada | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 762 761
Canada | Integrated-PV    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Canada | Other    
Disaggregation of Revenue [Line Items]    
Revenues 2,728 2,449
Alternative Fuels    
Disaggregation of Revenue [Line Items]    
Revenues 28,339 29,261
Alternative Fuels | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Alternative Fuels | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 3,686 2,774
Alternative Fuels | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 24,653 26,487
Alternative Fuels | Integrated-PV    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Alternative Fuels | Other    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
All Other    
Disaggregation of Revenue [Line Items]    
Revenues 40,367 37,403
All Other | Project revenue    
Disaggregation of Revenue [Line Items]    
Revenues 18,450 18,604
All Other | O&M revenue    
Disaggregation of Revenue [Line Items]    
Revenues 333 91
All Other | Energy assets    
Disaggregation of Revenue [Line Items]    
Revenues 630 72
All Other | Integrated-PV    
Disaggregation of Revenue [Line Items]    
Revenues 11,944 11,356
All Other | Other    
Disaggregation of Revenue [Line Items]    
Revenues $ 9,010 $ 7,280