XML 127 R3.htm IDEA: XBRL DOCUMENT v3.20.1
Condensed Consolidated Statements of Operations - USD ($)
shares in Thousands, $ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Revenue $ 156,699 $ 147,001
Cost of revenue 136,768 145,437
Gross profit 19,931 1,564
Operating expenses:    
Research and development 23,279 28,859
Sales and marketing 13,949 20,373
General and administrative 29,098 39,074
Total operating expenses 66,326 88,306
Loss from operations (46,395) (86,742)
Interest income 819 1,885
Interest expense (20,754) (21,800)
Interest expense to related parties (1,366) (1,612)
Other income (expense), net (8) 265
Loss on extinguishment of debt (14,098) 0
Gain (loss) on revaluation of embedded derivatives 284 (540)
Loss before income taxes (81,518) (108,544)
Income tax provision 124 208
Net loss (81,642) (108,752)
Less: net loss attributable to noncontrolling interests and redeemable noncontrolling interests (5,693) (3,832)
Net loss available to Class A and Class B common stockholders $ (75,949) $ (104,920)
Net loss per share attributable to Class A and Class B common stockholders, basic and diluted (in dollars per share) $ (0.61) $ (0.94)
Weighted average shares of common stock, basic and diluted (in shares) 123,763 111,842
Product    
Revenue $ 99,559 $ 90,926
Cost of revenue 72,489 88,772
Installation    
Revenue 16,618 12,219
Cost of revenue 20,779 15,760
Service    
Revenue 25,147 23,467
Cost of revenue 30,970 27,921
Electricity    
Revenue 15,375 20,389
Cost of revenue $ 12,530 $ 12,984