XML 20 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Cash Flows From Operating Activities:      
Net loss attributable to the Company $ (127,080) $ (57,487) $ (55,690)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation of property, plant and equipment, and leased property 9,190 4,650 2,006
Amortization of intangible assets 593 590 981
Stock-based compensation 9,209 9,290 7,817
Loss on acquisition activity, net     116
Amortization and accelerated recognition of debt issuance costs 770 1,760  
Provision for common stock warrants 36,360    
Loss on disposal of leased property   41  
Provision for loss contracts related to service   (1,071) 10,050
Change in fair value of common stock warrant liability 15,188 (4,344) (3,661)
Changes in operating assets and liabilities that provide (use) cash:      
Accounts receivable (3,408) 10,727 (5,638)
Inventory (18,836) 2,812 (7,251)
Prepaid expenses and other assets (4,136) (3,833) (11,592)
Accounts payable, accrued expenses, and other liabilities 11,430 10,772 7,214
Accrual for loss contracts related to service (752) (8,227)  
Deferred revenue 11,290 4,684 8,374
Net cash used in operating activities (60,182) (29,636) (47,274)
Cash Flows From Investing Activities:      
Purchase of property, plant and equipment (4,090) (2,743) (3,520)
Purchase for construction of leased property (40,273) (55,332)  
Net cash acquired in purchase acquisitions     1,496
Net cash used in investing activities (44,363) (58,075) (2,024)
Cash Flows From Financing Activities:      
Change in restricted cash 11,395 (6,787) (47,335)
Proceeds from exercise of warrants, net of transaction costs 17,636 111 25
Proceeds from issuance of preferred stock and warrants   15,594  
Purchase of treasury stock   (182) (247)
Proceeds from issuance of common stock and warrants, net of transaction costs   11,940  
Proceeds from exercise of stock options 97 102 167
Payments for redemption of preferred stock (3,700)    
Proceeds from public offerings, net of transaction costs 22,992    
Proceeds from short-term borrowing, net of transaction costs   23,673  
Principal payments on short-term borrowings   (25,000)  
Proceeds from borrowing of long-term debt, net of transaction costs 20,147 47,400  
Principal payments on long-term debt (12,292) (25,000)  
Increase in finance obligations 26,736 28,034 14,467
Net cash provided by (used in) financing activities 83,011 69,885 (32,923)
Effect of exchange rate changes on cash 348 (121) (23)
Decrease in cash and cash equivalents (21,186) (17,947) (82,244)
Cash and cash equivalents, beginning of period 46,014 63,961 146,205
Cash and cash equivalents, end of period 24,828 46,014 63,961
Other Supplemental Cash Flow Information:      
Cash paid for interest 8,791 $ 8,263 553
Summary of noncash investing and financing activities:      
Issuance of common stock for acquisitions     $ 14,459
Conversion of preferred stock to common stock $ 8,222