XML 67 R120.htm IDEA: XBRL DOCUMENT v3.20.1
Unaudited Quarterly Supplemental Financial Information - Balance Sheets (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Jun. 30, 2019
Jun. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Jan. 01, 2019
Current assets:                                
Cash and cash equivalents $ 202,823 [1] $ 226,499 $ 308,009 $ 320,414 $ 220,728 [1] $ 395,516 $ 91,596 $ 88,227 $ 308,009 $ 91,596 $ 226,499 $ 395,516 $ 202,823 [1] $ 220,728 [1]   $ 220,728
Restricted cash, current 30,804 [1] 14,486 23,706 18,419 28,657 [1] 17,931 25,860 22,998 23,706 25,860 14,486 17,931 30,804 [1] 28,657 [1]   28,657
Short-term investments 0       104,350 4,494 15,703 20,138   15,703   4,494 0 104,350   104,350
Accounts receivable 37,828 [1] 26,353 40,038 85,647 88,784 [1] 45,261 40,442 61,996 40,038 40,442 26,353 45,261 37,828 [1] 88,784 [1]   89,779
Inventories 109,606 132,607 106,889 119,871 135,265 137,778 129,284 94,032 106,889 129,284 132,607 137,778 109,606 135,265   135,265
Deferred cost of revenue 58,470 41,042 80,307 52,911 43,809 45,183 35,654 43,415 80,307 35,654 41,042 45,183 58,470 43,809   43,809
Customer financing receivable 5,108 [1] 5,919 5,817 5,717 5,594 [1] 5,496 5,398 5,303 5,817 5,398 5,919 5,496 5,108 [1] 5,594 [1]   5,594
Prepaid expense and other current assets 28,068 [1] 28,642 26,483 30,073 36,747 [1] 36,499 24,820 28,944 26,483 24,820 28,642 36,499 28,068 [1] 36,747 [1]   36,887
Total current assets 472,707 475,548 591,249 633,052 663,934 688,158 368,757 365,053 591,249 368,757 475,548 688,158 472,707 663,934   665,069
Property, plant and equipment, net 607,059 [1] 627,385 641,259 711,631 716,751 [1] 698,123 697,344 702,228 641,259 697,344 627,385 698,123 607,059 [1] 716,751 [1]   716,751
Customer financing receivable, non-current 50,747 [1] 62,615 64,146 65,620 67,082 [1] 68,535 69,963 71,337 64,146 69,963 62,615 68,535 50,747 [1] 67,082 [1]   67,082
Restricted cash, non-current 143,761 [1] 116,890 39,351 31,101 31,100 [1] 30,779 32,416 32,367 39,351 32,416 116,890 30,779 143,761 [1] 31,100 [1]   31,100
Deferred cost of revenue, non-current 6,665 3,724 3,846 1,933 45 45 60 53 3,846 60 3,724 45 6,665 45   45
Other long-term assets 41,652 [1] 70,951 72,836 45,447 42,882 [1] 44,397 45,241 43,179 72,836 45,241 70,951 44,397 41,652 [1] 42,882 [1]   45,354
Total assets 1,322,591 1,357,113 1,412,687 1,488,784 1,521,794 1,530,037 1,213,781 1,214,217 1,412,687 1,213,781 1,357,113 1,530,037 1,322,591 1,521,794   1,525,401
Current liabilities:                                
Accounts payable 55,579 [1] 81,060 61,427 64,425 66,889 [1] 59,818 53,798 47,755 61,427 53,798 81,060 59,818 55,579 [1] 66,889 [1]   66,889
Accrued warranty 10,333 12,862 10,240 14,237 17,968 17,312 14,287 16,394 10,240 14,287 12,862 17,312 10,333 17,968   16,936
Accrued other current liabilities 70,284 [1] 79,616 105,393 64,073 66,838 [1] 63,986 49,932 53,654 105,393 49,932 79,616 63,986 70,284 [1] 66,838 [1]   66,838
Deferred revenue and customer deposits [1] 89,192       67,632               89,192 67,632   72,285
Sales related liabilities 416 10,420 10,027 8,819 1,421 7,780 6,792 6,556 10,027 6,792 10,420 7,780 416 1,421    
Financing obligations 10,993 77,551 118,738 75,069 8,128 72,738 66,054 71,486 118,738 66,054 77,551 72,738 10,993 8,128   8,128
Current portion of recourse debt 304,627 15,678 15,681 15,683 8,686 1,686 10,351 6,017 15,681 10,351 15,678 1,686 304,627 8,686   8,686
Current portion of non-recourse debt 8,273 [1] 7,983 7,654 19,486 18,962 [1] 18,499 18,025 17,583 7,654 18,025 7,983 18,499 8,273 [1] 18,962 [1]   18,962
Current portion of recourse debt from related parties 20,801       0               20,801 0    
Current portion of non-recourse debt from related parties 3,882 [1] 3,500 2,889 2,341 2,200 [1] 1,737 1,630 1,525 2,889 1,630 3,500 1,737 3,882 [1] 2,200 [1]   2,200
Total current liabilities 573,964 288,670 332,049 264,133 257,303 243,556 220,869 220,970 332,049 220,869 288,670 243,556 573,964 257,303   260,924
Preferred stock warrant liabilities             2,369 6,554   2,369            
Derivative liabilities 17,551 [1] 20,284 18,175 15,722 14,143 [1] 13,658 192,416 168,071 18,175 192,416 20,284 13,658 17,551 [1] 14,143 [1]   14,143
Deferred revenue and customer deposits, net of current portion 125,529 [1] 122,276 110,750 103,751 87,308 [1] 89,204 88,630 89,501 110,750 88,630 122,276 89,204 125,529 [1] 87,308 [1]   105,290
Managed services liabilities 446,200       385,600               446,200 385,600    
Financing obligations, non-current 446,165 397,272 400,078 394,037 385,650 375,254 356,727 321,682 400,078 356,727 397,272 375,254 446,165 385,650   385,650
Long-term portion of recourse debt 75,962 359,959 362,424 357,876 360,339 358,363 524,934 517,483 362,424 524,934 359,959 358,363 75,962 360,339   360,339
Long-term portion of non-recourse debt 192,180 [1] 217,334 219,182 284,541 289,241 [1] 293,593 298,048 302,345 219,182 298,048 217,334 293,593 192,180 [1] 289,241 [1]   289,241
Long-term portion of recourse debt from related parties 0 27,734 27,734 27,734 27,734 32,168 72,087 70,202 27,734 72,087 27,734 32,168 0 27,734   27,734
Long-term portion of non-recourse debt from related parties 31,087 [1] 31,781 32,643 33,417 34,119 [1] 34,765 35,054 35,312 32,643 35,054 31,781 34,765 31,087 [1] 34,119 [1]   34,119
Other long-term liabilities 28,013 28,852 29,979 28,970 26,196 18,437 21,564 21,753 29,979 21,564 28,852 18,437 28,013 26,196   26,196
Total liabilities 1,490,451 1,494,162 1,533,014 1,510,181 1,482,033 1,458,998 1,812,698 1,753,873 1,533,014 1,812,698 1,494,162 1,458,998 1,490,451 1,482,033   1,503,636
Redeemable noncontrolling interest 443 557 505 58,802 57,261 56,446 54,940 58,176 505 54,940 557 56,446 443 57,261   57,261
Convertible redeemable preferred stock             1,465,841 1,465,841   1,465,841            
Stockholders’ deficit:                                
Common stock: $0.0001 par value; Class A shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 84,549,511 shares and 20,868,286 shares issued and outstanding at December 31, 2019 and 2018, respectively; Class B shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 36,486,778 shares and 88,552,897 shares issued and outstanding at December 31, 2019 and 2018, respectively. 12 12 11 11 11 11 1 1 11 1 12 11 12 11   11
Additional paid-in capital (2,686,759) (2,647,874) (2,604,034) (2,552,011) (2,481,352) (2,388,116) (166,805) (158,605) (2,604,034) (166,805) (2,647,874) (2,388,116) (2,686,759) (2,481,352)   (2,481,352)
Accumulated other comprehensive income 19 (147) (148) 5 131 272 217 117 (148) 217 (147) 272 19 131   131
Accumulated deficit (2,946,384) (2,880,551) (2,828,801) (2,746,890) (2,624,104) (2,508,655) (2,428,154) (2,372,155) (2,828,801) (2,428,154) (2,880,551) (2,508,655) (2,946,384) (2,624,104)   (2,642,100)
Total stockholders’ deficit (259,594) (232,812) (224,904) (194,863) (142,610) (120,256) (2,261,131) (2,213,432) (224,904) (2,261,131) (232,812) (120,256) (259,594) (142,610)   (160,606)
Noncontrolling interest 91,291 95,206 104,072 114,664 125,110 134,849 141,433 149,759 104,072 141,433 95,206 134,849 91,291 125,110   125,110
Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest 1,322,591 1,357,113 1,412,687 1,488,784 1,521,794 1,530,037 1,213,781 1,214,217 1,412,687 1,213,781 1,357,113 1,530,037 1,322,591 1,521,794   $ 1,525,401
Gain (loss) on revaluation of warrant liabilities and embedded derivatives (540) (540) (540) (540) 192 900 (19,197) (4,034) (1,080) (23,231) (1,620) (22,331) (2,160) (22,139) $ (15,284)  
Previously Reported                                
Current assets:                                
Cash and cash equivalents   226,499 308,009 320,414 220,728 395,516 91,596 88,227 308,009 91,596 226,499 395,516   220,728    
Restricted cash, current   14,486 23,706 18,419 28,657 17,931 25,860 22,998 23,706 25,860 14,486 17,931   28,657    
Short-term investments         104,350 4,494 15,703 20,138   15,703   4,494   104,350    
Accounts receivable   26,737 38,296 84,070 84,887 41,485 36,804 58,520 38,296 36,804 26,737 41,485   84,887    
Inventories   140,372 104,934 116,544 132,476 134,725 136,433 97,079 104,934 136,433 140,372 134,725   132,476    
Deferred cost of revenue   50,707 86,434 66,316 62,147 66,009 55,476 81,229 86,434 55,476 50,707 66,009   62,147    
Customer financing receivable   5,919 5,817 5,717 5,594 5,496 5,398 5,303 5,817 5,398 5,919 5,496   5,594    
Prepaid expense and other current assets   25,639 25,088 28,362 33,742 32,876 23,003 27,836 25,088 23,003 25,639 32,876   33,742    
Total current assets   490,359 592,284 639,842 672,581 698,532 390,273 401,330 592,284 390,273 490,359 698,532   672,581    
Property, plant and equipment, net   384,377 406,610 475,385 481,414 471,074 477,765 487,169 406,610 477,765 384,377 471,074   481,414    
Customer financing receivable, non-current   62,615 64,146 65,620 67,082 68,535 69,963 71,337 64,146 69,963 62,615 68,535   67,082    
Restricted cash, non-current   116,890 39,351 31,101 31,100 30,779 32,416 32,367 39,351 32,416 116,890 30,779   31,100    
Deferred cost of revenue, non-current   57,286 59,213 72,516 102,699 139,217 148,934 155,658 59,213 148,934 57,286 139,217   102,699    
Other long-term assets   58,400 60,975 34,386 34,792 37,008 38,386 36,773 60,975 38,386 58,400 37,008   34,792    
Total assets   1,169,927 1,222,579 1,318,850 1,389,668 1,445,145 1,157,737 1,184,634 1,222,579 1,157,737 1,169,927 1,445,145   1,389,668    
Current liabilities:                                
Accounts payable   81,060 61,427 64,425 66,889 59,818 53,798 47,755 61,427 53,798 81,060 59,818   66,889    
Accrued warranty   15,295 12,393 16,736 19,236 17,975 14,928 16,723 12,393 14,928 15,295 17,975   19,236    
Accrued other current liabilities   82,150 109,722 67,966 69,535 66,873 54,832 57,683 109,722 54,832 82,150 66,873   69,535    
Deferred revenue and customer deposits         94,158                 94,158    
Sales related liabilities   0 0 0   0 0 0 0 0 0 0        
Financing obligations   88,060 129,321 89,557 0 105,265 94,582 99,449 129,321 94,582 88,060 105,265   0    
Current portion of recourse debt   15,678 15,681 15,683 8,686 1,686 10,351 6,017 15,681 10,351 15,678 1,686   8,686    
Current portion of non-recourse debt   7,983 7,654 19,486 18,962 18,499 18,025 17,583 7,654 18,025 7,983 18,499   18,962    
Current portion of non-recourse debt from related parties   3,500 2,889 2,341 2,200 1,737 1,630 1,525 2,889 1,630 3,500 1,737   2,200    
Total current liabilities   293,726 339,087 276,194 279,666 271,853 248,146 246,735 339,087 248,146 293,726 271,853   279,666    
Preferred stock warrant liabilities             2,369 6,554   2,369            
Derivative liabilities   14,648 13,079 11,166 10,128 9,441 188,199 163,854 13,079 188,199 14,648 9,441   10,128    
Deferred revenue and customer deposits, net of current portion   179,712 181,221 201,863 241,794 290,481 301,550 306,153 181,221 301,550 179,712 290,481   241,794    
Financing obligations, non-current   0 0 0 0 0 0 0 0 0 0 0   0    
Long-term portion of recourse debt   359,959 362,424 357,876 360,339 358,363 524,934 517,483 362,424 524,934 359,959 358,363   360,339    
Long-term portion of non-recourse debt   217,334 219,182 284,541 289,241 293,593 298,048 302,345 219,182 298,048 217,334 293,593   289,241    
Long-term portion of recourse debt from related parties   27,734 27,734 27,734 27,734 32,168 72,087 70,202 27,734 72,087 27,734 32,168   27,734    
Long-term portion of non-recourse debt from related parties   31,781 32,643 33,417 34,119 34,765 35,054 35,312 32,643 35,054 31,781 34,765   34,119    
Other long-term liabilities   56,117 58,417 58,032 55,937 48,161 52,153 51,860 58,417 52,153 56,117 48,161   55,937    
Total liabilities   1,181,011 1,233,787 1,250,823 1,298,958 1,338,825 1,722,540 1,700,498 1,233,787 1,722,540 1,181,011 1,338,825   1,298,958    
Redeemable noncontrolling interest   557 505 58,802 57,261 56,446 54,940 58,176 505 54,940 557 56,446   57,261    
Convertible redeemable preferred stock             1,465,841 1,465,841   1,465,841            
Stockholders’ deficit:                                
Common stock: $0.0001 par value; Class A shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 84,549,511 shares and 20,868,286 shares issued and outstanding at December 31, 2019 and 2018, respectively; Class B shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 36,486,778 shares and 88,552,897 shares issued and outstanding at December 31, 2019 and 2018, respectively.   12 11 11 11 11 1 1 11 1 12 11   11    
Additional paid-in capital   (2,647,118) (2,603,279) (2,551,256) (2,480,597) (2,387,361) (166,805) (158,605) (2,603,279) (166,805) (2,647,118) (2,387,361)   (2,480,597)    
Accumulated other comprehensive income   (147) (148) 5 131 272 217 117 (148) 217 (147) 272   131    
Accumulated deficit   (2,753,830) (2,718,927) (2,656,711) (2,572,400) (2,472,619) (2,394,040) (2,348,363) (2,718,927) (2,394,040) (2,753,830) (2,472,619)   (2,572,400)    
Total stockholders’ deficit   (106,847) (115,785) (105,439) (91,661) (84,975) (2,227,017) (2,189,640) (115,785) (2,227,017) (106,847) (84,975)   (91,661)    
Noncontrolling interest   95,206 104,072 114,664 125,110 134,849 141,433 149,759 104,072 141,433 95,206 134,849   125,110    
Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest   1,169,927 1,222,579 1,318,850 1,389,668 1,445,145 1,157,737 1,184,634 1,222,579 1,157,737 1,169,927 1,445,145   1,389,668    
Gain (loss) on revaluation of warrant liabilities and embedded derivatives   0 0 0 (14) 1,655 (19,197) (4,034) 0 (23,231) 0 (21,576)   (21,590) (14,995)  
Restatement Adjustment                                
Current assets:                                
Cash and cash equivalents   0 0 0 0 0 0 0 0 0 0 0   0    
Restricted cash, current   0 0 0 0 0 0 0 0 0 0 0   0    
Short-term investments         0 0 0 0   0   0   0    
Accounts receivable   4,216 4,172 3,995 3,897 3,776 3,638 3,476 4,172 3,638 4,216 3,776   3,897    
Inventories   (7,765) 1,955 3,327 2,789 3,053 (7,149) (3,047) 1,955 (7,149) (7,765) 3,053   2,789    
Deferred cost of revenue   (9,665) (6,127) (13,405) (18,338) (20,826) (19,822) (37,814) (6,127) (19,822) (9,665) (20,826)   (18,338)    
Customer financing receivable   0 0 0 0 0 0 0 0 0 0 0   0    
Prepaid expense and other current assets   2,830 1,252 1,582 3,005 3,623 1,817 1,108 1,252 1,817 2,830 3,623   3,005    
Total current assets   (10,384) 1,252 (4,501) (8,647) (10,374) (21,516) (36,277) 1,252 (21,516) (10,384) (10,374)   (8,647)    
Property, plant and equipment, net   243,008 234,649 236,246 235,337 227,049 219,579 215,059 234,649 219,579 243,008 227,049   235,337    
Customer financing receivable, non-current   0 0 0 0 0 0 0 0 0 0 0   0    
Restricted cash, non-current   0 0 0 0 0 0 0 0 0 0 0   0    
Deferred cost of revenue, non-current   (53,562) (55,367) (70,583) (102,654) (139,172) (148,874) (155,605) (55,367) (148,874) (53,562) (139,172)   (102,654)    
Other long-term assets   9,319 9,118 8,486 8,090 7,389 6,855 6,406 9,118 6,855 9,319 7,389   8,090    
Total assets   188,381 189,652 169,648 132,126 84,892 56,044 29,583 189,652 56,044 188,381 84,892   132,126    
Current liabilities:                                
Accounts payable   0 0 0 0 0 0 0 0 0 0 0   0    
Accrued warranty   (1,159) (1,154) (1,219) (1,268) (663) (641) (329) (1,154) (641) (1,159) (663)   (1,268)    
Accrued other current liabilities   (2,534) (4,329) (3,893) (2,697) (2,887) (4,900) (4,029) (4,329) (4,900) (2,534) (2,887)   (2,697)    
Deferred revenue and customer deposits         (26,526)                 (26,526)    
Sales related liabilities   10,420 10,027 8,819   7,780 6,792 6,556 10,027 6,792 10,420 7,780        
Financing obligations   (13,856) (13,847) (16,153) 8,128 (32,527) (28,528) (27,963) (13,847) (28,528) (13,856) (32,527)   8,128    
Current portion of recourse debt   0 0 0 0 0 0 0 0 0 0 0   0    
Current portion of non-recourse debt   0 0 0 0 0 0 0 0 0 0 0   0    
Current portion of non-recourse debt from related parties   0 0 0 0 0 0 0 0 0 0 0   0    
Total current liabilities   (7,129) (9,303) (12,446) (22,363) (28,297) (27,277) (25,765) (9,303) (27,277) (7,129) (28,297)   (22,363)    
Preferred stock warrant liabilities             0 0   0            
Derivative liabilities   5,636 5,096 4,556 4,015 4,217 4,217 4,217 5,096 4,217 5,636 4,217   4,015    
Deferred revenue and customer deposits, net of current portion   (92,390) (95,840) (115,432) (154,486) (201,277) (212,920) (216,652) (95,840) (212,920) (92,390) (201,277)   (154,486)    
Financing obligations, non-current   397,272 400,078 394,037 385,650 375,254 356,727 321,682 400,078 356,727 397,272 375,254   385,650    
Long-term portion of recourse debt   0 0 0 0 0 0 0 0 0 0 0   0    
Long-term portion of non-recourse debt   0 0 0 0 0 0 0 0 0 0 0   0    
Long-term portion of recourse debt from related parties   0 0 0 0 0 0 0 0 0 0 0   0    
Long-term portion of non-recourse debt from related parties   0 0 0 0 0 0 0 0 0 0 0   0    
Other long-term liabilities   (27,264) (28,438) (29,062) (29,741) (29,724) (30,589) (30,107) (28,438) (30,589) (27,264) (29,724)   (29,741)    
Total liabilities   276,125 271,593 241,653 183,075 120,173 90,158 53,375 271,593 90,158 276,125 120,173   183,075    
Redeemable noncontrolling interest   0 0 0 0 0 0 0 0 0 0 0   0    
Convertible redeemable preferred stock             0 0   0            
Stockholders’ deficit:                                
Common stock: $0.0001 par value; Class A shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 84,549,511 shares and 20,868,286 shares issued and outstanding at December 31, 2019 and 2018, respectively; Class B shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 36,486,778 shares and 88,552,897 shares issued and outstanding at December 31, 2019 and 2018, respectively.   0 0 0 0 0 0 0 0 0 0 0   0    
Additional paid-in capital   (756) (755) (755) (755) (755) 0 0 (755) 0 (756) (755)   (755)    
Accumulated other comprehensive income   0 0 0 0 0 0 0 0 0 0 0   0    
Accumulated deficit   (88,500) (82,696) (72,760) (51,704) (36,036) (34,114) (23,792) (82,696) (34,114) (88,500) (36,036)   (51,704)    
Total stockholders’ deficit   (87,744) (81,941) (72,005) (50,949) (35,281) (34,114) (23,792) (81,941) (34,114) (87,744) (35,281)   (50,949)    
Noncontrolling interest   0 0 0 0 0 0 0 0 0 0 0   0    
Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest   188,381 189,652 169,648 132,126 84,892 56,044 29,583 189,652 56,044 188,381 84,892   132,126    
Gain (loss) on revaluation of warrant liabilities and embedded derivatives   (540) (540) (540) 206 (755) 0 0 (1,080) 0 (1,620) (755)   (549) (289)  
Calculated under Revenue Guidance in Effect before Topic 606                                
Current assets:                                
Cash and cash equivalents 202,823 226,499 308,009 320,414 220,728       308,009   226,499   202,823 220,728    
Restricted cash, current 30,804 14,486 23,706 18,419 28,657       23,706   14,486   30,804 28,657    
Short-term investments         104,350                 104,350    
Accounts receivable 47,442 30,953 42,468 88,065 88,784       42,468   30,953   47,442 88,784    
Inventories 109,606 132,607 106,889 119,871 135,265       106,889   132,607   109,606 135,265    
Deferred cost of revenue 58,470 41,042 80,307 52,911 43,809       80,307   41,042   58,470 43,809    
Customer financing receivable 5,108 5,919 5,817 5,717 5,594       5,817   5,919   5,108 5,594    
Prepaid expense and other current assets 27,860 28,469 26,340 29,944 36,747       26,340   28,469   27,860 36,747    
Total current assets 482,113 479,975 593,536 635,341 663,934       593,536   479,975   482,113 663,934    
Property, plant and equipment, net 607,059 627,385 641,259 711,631 716,751       641,259   627,385   607,059 716,751    
Customer financing receivable, non-current 50,747 62,615 64,146 65,620 67,082       64,146   62,615   50,747 67,082    
Restricted cash, non-current 143,761 116,890 39,351 31,101 31,100       39,351   116,890   143,761 31,100    
Deferred cost of revenue, non-current 6,665 3,724 3,846 1,933 45       3,846   3,724   6,665 45    
Other long-term assets 37,849 67,719 70,093 42,872 42,882       70,093   67,719   37,849 42,882    
Total assets 1,328,194 1,358,308 1,412,231 1,488,498 1,521,794       1,412,231   1,358,308   1,328,194 1,521,794    
Current liabilities:                                
Accounts payable 55,579 81,060 61,427 64,425 66,889       61,427   81,060   55,579 66,889    
Accrued warranty 11,952 14,136 11,239 15,517 17,968       11,239   14,136   11,952 17,968    
Accrued other current liabilities 70,284 79,616 105,393 64,073 66,838       105,393   79,616   70,284 66,838    
Deferred revenue and customer deposits [1] 90,075       67,632               90,075 67,632    
Sales related liabilities   10,420 10,027 8,819         10,027   10,420          
Financing obligations 10,993 74,204 115,474 73,404 8,128       115,474   74,204   10,993 8,128    
Current portion of recourse debt 304,627 15,678 15,681 15,683 8,686       15,681   15,678   304,627 8,686    
Current portion of non-recourse debt 8,273 7,983 7,654 19,486 18,962       7,654   7,983   8,273 18,962    
Current portion of recourse debt from related parties 20,801                       20,801      
Current portion of non-recourse debt from related parties 3,882 3,500 2,889 2,341 2,200       2,889   3,500   3,882 2,200    
Total current liabilities 576,466 286,597 329,784 263,748 257,303       329,784   286,597   576,466 257,303    
Derivative liabilities 17,551 20,284 18,175 15,722 14,143       18,175   20,284   17,551 14,143    
Deferred revenue and customer deposits, net of current portion 84,594 87,322 85,381 86,431 87,308       85,381   87,322   84,594 87,308    
Financing obligations, non-current 446,165 397,272 400,078 394,037 385,650       400,078   397,272   446,165 385,650    
Long-term portion of recourse debt 75,962 359,959 362,424 357,876 360,339       362,424   359,959   75,962 360,339    
Long-term portion of non-recourse debt 192,180 217,334 219,182 284,541 289,241       219,182   217,334   192,180 289,241    
Long-term portion of recourse debt from related parties   27,734 27,734 27,734 27,734       27,734   27,734     27,734    
Long-term portion of non-recourse debt from related parties 31,087 31,781 32,643 33,417 34,119       32,643   31,781   31,087 34,119    
Other long-term liabilities 28,013 28,853 29,979 28,970 26,196       29,979   28,853   28,013 26,196    
Total liabilities 1,452,018 1,457,136 1,505,380 1,492,476 1,482,033       1,505,380   1,457,136   1,452,018 1,482,033    
Redeemable noncontrolling interest   557 505 58,802 57,261       505   557     57,261    
Stockholders’ deficit:                                
Common stock: $0.0001 par value; Class A shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 84,549,511 shares and 20,868,286 shares issued and outstanding at December 31, 2019 and 2018, respectively; Class B shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 36,486,778 shares and 88,552,897 shares issued and outstanding at December 31, 2019 and 2018, respectively. 12 12 11 11 11       11   12   12 11    
Additional paid-in capital (2,686,759) (2,647,874) (2,604,034) (2,552,011) (2,481,352)       (2,604,034)   (2,647,874)   (2,686,759) (2,481,352)    
Accumulated other comprehensive income 19 (147) (148) 5 131       (148)   (147)   19 131    
Accumulated deficit (2,902,348) (2,842,330) (2,801,623) (2,729,471) (2,624,104)       (2,801,623)   (2,842,330)   (2,902,348) (2,624,104)    
Total stockholders’ deficit (215,558) (194,591) (197,726) (177,444) (142,610)       (197,726)   (194,591)   (215,558) (142,610)    
Noncontrolling interest 91,291 95,206 104,072 114,664 125,110       104,072   95,206   91,291 125,110    
Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest $ 1,328,194 1,358,308 1,412,231 1,488,498 1,521,794       1,412,231   1,358,308   1,328,194 1,521,794    
Gain (loss) on revaluation of warrant liabilities and embedded derivatives   (540) (540) (540)         (1,080)   (1,620)   $ (2,160)      
Difference between Revenue Guidance in Effect before and after Topic 606                                
Current assets:                                
Cash and cash equivalents   0 0 0         0   0          
Restricted cash, current   0 0 0         0   0          
Accounts receivable   (4,600) (2,430) (2,418)         (2,430)   (4,600)          
Inventories   0 0 0         0   0          
Deferred cost of revenue   0 0 0         0   0          
Customer financing receivable   0 0 0         0   0          
Prepaid expense and other current assets   173 143 129         143   173          
Total current assets   (4,427) (2,287) (2,289)         (2,287)   (4,427)          
Property, plant and equipment, net   0 0 0         0   0          
Customer financing receivable, non-current   0 0 0         0   0          
Restricted cash, non-current   0 0 0         0   0          
Deferred cost of revenue, non-current   0 0 0         0   0          
Other long-term assets   3,232 2,743 2,575         2,743   3,232          
Total assets   (1,195) 456 286         456   (1,195)          
Current liabilities:                                
Accounts payable   0 0 0         0   0          
Accrued warranty   (1,274) (999) (1,280)         (999)   (1,274)          
Accrued other current liabilities   0 0 0         0   0          
Sales related liabilities   0 0 0         0   0          
Financing obligations   3,347 3,264 1,665         3,264   3,347          
Current portion of recourse debt   0 0 0         0   0          
Current portion of non-recourse debt   0 0 0         0   0          
Current portion of non-recourse debt from related parties   0 0 0         0   0          
Total current liabilities   2,073 2,265 385         2,265   2,073          
Derivative liabilities   0 0 0         0   0          
Deferred revenue and customer deposits, net of current portion   34,954 25,369 17,320         25,369   34,954          
Financing obligations, non-current   0 0 0         0   0          
Long-term portion of recourse debt   0 0 0         0   0          
Long-term portion of non-recourse debt   0 0 0         0   0          
Long-term portion of recourse debt from related parties   0 0 0         0   0          
Long-term portion of non-recourse debt from related parties   0 0 0         0   0          
Other long-term liabilities   (1) 0 0         0   (1)          
Total liabilities   37,026 27,634 17,705         27,634   37,026          
Redeemable noncontrolling interest   0 0 0         0   0          
Stockholders’ deficit:                                
Common stock: $0.0001 par value; Class A shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 84,549,511 shares and 20,868,286 shares issued and outstanding at December 31, 2019 and 2018, respectively; Class B shares, 600,000,000 shares authorized at both December 31, 2019 and 2018, and 36,486,778 shares and 88,552,897 shares issued and outstanding at December 31, 2019 and 2018, respectively.   0 0 0         0   0          
Additional paid-in capital   0 0 0         0   0          
Accumulated other comprehensive income   0 0 0         0   0          
Accumulated deficit   (38,221) (27,178) (17,419)         (27,178)   (38,221)          
Total stockholders’ deficit   (38,221) (27,178) (17,419)         (27,178)   (38,221)          
Noncontrolling interest   0 0 0         0   0          
Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest   (1,195) 456 286         456   (1,195)          
Gain (loss) on revaluation of warrant liabilities and embedded derivatives   0 0 0         0   0          
Capitalized Stock-Based Compensation | Restatement Adjustment                                
Current assets:                                
Inventories   3,702 1,955 3,827 8,134 7,193 870 348 1,955 870 3,702 7,193   8,134    
Deferred cost of revenue   800 3,700 2,100 2,216 3,000   300 3,700   800 3,000   2,216    
Property, plant and equipment, net   3,700 3,700 3,600 3,221 2,400 1,000 900 3,700 1,000 3,700 2,400   3,221    
Immaterial Misstatements | Restatement Adjustment                                
Current assets:                                
Deferred cost of revenue         900                 900    
Deferred cost of revenue, current and non-current   (3,100) (2,500) (1,700)         (2,500)   (3,100)          
Transfer Of Ownership | Restatement Adjustment                                
Current assets:                                
Property, plant and equipment, net   239,300 230,900 232,600 232,116 224,600 218,600 214,100 230,900 218,600 239,300 224,600   232,116    
Capitalized Stock-Based Compensation, Managed Services Program | Restatement Adjustment                                
Current assets:                                
Inventories   (11,466)   (500)   (4,140) (8,018) (3,394)   (8,018) (11,466) (4,140)        
Reclassification Of Lease Arrangements | Restatement Adjustment                                
Current assets:                                
Deferred cost of revenue   (7,400) (7,400) (13,900) (19,636) (23,800) (20,100) (38,200) (7,400) (20,100) (7,400) (23,800)   (19,636)    
Deferred cost of revenue, non-current   (53,600) (55,400) (70,600) (102,654) 139,200 (148,900) 155,600 (55,400) (148,900) (53,600) 139,200   (102,654)    
Overhead Stock-Based Compensation | Restatement Adjustment                                
Current assets:                                
Deferred cost of revenue             300     300            
Change In Policy | Restatement Adjustment                                
Current liabilities:                                
Accrued warranty   100 200 400 523 300 300   200 300 100 300   523    
Grid Pricing Escalation | Restatement Adjustment                                
Current liabilities:                                
Accrued warranty   1,100 900 800 745 400 $ 400 $ 300 900 $ 400 1,100 400   745    
Stockholders’ deficit:                                
Gain (loss) on revaluation of warrant liabilities and embedded derivatives   540 $ 540 $ 540 (205)       $ 1,081   1,621     (205) $ 288  
Valuation Adjustment | Restatement Adjustment                                
Stockholders’ deficit:                                
Additional paid-in capital   $ 755     $ (755) $ (755)         $ 755 $ (755)   $ (755)    
[1] We have variable interest entities which represent a portion of the consolidated balances are recorded within these financial statement line items in the Consolidated Balance Sheets (see Note 13, Power Purchase Agreement Programs).