XML 76 R60.htm IDEA: XBRL DOCUMENT v3.22.0.1
Restatement of Previously Issued Consolidated Financial Statements - (Narrative) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Jun. 30, 2020
Jun. 30, 2019
Sep. 30, 2020
Sep. 30, 2019
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Right of use assets related to operating leases, net $ 90,184 $ 71,789 $ 64,812 $ 63,266 $ 47,016 $ 39,679 $ 33,599 $ 71,789 $ 39,679 $ 90,184 $ 47,016 $ 117,016 $ 63,266  
Equipment related to power purchase agreements and fuel delivered to customers, net 71,891 68,428 68,402 67,769 67,248 68,982 70,928 68,428 68,982 71,891 67,248 75,807 67,769  
Operating lease liabilities 10,609 9,453 8,959 9,428 8,666 7,512 7,042 9,453 7,512 10,609 8,666 14,314 9,428  
Operating lease liabilities 74,422 58,410 52,165 50,937 36,599 30,631 25,657 58,410 30,631 74,422 36,599 99,624 50,937  
Finance obligations 31,349 28,794 26,209 24,667 20,469 12,455 11,028 28,794 12,455 31,349 20,469 32,717 24,667  
Finance obligations 140,662 131,653 121,322 119,422 99,669 76,916 54,864 131,653 76,916 140,662 99,669 148,836 119,422  
Other current liabilities 21,083 19,418 8,446 6,704 8,373 3,705 3,745 19,418 3,705 21,083 8,373 29,487 6,704  
Other liabilities 45,170 14,476 2,386 2,818 2,834 3,333 3,746 14,476 3,333 45,170 2,834 40,447 2,818  
Accounts receivable 113,505 45,782 24,734 25,768 24,737 26,844 32,307 45,782 26,844 113,505 24,737 43,041 25,768  
Accrued expenses 37,948 23,917 14,870 14,409 9,457 4,522 6,509 23,917 4,522 37,948 9,457 46,083 14,409  
Deferred revenue 29,511 24,848 22,684 23,170 22,213 24,126 25,366 24,848 24,126 29,511 22,213 32,944 23,170  
Convertible senior notes, net 105,088 142,889 113,063 110,431 107,945 66,844 65,025 142,889 66,844 105,088 107,945 85,640 110,431  
Additional paid-in capital 2,083,169 1,658,438 1,519,094 1,506,953 1,340,781 1,325,381 1,316,815 1,658,438 1,325,381 2,083,169 1,340,781 3,446,650 1,506,953  
Accumulated other comprehensive income 1,846 1,159 1,052 1,288 929 1,460 1,374 1,159 1,460 1,846 929 2,451 1,288  
Research and development 7,386 4,873 4,774 4,882 3,563 3,608 3,006 9,647 6,614 17,033 10,177 27,848 15,059 $ 12,750
Provision (benefit) for loss contracts related to service 135,632 68,010 50,522 83,861 54,892 51,324 29,250 118,532 80,574 254,164 135,466 376,179 219,327 200,219
Right of use assets related to finance leases, net 2,335 2,389 1,707 1,714 1,720 1,726 1,733 2,389 1,726 2,335 1,720 5,724 1,714  
Inventory 134,203 114,571 92,972 72,391 80,601 73,190 65,474 114,571 73,190 134,203 80,601 139,386 72,391  
Prepaid expenses and other current assets 26,731 31,436 28,500 21,192 12,804 14,001 10,296 31,436 14,001 26,731 12,804 44,324 21,192  
Goodwill 71,822 70,262 8,673 8,842 8,606 8,961 8,886 70,262 8,961 71,822 8,606 72,387 8,842  
Intangible assets, net 39,569 38,974 5,696 5,539 5,113 5,398 3,677 38,974 5,398 39,569 5,113 39,251 5,539  
Selling, general and administrative 17,210 21,644 11,109 9,973 10,395 13,613 9,221 32,753 22,834 49,963 33,229 79,348 43,202 37,685
Loss on extinguishment of debt   13,222     (518)   (518) 13,222 (518) 13,222 (518) 17,686 (518)  
Provision for Loss Contracts on Services             162              
Preferred stock dividends declared, deemed dividends and accretion of discount   13 13 1,241 544 13 13 26 26 26 570 26 1,812 52
Interest and other expense, net (17,551) (13,462) (11,846) (10,999) (8,273) (7,965) (8,454) (25,308) (16,419) (42,859) (24,692) (60,484) (35,691) (22,750)
Income tax benefit 6,644 17,371           17,371   24,015   30,845   9,295
Effect of exchange rate changes on cash     1       (35) (24) (48) (90) (119) 65 (59) (57)
Right of use assets obtained in exchange for new operating lease liabilities                       58,500 37,700  
Finance Lease, Liability                       5,396    
Recognition of right of use assets     340       2,000 6,836 11,689 25,857 29,903 55,651 52,924 41,679
Net cash provided by financing activities     4,470       37,086 182,219 79,866 590,183 151,395 1,515,529 326,974 120,077
Net cash used in operating activities     60,402       35,699 111,891 48,328 156,506 54,141 155,476 53,324 58,350
Repayments of finance obligations     (5,343)       (53,580) (11,129) (55,712) (19,038) (56,603) (27,212) (59,196) (30,531)
Revision of Lease Liability                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Right of use assets related to operating leases, net       112,700                 112,700  
Revision of Loss of Accrual Provision                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Other current liabilities 6,400                 6,400        
Other liabilities 18,100                 18,100        
Net cash used in operating activities                     1,400      
Revision of lease right of use assets                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Right of use assets related to operating leases, net (145,600)                 (145,600)        
Equipment related to power purchase agreements and fuel delivered to customers, net 535                 535        
Operating lease liabilities (22,100)                 (22,100)        
Operating lease liabilities (120,600)                 (120,600)        
Finance obligations 788                 788        
Finance obligations 1,000                 1,000        
Other current liabilities (2,600)                 (2,600)        
Recognition of right of use assets                     (48,700)      
Net cash provided by financing activities                   (404)        
Revision of Research and Development Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Research and development                         19,500 21,200
Provision (benefit) for loss contracts related to service                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 25,147 706 95 13 206 363 162 801 201 25,948 407 35,473 394 5,345
Sales of fuel cell systems, related infrastructure and equipment                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 69,428 33,888 13,974 47,091 25,183 23,329 2,312 47,862 25,641 117,290 50,824 171,404 97,915 85,205
Sales of fuel cell systems, related infrastructure and equipment | Revision of Research and Development Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service                         7,000  
Fuel delivered to customers                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 17,002 11,076 11,254 12,800 11,149 11,146 10,152 22,330 21,298 39,332 32,447 61,815 45,247 36,037
Fuel delivered to customers | Revision of Research and Development Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service                         8,900  
Services performed on fuel cell systems and related infrastructure                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 9,180 7,773 10,347 11,606 7,802 8,383 6,791 18,120 15,174 27,300 22,976 42,524 34,582 32,271
Provision for Loss Contracts on Services             303              
Power Purchase Agreements                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 14,744 14,504 14,771 12,301 10,814 8,829 9,833 29,275 18,662 44,019 29,476 $ 64,640 41,777 41,361
Series E Redeemable Convertible Preferred Stock                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Dividends, Preferred Stock                         1,800  
As previously Reported                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Equipment related to power purchase agreements and fuel delivered to customers, net 309,475 274,721 252,802 244,740 202,034 170,455 141,889 274,721 170,455 309,475 202,034   244,740  
Finance obligations 63,692 57,695 52,047 49,507 41,112 30,663 23,997 57,695 30,663 63,692 41,112   49,507  
Finance obligations 337,150 300,653 272,171 265,228 208,465 157,531 111,195 300,653 157,531 337,150 208,465   265,228  
Other current liabilities 17,280 21,692 10,423 8,543 10,238 3,017 2,271 21,692 3,017 17,280 10,238   8,543  
Other liabilities 27,068 11,756 13 13 13 13 17 11,756 13 27,068 13   13  
Accounts receivable 113,133 45,522 24,437 25,448 24,392 26,592 32,062 45,522 26,592 113,133 24,392   25,448  
Accrued expenses 32,031 23,320 14,273 14,213 9,457 4,522 6,509 23,320 4,522 32,031 9,457   14,213  
Deferred revenue 29,648 25,038 22,912 23,369 22,444 24,519 25,835 25,038 24,519 29,648 22,444   23,369  
Convertible senior notes, net 105,088 142,704 112,878 110,246 107,760 66,844 65,025 142,704 66,844 105,088 107,760   110,246  
Additional paid-in capital 2,083,199 1,658,532 1,519,257 1,507,116 1,340,859 1,325,459 1,316,893 1,658,532 1,325,459 2,083,199 1,340,859   1,507,116  
Accumulated other comprehensive income 1,958 1,271 1,164 1,400 929 1,460 1,374 1,271 1,460 1,958 929   1,400  
Research and development 11,964 9,757 10,412 9,341 8,028 8,933 7,373 20,169 16,306 32,133 24,334   33,675 33,907
Provision (benefit) for loss contracts related to service 108,279 62,994 45,284 78,882 51,114 46,914 25,363 108,278 72,277 216,557 123,391   202,273 172,010
Inventory 134,306 114,571 92,972 72,391 80,601 73,190 65,474 114,571 73,190 134,306 80,601   72,391  
Prepaid expenses and other current assets 26,731 31,436 28,500 21,192 12,804 14,001 10,296 31,436 14,001 26,731 12,804   21,192  
Goodwill 71,962 70,402 8,673 8,842 8,606 8,961 8,886 70,402 8,961 71,962 8,606   8,842  
Intangible assets, net 39,169 38,574 5,296 5,539 5,113 5,398 3,677 38,574 5,398 39,169 5,113   5,539  
Selling, general and administrative 14,277 21,658 11,013 10,982 10,400 13,627 9,324 32,671 22,951 46,948 33,351   44,333 38,198
Loss on extinguishment of debt   13,222     (518)     13,222   13,222 (518)      
Preferred stock dividends declared, deemed dividends and accretion of discount   13 13 13 13 13 52 19 26 19 39   52 52
Interest and other expense, net (17,241) (13,198) (11,583) (10,806) (7,972) (7,861) (8,345) (24,781) (16,206) (42,022) (24,178)   (35,502) (22,135)
Income tax benefit 6,523 17,659           17,659   24,182       9,217
Effect of exchange rate changes on cash     1       (35) (14) (48) (90) (119)   53 (57)
Recognition of right of use assets     6,189         26,922 34,530 56,377 78,626   127,370 79,057
Net cash provided by financing activities     4,083       37,650 181,565 80,026 590,587 149,055   325,060 119,344
Net cash used in operating activities     60,015       36,263 111,247 48,488 156,910 51,801   51,522 57,617
Repayments of finance obligations     (5,730)       (53,534) (11,783) (56,070) (18,634) (59,461)   (61,713) (31,264)
As previously Reported | Provision (benefit) for loss contracts related to service                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 4,306                 4,306        
As previously Reported | Sales of fuel cell systems, related infrastructure and equipment                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 68,509 33,676 13,744 46,419 24,990 23,129 2,321 47,420 25,450 115,929 50,440   96,859 84,439
As previously Reported | Fuel delivered to customers                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 14,172 9,060 9,035 10,422 9,160 8,854 7,921 18,095 16,775 32,267 25,935   36,357 27,712
As previously Reported | Services performed on fuel cell systems and related infrastructure                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 7,074 6,491 8,181 9,999 6,461 6,218 6,123 14,672 12,341 21,746 18,802   28,801 23,698
As previously Reported | Power Purchase Agreements                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 14,087 13,704 14,243 11,992 10,353 8,713 8,998 27,947 17,711 42,034 28,064   40,056 36,161
Restatement Adjustments                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Reclassified from equipment related to power purchase agreements and fuel delivered to customers related to operating leases 2,300 2,400 1,700   1,700 1,700 1,700              
Reclassified from equipment related to power purchase agreements and fuel delivered to customers related to finance leases 235,800 204,700 183,400   133,700 100,300 69,700              
Reclassified from current finance obligations to current operating lease liabilities 32,700 29,500 26,600   21,100 16,600 13,100           25,800  
Reclassified from non-current finance obligations to non-current operating lease liabilities 195,100 169,000 151,000   109,300 80,600 54,200           145,500  
Reclassified from current finance obligations to current finance lease liabilities 374,000 345 204   310 266 236           226  
Reclassified from non-current finance obligations to non-current finance lease liabilities 2,400 2,400 1,900   2,100 2,100 2,100           2,000  
Right of use assets related to operating leases, net 90,184 71,789 64,812 63,266 47,016 39,679 33,599 71,789 39,679 90,184 47,016   63,266  
Equipment related to power purchase agreements and fuel delivered to customers, net (237,584) (206,293) (184,400) (176,971) (134,786) (101,473) (70,961) (206,293) (101,473) (237,584) (134,786)   (176,971)  
Operating lease liabilities 10,609 9,453 8,959 9,428 8,666 7,512 7,042 9,453 7,512 10,609 8,666   9,428  
Operating lease liabilities 74,422 58,410 52,165 50,937 36,599 30,631 25,657 58,410 30,631 74,422 36,599   50,937  
Finance obligations (32,343) (28,901) (25,838) (24,840) (20,643) (18,208) (12,969) (28,901) (18,208) (32,343) (20,643)   (24,840)  
Finance obligations (196,488) (169,000) (150,849) (145,806) (108,796) (80,615) (56,331) (169,000) (80,615) (196,488) (108,796)   (145,806)  
Other current liabilities 3,803 (2,274) (1,977) (1,839) (1,865) 688 1,474 (2,274) 688 3,803 (1,865)   (1,839)  
Other liabilities 18,102 2,720 2,373 2,805 2,821 3,320 3,729 2,720 3,320 18,102 2,821   2,805  
Accounts receivable 372 260 297 320 345 252 245 260 252 372 345   320  
Accrued expenses 5,917 597 597 196       597   5,917     196  
Deferred revenue (137) (190) (228) (199) (231) (393) (469) (190) (393) (137) (231)   (199)  
Convertible senior notes, net   185 185 185 185     185     185   185  
Additional paid-in capital (30) (94) (163) (163) (78) (78) (78) (94) (78) (30) (78)   (163)  
Accumulated other comprehensive income (112) (112) (112) (112)       (112)   (112)     (112)  
Research and development (4,578) (4,884) (5,638) (4,459) (4,465) (5,325) (4,367) (10,522) (9,692) (15,100) (14,157)   (18,616) (21,157)
Provision (benefit) for loss contracts related to service 27,353 5,016 5,238 4,979 3,778 4,410 3,887 10,254 8,297 37,607 12,075   17,054 28,209
Right of use assets related to finance leases, net 2,335 2,389 1,707 1,714 1,720 1,726 1,733 2,389 1,726 2,335 1,720   1,714  
Inventory (103)                 (103)        
Goodwill (140) (140)           (140)   (140)        
Intangible assets, net 400 400 400         400   400        
Selling, general and administrative 2,933 (14) 96 (1,009) (5) (14) (103) 82 (117) 3,015 (122)   (1,131) (513)
Loss on extinguishment of debt             (518)   (518)   (518)   (518)  
Preferred stock dividends declared, deemed dividends and accretion of discount       1,228 531   (39) 7   7 531   1,760  
Interest and other expense, net (310) (264) (263) (193) (301) (104) (109) (527) (213) (837) (514)   (189) (615)
Income tax benefit 121 (288)           (288)   (167)       78
Effect of exchange rate changes on cash               (10)         (112)  
Recognition of right of use assets     (5,849)       2,000 (20,086) (22,841) (30,520) (48,723)   (74,446) (37,378)
Net cash provided by financing activities     387       (564) 654 (160) (404) 2,340   1,914 733
Net cash used in operating activities     387       (564) 644 (160) (404) 2,340   1,802 733
Repayments of finance obligations     387       (46) 654 358 (404) 2,858   2,517 733
Restatement Adjustments | Revision of Loss of Accrual Provision                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Other current liabilities   1,300 1,200 897 1,200 1,200 1,500 1,300 1,200   1,200   897  
Other liabilities   2,700 2,400 2,800 2,800 3,300 3,700 2,700 3,300   2,800   2,800  
Provision for Loss Contracts on Services 20,800 706 95 13 (206) (363)   801 (201) 21,600 (407)   394 5,300
Recognition of right of use assets               (20,100)         74,400  
Net cash used in operating activities     128       142 (277) 873 (20,800)     1,600 (5,300)
Restatement Adjustments | Revision of lease right of use assets                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Reclassified from equipment related to power purchase agreements and fuel delivered to customers related to operating leases                         767  
Reclassified from non-current finance obligations to non-current finance lease liabilities                         1,700  
Right of use assets related to operating leases, net   (132,900) (118,600) (112,700) (86,700) (60,600) (36,100) (132,900) (60,600)   (86,700)   (112,700)  
Equipment related to power purchase agreements and fuel delivered to customers, net   837 725   655 543 432 837 543   655      
Operating lease liabilities   (20,100) (17,700) (16,400) (12,400) (9,100) (6,100) (20,100) (9,100)   (12,400)   (16,400)  
Operating lease liabilities   (110,600) (99,000) (94,600) (72,700) (50,000) (28,600) (110,600) (50,000)   (72,700)   (94,600)  
Finance obligations   898 1,000 1,200 752 (1,400) 360,000 898 (1,400)   752   1,200  
Finance obligations   2,400 2,000 1,700 2,600 2,200 19 2,400 2,200   2,600   1,700  
Other current liabilities   (3,500) (3,200) (2,700) (3,000) (464)   (3,500) (464)   (3,000)   (2,700)  
Provision (benefit) for loss contracts related to service                           937
Selling, general and administrative (56) (14) 96   (5) (14) 3 82 (117) (138) (122)   25  
Interest and other expense, net 310 264 262         527   (837) 514   522 615
Recognition of right of use assets     (5,800)       2,000   (22,800) (30,500)       37,400
Net cash provided by financing activities     387       (46) (222) 358   2,900   2,500 733
Net cash used in operating activities     282       12 553 492 (591) 3,100   (2,700) (818)
Restatement Adjustments | Revision of Deemed Dividend                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Preferred stock dividends declared, deemed dividends and accretion of discount       1,300 531   (39)       531      
Restatement Adjustments | Revision of Research and Development Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Research and development (5,500) (4,900) (5,600) (5,300) (4,500) (5,300) (4,400) (10,500) (9,700) (15,900) (14,200)   (19,492) (21,157)
Provision (benefit) for loss contracts related to service                         1,100  
Restatement Adjustments | Revision to Interest Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Interest and other expense, net       193 301 104 109   213          
Restatement Adjustments | Power Purchase Agreements                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Reclassified from equipment related to power purchase agreements and fuel delivered to customers related to operating leases                         176,000  
Reclassified from equipment related to power purchase agreements and fuel delivered to customers related to finance leases                         1,700  
Restatement Adjustments | Provision (benefit) for loss contracts related to service                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 20,841 706 95 13 206 363 162 801 201 21,642 407   394 5,345
Restatement Adjustments | Sales of fuel cell systems, related infrastructure and equipment                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 919 212 230 672 193 200 (9) 442 191 1,361 384   1,056 766
Restatement Adjustments | Sales of fuel cell systems, related infrastructure and equipment | Revision of Loss of Accrual Provision                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service                   (839)        
Restatement Adjustments | Sales of fuel cell systems, related infrastructure and equipment | Revision of Research and Development Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 232 212 230 585 193 200 143 442 343 674 384     614
Restatement Adjustments | Fuel delivered to customers                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 2,830 2,016 2,219 2,378 1,989 2,292 2,231 4,235 4,523 7,065 6,512   8,890 8,325
Restatement Adjustments | Fuel delivered to customers | Revision of Research and Development Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 2,800 2,000 2,200 2,300 2,000 2,300 2,200 4,200 4,500 7,000 6,500     8,300
Restatement Adjustments | Services performed on fuel cell systems and related infrastructure                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 2,106 1,282 2,166 1,607 1,341 2,165 668 3,448 2,833 5,554 4,174   5,781 8,573
Restatement Adjustments | Services performed on fuel cell systems and related infrastructure | Revision of Loss of Accrual Provision                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 315 (315) (224) (289) (288) 369   (524) (672)   (960)      
Restatement Adjustments | Services performed on fuel cell systems and related infrastructure | Revision of Research and Development Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 1,500 1,600 2,400 1,900 1,600 2,500 971 4,000 3,500 5,500 5,100   2,500 8,000
Restatement Adjustments | Power Purchase Agreements                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 657 800 528 309 461 116 835 1,328 951 1,985 1,412   1,721 5,200
Restatement Adjustments | Power Purchase Agreements | Revision of lease right of use assets                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service (280) (255) (253) (237) (175)   (167) (508) (335) (788) (150)      
Restatement Adjustments | Power Purchase Agreements | Revision of Research and Development Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 955 1,100 799 564 654 299 1,000 1,900 1,300 2,800 2,000     4,200
Restatement Adjustments | Series E Redeemable Convertible Preferred Stock                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Dividends, Preferred Stock                         1,800  
Other Adjustments                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Accounts receivable 372 260 297 320 345 252 245 260 252 372 345   320  
Accrued expenses 703 597 597 196       597   703     196  
Deferred revenue 137 (190) (228) 199 (231) (393) (469) (190) (393) 137 (231)   199  
Convertible senior notes, net   185 185 185 185     185     185   185  
Additional paid-in capital 30 (94) (163) 163 78 $ (78) (78) (94) (78) 30 78   163 78
Accumulated other comprehensive income 112 (112) (112) 112       (112)   112     112  
Research and development       876                 876  
Inventory 103                 103        
Goodwill 140 (140)           (140)   140        
Intangible assets, net 400 400 400         400   400        
Selling, general and administrative       (1)     (106)           1,100 513
Loss on extinguishment of debt                         518  
Preferred stock dividends declared, deemed dividends and accretion of discount               (7)   7        
Interest and other expense, net                         185  
Income tax benefit 121 288           288   167       78
Effect of exchange rate changes on cash                         112  
Net cash provided by financing activities             (518)   (518)   (518)   603  
Net cash used in operating activities     $ 24       (312) (330) (364) (226) (600)   (906) (597)
Other Adjustments | Revision to Interest Expense                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Interest and other expense, net                         518  
Other Adjustments | Sales of fuel cell systems, related infrastructure and equipment                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service 103     87     (152)   (152) 103     (65) 152
Other Adjustments | Fuel delivered to customers                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service       44                 44  
Other Adjustments | Services performed on fuel cell systems and related infrastructure                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service       44                 44 $ 619
Other Adjustments | Power Purchase Agreements                            
Error Corrections and Prior Period Adjustments Restatement [Line Items]                            
Provision (benefit) for loss contracts related to service $ (18) $ (18)   $ (18) $ (18)   $ (18) $ (36) $ (35) $ (54) $ (53)   $ (70)