XML 98 R79.htm IDEA: XBRL DOCUMENT v3.22.0.1
Leases - Narrative (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2021
USD ($)
ft²
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Lessee, Lease, Description [Line Items]      
Total plant space (in square feet) | ft² 581,000    
Rent expense $ 16,000 $ 9,900  
Product revenue 906,858 731,224 $ 724,788
Financing obligations, non-current 461,900 459,981  
Managed Services | PPA Entities      
Lessee, Lease, Description [Line Items]      
Recognition of right-of-use assets and lease liabilities from sale and leaseback transactions 29,400    
Product      
Lessee, Lease, Description [Line Items]      
Product revenue 663,512 518,633 557,336
Product | Managed Services | PPA Entities      
Lessee, Lease, Description [Line Items]      
Product revenue 35,100    
Installation      
Lessee, Lease, Description [Line Items]      
Product revenue 96,059 $ 101,887 $ 60,826
Installation | Managed Services | PPA Entities      
Lessee, Lease, Description [Line Items]      
Product revenue 20,900    
Financing Obligations | Managed Services | PPA Entities      
Lessee, Lease, Description [Line Items]      
Product revenue $ 10,000    
Minimum      
Lessee, Lease, Description [Line Items]      
Remaining lease term 1 year    
Maximum      
Lessee, Lease, Description [Line Items]      
Remaining lease term 15 years