XML 82 R66.htm IDEA: XBRL DOCUMENT v3.22.0.1
Unaudited Quarterly Financial data and Restatement of Previously Issued Unaudited interim Condensed Consolidated Financial Statements - Consolidated Statements of Cash Flows (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
Nov. 30, 2020
Aug. 31, 2020
Dec. 31, 2019
Mar. 31, 2019
Dec. 31, 2020
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
Operating Activities                                      
Net loss attributable to the Company           $ (65,217) $ (9,401) $ (37,432) $ (18,036) $ (17,822) $ (17,338) $ (30,547) $ (46,833) $ (47,885) $ (112,050) $ (65,707) $ (596,155) $ (83,743) $ (85,608)
Adjustments to reconcile net loss to net cash used in operating activities:                                      
Depreciation of long-lived assets               2,991       2,748 6,069 5,433 9,860 8,858 14,434 11,938 11,832
Amortization of intangible assets               175       175 398 338 835 518 1,135 698 693
Stock-based compensation               3,045       2,497 6,188 5,123 9,258 7,927 17,135 10,890 8,771
(Gain) loss on extinguishment of debt             (13,222)     518   518 (13,222) 518 (13,222) 518 (17,686) 518  
Provision for bad debts and other assets                       307   907   1,253 700 1,981 1,626
Amortization of debt issuance costs and discount on convertible senior notes               2,716       2,469 6,528 4,340 12,183 6,442 17,061 9,006 6,347
Provision for common stock warrants               2,566       1,193 7,983 2,209 25,198 3,706 425,047 6,513 10,190
Loss on disposal of leased assets                           212   212   212  
Fair value adjustment to contingent consideration                             1,130   (1,160)    
Loss (benefit) on service contracts               (128)       (142) 277 (873) 25,110 (1,366) 33,125 (1,643) 5,345
Change in fair value of common stock warrant liability                 (72) (427) (1,706) 2,126   420   (7)   (79) (4,286)
Income tax benefit           (6,644) (17,371)           (17,371)   (24,015)   (30,845)   (9,295)
Changes in operating assets and liabilities that provide (use) cash:                                      
Accounts receivable               1,034       5,001 (18,333) 9,864 (86,056) 11,625 (15,701) 10,594 (14,666)
Inventory               (20,581)       (17,716) (37,983) (25,431) (57,615) (32,843) (63,389) (24,633) 19,193
Prepaid expenses and other assets               (10,794)       1,018 (11,887) (460) (4,956) 427 (18,401) (8,110) (4,654)
Accounts payable, accrued expenses, and other liabilities               (3,374)       (2,887) 3,903 662 41,125 10,164 51,880 17,234 (10,160)
Deferred revenue               (620)       (2,459) 2,392 (3,705) 16,709 (5,868) 20,914 (4,700) 6,322
Net cash used in operating activities               (60,402)       (35,699) (111,891) (48,328) (156,506) (54,141) (155,476) (53,324) (58,350)
Investing activities                                      
Purchases of property, plant and equipment               (2,507)       (1,468) (5,009) (2,844) (11,265) (4,635) (22,526) (5,683) (5,142)
Purchase of intangible assets                           (1,860) (1,638) (1,860) (1,957) (2,404) (929)
Purchases of equipment related to PPA and equipment related to fuel delivered to customers               (3,848)       (806) (6,256) (1,987) (13,699) (2,851) (25,738) (6,532) (13,501)
Net cash paid for acquisitions                         (45,286)   (45,113)   (45,113)    
Proceeds from sale of leased assets                           375   375   375  
Net cash used in investing activities               (6,355)       (2,274) (56,551) (6,316) (71,715) (8,971) (95,334) (14,244) (19,572)
Financing activities                                      
Proceeds from issuance of preferred stock, net of transaction costs                       (3)   (8)   (37)   14,089 30,934
Proceeds from public offerings, net of transaction costs $ 927,300 $ 344,400 $ 120,400 $ 23,500               23,498 (269) 28,265 344,398 38,098 1,271,714 158,343 7,195
Proceeds from exercise of stock options               6,104       81 15,798 205 23,335 (116) 32,023 1,217 138
Payments for redemption of preferred stock                               (4,040)   (4,040)  
Proceeds from issuance of convertible senior notes, net                         205,100   205,098 39,052 205,098 39,052 95,856
Repurchase of convertible senior notes                         (90,238)   (90,238)   (90,238)    
Purchase of capped calls and common stock forward                         (16,253)   (16,253)   (16,253)   (43,500)
Proceeds from termination of capped calls                         24,158   24,158   24,158    
Principal payments on long-term debt               (5,315)       (17,671) (21,626) (18,039) (27,845) (21,704) (48,020) (25,345) (16,190)
Proceeds from long-term debt, net                       84,761 49,000 99,546 99,000 99,496 99,000 119,186  
Repayments of finance obligations               (5,343)       (53,580) (11,129) (55,712) (19,038) (56,603) (27,212) (59,196) (30,531)
Proceeds from finance obligations               9,024         27,678 25,609 47,568 57,249 65,259 83,668 76,175
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
Effect of exchange rate changes on cash               1       (35) (24) (48) (90) (119) 65 (59) (57)
Increase in cash, cash equivalents and restricted cash               (62,286)       (922) 13,753 25,174 361,872 88,164 1,264,784 259,347 42,098
Cash, cash equivalents, and restricted cash beginning of period         $ 731,372 383,253 307,214 369,500 198,317 135,327 109,231 110,153 369,500 110,153 369,500 110,153 369,500 110,153 68,055
Cash, cash equivalents, and restricted cash end of period     369,500 109,231 1,634,284 731,372 383,253 307,214 369,500 198,317 135,327 109,231 383,253 135,327 731,372 198,317 1,634,284 369,500 110,153
Supplemental disclosure of cash flow information                                      
Cash paid for interest               5,155       4,858 9,466 8,673 16,975 8,673 28,942 19,180 13,057
Summary of non-cash activity                                      
Recognition of right of use assets               340       2,000 6,836 11,689 25,857 29,903 55,651 52,924 41,679
Net transfers between inventory and long-lived assets                                     18,175
Conversion of preferred stock to common stock               441         441   43,058 1,883 1,179 28,392  
As previously Reported                                      
Operating Activities                                      
Net loss attributable to the Company           (39,379) (8,656) (37,479) (18,275) (18,144) (18,094) (30,952) (46,135) (49,046) (85,514) (67,190)   (85,465) (78,115)
Adjustments to reconcile net loss to net cash used in operating activities:                                      
Depreciation of long-lived assets               2,850       2,776 5,783 5,496 9,381 8,944   11,989 11,014
Amortization of intangible assets               175       175 398 338 835 518   698 693
Stock-based compensation               3,045       2,497 6,188 5,123 9,258 7,927   10,890 8,771
(Gain) loss on extinguishment of debt             (13,222)     518     (13,222)   (13,222) 518      
Provision for bad debts and other assets                       307   907   1,253   1,981 1,626
Amortization of debt issuance costs and discount on convertible senior notes               2,716       2,469 6,528 4,340 12,183 6,257   8,821 6,347
Provision for common stock warrants               2,566       1,193 7,983 2,209 25,198 3,706   6,513 10,190
Loss on disposal of leased assets                           212   212   212  
Fair value adjustment to contingent consideration                             1,130        
Loss (benefit) on service contracts                             4,306        
Change in fair value of common stock warrant liability           1,130     (72) (427) (1,706) 2,126   420 1,130 (7)   (79) (4,286)
Income tax benefit           (6,523) (17,659)           (17,659)   (24,182)       (9,217)
Changes in operating assets and liabilities that provide (use) cash:                                      
Accounts receivable               1,011       4,978 (18,393) 9,848 (86,004) 11,702   10,646 (14,398)
Inventory               (20,581)       (17,564) (37,983) (25,280) (57,718) (32,691)   (24,481) 19,041
Prepaid expenses and other assets               (10,794)       1,018 (11,817) (460) (4,956) 427   (8,110) (4,654)
Accounts payable, accrued expenses, and other liabilities               (2,933)       (2,781) 4,699 1,232 35,748 13,293   19,879 (10,266)
Deferred revenue               (591)       (2,505) 2,383 (3,827) 16,647 (6,152)   (5,016) 5,637
Net cash used in operating activities               (60,015)       (36,263) (111,247) (48,488) (156,910) (51,801)   (51,522) (57,617)
Investing activities                                      
Purchases of property, plant and equipment               (2,507)       (1,468) (5,009) (2,844) (11,265) (4,635)   (5,683) (5,142)
Purchase of intangible assets                           (1,860) (1,638) (1,860)   (2,404) (929)
Purchases of equipment related to PPA and equipment related to fuel delivered to customers               (3,848)       (806) (6,256) (1,987) (13,699) (2,851)   (6,532) (13,501)
Net cash paid for acquisitions                         (45,286)   (45,113)        
Proceeds from sale of leased assets                           375   375   375  
Net cash used in investing activities               (6,355)       (2,274) (56,551) (6,316) (71,715) (8,971)   (14,244) (19,572)
Financing activities                                      
Proceeds from issuance of preferred stock, net of transaction costs                       (3)   (8)   (37)   14,089 30,934
Proceeds from public offerings, net of transaction costs                       23,498 (269) 28,265 344,398 38,098   158,428 7,195
Proceeds from exercise of stock options               6,104       81 15,798 205 23,335 (116)   1,217 138
Payments for redemption of preferred stock                               (4,040)   (4,040)  
Proceeds from issuance of convertible senior notes, net                         205,100   205,098 39,052   39,052 95,856
Repurchase of convertible senior notes                         (90,238)   (90,238)        
Purchase of capped calls and common stock forward                         (16,253)   (16,253)       (43,500)
Proceeds from termination of capped calls                         24,158   24,158        
Principal payments on long-term debt               (5,315)       (17,153) (21,626) (17,521) (27,845) (21,186)   (24,827) (16,190)
Proceeds from long-term debt, net                       84,761 49,000 99,546 99,000 99,496   119,186  
Repayments of finance obligations               (5,730)       (53,534) (11,783) (56,070) (18,634) (59,461)   (61,713) (31,264)
Proceeds from finance obligations               9,024         27,678 25,609 47,568 57,249   83,668 76,175
Net cash provided by financing activities               4,083       37,650 181,565 80,026 590,587 149,055   325,060 119,344
Effect of exchange rate changes on cash               1       (35) (14) (48) (90) (119)   53 (57)
Increase in cash, cash equivalents and restricted cash               (62,286)       (922) 13,753 25,174 361,872 88,164   259,347 42,098
Cash, cash equivalents, and restricted cash beginning of period         $ 731,372 383,253 307,214 369,500 198,317 135,327 109,231 110,153 369,500 110,153 369,500 110,153 $ 369,500 110,153 68,055
Cash, cash equivalents, and restricted cash end of period     $ 369,500 $ 109,231   731,372 383,253 307,214 369,500 198,317 135,327 109,231 383,253 135,327 731,372 198,317   369,500 110,153
Supplemental disclosure of cash flow information                                      
Cash paid for interest               5,155       4,858 9,466 8,673 16,975 8,673   19,180 13,057
Summary of non-cash activity                                      
Recognition of right of use assets               6,189         26,922 34,530 56,377 78,626   127,370 79,057
Net transfers between inventory and long-lived assets                                     18,175
Conversion of preferred stock to common stock               441         441   42,873 1,883   28,392  
Restatement Adjustments                                      
Operating Activities                                      
Net loss attributable to the Company           (25,838) (745) 47 $ 239 $ 322 $ 756 405 (698) 1,161 (26,536) 1,483   1,722 (7,493)
Adjustments to reconcile net loss to net cash used in operating activities:                                      
Depreciation of long-lived assets               141       (28) 286 (63) 479 (86)   (51) 818
(Gain) loss on extinguishment of debt                       518   518   518   518  
Amortization of debt issuance costs and discount on convertible senior notes                               185   185  
Loss (benefit) on service contracts               (128)       (142) 277 (873) 20,804 (1,366)   (1,643) 5,345
Change in fair value of common stock warrant liability           (1,130)                 (1,130)        
Income tax benefit           (121) 288           288   167       (78)
Changes in operating assets and liabilities that provide (use) cash:                                      
Accounts receivable               23       23 60 16 (52) (77)   (52) (268)
Inventory                       (152)   (151) 103 (152)   (152) 152
Prepaid expenses and other assets                         (70)            
Accounts payable, accrued expenses, and other liabilities               (441)       (106) (796) (570) 5,377 (3,129)   (2,645) 106
Deferred revenue               (29)       46 9 122 62 284   316 685
Net cash used in operating activities               (387)       564 (644) 160 404 (2,340)   (1,802) (733)
Financing activities                                      
Proceeds from public offerings, net of transaction costs                                   (85)  
Principal payments on long-term debt                       (518)   (518)   (518)   (518)  
Repayments of finance obligations               387       (46) 654 358 (404) 2,858   2,517 733
Net cash provided by financing activities               387       (564) 654 (160) (404) 2,340   1,914 733
Effect of exchange rate changes on cash                         (10)         (112)  
Summary of non-cash activity                                      
Recognition of right of use assets               (5,849)       2,000 (20,086) (22,841) (30,520) (48,723)   (74,446) (37,378)
Conversion of preferred stock to common stock                             185        
Other Adjustments                                      
Adjustments to reconcile net loss to net cash used in operating activities:                                      
(Gain) loss on extinguishment of debt                                   (518)  
Income tax benefit           $ (121) $ (288)           (288)   (167)       (78)
Changes in operating assets and liabilities that provide (use) cash:                                      
Net cash used in operating activities               $ (24)       312 $ 330 364 $ 226 600   906 $ 597
Financing activities                                      
Net cash provided by financing activities                       $ (518)   $ (518)   $ (518)   603  
Effect of exchange rate changes on cash                                   $ 112