XML 28 R4.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Operations (Unaudited) - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Revenues $ 794,247 $ 785,177 $ 632,648
Cost of revenue 628,454 687,590 526,898
Gross profit 165,793 97,587 105,750
Operating expenses:      
Research and development 83,577 104,168 89,135
Sales and marketing 55,916 73,573 62,807
General and administrative 107,085 152,650 118,817
Total operating expenses 246,578 330,391 270,759
Loss from operations (80,785) (232,804) (165,009)
Interest income 1,475 5,661 4,322
Interest expense (76,276) (87,480) (97,021)
Interest expense - related parties (2,513) (6,756) (8,893)
Other income (expense), net (8,318) 706 (999)
Loss on extinguishment of debt (12,878) 0 0
Gain (loss) on revaluation of embedded derivatives 464 (2,160) (22,139)
Loss before income taxes (178,831) (322,833) (289,739)
Income tax provision 256 633 1,537
Net loss (179,087) (323,466) (291,276)
Less: Net loss attributable to noncontrolling interests and redeemable noncontrolling interests (21,534) (19,052) (17,736)
Net loss attributable to Class A and Class B common stockholders (157,553) (304,414) (273,540)
Less: deemed dividend to noncontrolling interest 0 (2,454) 0
Net loss available to Class A and Class B common stockholders $ (157,553) $ (306,868) $ (273,540)
Net loss per share attributable to Class A and Class B common stockholders, basic and diluted (in dollars per share) $ (1.14) $ (2.67) $ (5.14)
Weighted average shares used to compute net loss per share available to Class A and Class B common stockholders, basic and diluted (in shares) 138,722 115,118 53,268
Product      
Revenues $ 518,633 $ 557,336 $ 400,638
Cost of revenue 332,724 435,479 281,275
Installation      
Revenues 101,887 60,826 68,195
Cost of revenue 116,542 76,487 95,306
Service      
Revenues 109,633 95,786 83,267
Cost of revenue 132,329 100,238 100,689
Electricity      
Revenues 64,094 71,229 80,548
Cost of revenue $ 46,859 $ 75,386 $ 49,628