XML 24 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
Total revenue $ 972,176 $ 794,247 $ 785,177
Cost of revenue 774,595 628,454 687,590
Gross profit 197,581 165,793 97,587
Operating expenses:      
Research and development 103,396 83,577 104,168
Sales and marketing 86,499 55,916 73,573
General and administrative 122,188 107,085 152,650
Total operating expenses 312,083 246,578 330,391
Loss from operations (114,502) (80,785) (232,804)
Interest income 262 1,475 5,661
Interest expense (69,025) (76,276) (87,480)
Interest expense - related parties 0 (2,513) (6,756)
Other income (expense), net (8,139) (8,318) 706
Gain (loss) on extinguishment of debt 0 (12,878) 0
(Loss) gain on revaluation of embedded derivatives (919) 464 (2,160)
Loss before income taxes (192,323) (178,831) (322,833)
Income tax provision 1,046 256 633
Net loss (193,369) (179,087) (323,466)
Less: Net loss attributable to noncontrolling interest and redeemable noncontrolling interest (28,924) (21,534) (19,052)
Net loss attributable to Class A and Class B common stockholders (164,445) (157,553) (304,414)
Less: deemed dividend to noncontrolling interest 0 0 (2,454)
Net loss available to Class A and Class B common stockholders $ (164,445) $ (157,553) $ (306,868)
Net loss per share attributable to Class A and Class B common stockholders, basic (in dollars per share) $ (0.95) $ (1.14) $ (2.67)
Net loss per share attributable to Class A and Class B common stockholders, diluted (in dollars per share) $ (0.95) $ (1.14) $ (2.67)
Weighted average shares used to compute net loss per share available to Class A and Class B common stockholders, basic (in shares) 173,438 138,722 115,118
Weighted average shares used to compute net loss per share available to Class A and Class B common stockholders, diluted (in shares) 173,438 138,722 115,118
Product      
Total revenue $ 663,512 $ 518,633 $ 557,336
Cost of revenue 471,654 332,724 435,479
Installation      
Total revenue 96,059 101,887 60,826
Cost of revenue 110,214 116,542 76,487
Service      
Total revenue 144,184 109,633 95,786
Cost of revenue 148,286 132,329 100,238
Electricity      
Total revenue 68,421 64,094 71,229
Cost of revenue $ 44,441 $ 46,859 $ 75,386