XML 22 R5.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Operations - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Revenue:      
Total revenue $ 1,609,954 $ 922,191 $ 858,578
Operating expenses:      
Sales and marketing 622,961 352,299 275,148
Research and development 23,165 19,548 23,563
General and administrative 259,173 266,746 125,023
Amortization of intangible assets 5,370 5,180 4,755
Total operating expenses 2,276,141 1,387,299 1,074,318
Loss from operations (666,187) (465,108) (215,740)
Interest expense, net (327,700) (230,601) (174,246)
Other income (expense), net 22,628 8,188 (9,254)
Loss before income taxes (971,259) (687,521) (399,240)
Income tax expense (benefit) 9,271 (60,573) (8,218)
Net loss (980,530) (626,948) (391,022)
Net loss attributable to noncontrolling interests and
   redeemable noncontrolling interests (901,107) (453,554) (417,357)
Net (loss) income attributable to common stockholders $ (79,423) $ (173,394) $ 26,335
Net (loss) income per share attributable to common stockholders      
Basic (in dollars per share) $ (0.39) $ (1.24) $ 0.23
Diluted (in dollars per share) $ (0.39) $ (1.24) $ 0.21
Weighted average shares used to compute net loss
   per share attributable to common stockholders      
Basic (in shares) 205,132 139,606 116,397
Diluted (in shares) 205,132 139,606 123,876
Customer agreements and incentives      
Revenue:      
Total revenue $ 826,564 $ 484,160 $ 387,835
Operating expenses:      
Costs 699,102 385,650 280,344
Solar energy systems and product sales      
Revenue:      
Total revenue 783,390 438,031 470,743
Operating expenses:      
Costs $ 666,370 $ 357,876 $ 365,485