XML 20 R5.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Operations - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Total revenue $ 1,199,125 $ 972,176 $ 794,247
Cost of revenue 1,050,837 774,595 628,454
Gross profit 148,288 197,581 165,793
Operating expenses:      
Research and development 150,606 103,396 83,577
Sales and marketing 90,934 86,499 55,916
General and administrative 167,740 122,188 107,085
Total operating expenses 409,280 312,083 246,578
Loss from operations (260,992) (114,502) (80,785)
Interest income 3,887 262 1,475
Interest expense (53,493) (69,025) (76,276)
Interest expense - related parties 0 0 (2,513)
Loss on extinguishment of debt (8,955) 0 (12,878)
Other income (expense), net 4,998 (8,139) (8,318)
Gain (loss) on revaluation of embedded derivatives 566 (919) 464
Loss before income taxes (313,989) (192,323) (178,831)
Provision for income tax 1,097 1,046 256
Net loss (315,086) (193,369) (179,087)
Less: Net loss attributable to noncontrolling interest (13,378) (28,896) (21,513)
Net loss attributable to Class A and Class B common stockholders (301,708) (164,473) (157,574)
Less: Net loss attributable to redeemable noncontrolling interest (300) (28) (21)
Net loss before portion attributable to redeemable noncontrolling interest and noncontrolling interest $ (301,408) $ (164,445) $ (157,553)
Net loss per share attributable to Class A and Class B common stockholders, basic (in dollars per share) $ (1.62) $ (0.95) $ (1.14)
Net loss per share attributable to Class A and Class B common stockholders, diluted (in dollars per share) $ (1.62) $ (0.95) $ (1.14)
Weighted average shares used to compute net loss per share available to Class A and Class B common stockholders, basic (in shares) 185,907 173,438 138,722
Weighted average shares used to compute net loss per share available to Class A and Class B common stockholders, diluted (in shares) 185,907 173,438 138,722
Product      
Total revenue $ 880,664 $ 663,512 $ 518,633
Cost of revenue 616,178 471,654 332,724
Installation      
Total revenue 92,120 96,059 101,887
Cost of revenue 104,111 110,214 116,542
Service      
Total revenue 150,954 144,184 109,633
Cost of revenue 168,491 148,286 132,329
Electricity      
Total revenue 75,387 68,421 64,094
Cost of revenue $ 162,057 $ 44,441 $ 46,859