XML 19 R7.htm IDEA: XBRL DOCUMENT v3.19.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Operating Activities    
Net loss attributable to the Company $ (33,938) $ (19,835)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation of property, plant and equipment, and leased property 2,776 2,780
Amortization of intangible assets 175 158
Stock-based compensation 2,497 2,005
Provision for bad debts and other assets 307  
Amortization of debt issuance costs and discount on convertible senior notes 2,469 379
Provision for common stock warrants 4,179 1,885
Change in fair value of common stock warrant liability 2,126 (1,258)
Income tax benefit   (2,953)
Changes in operating assets and liabilities that provide (use) cash:    
Accounts receivable 4,978 (7,655)
Inventory (17,564) 1,428
Prepaid expenses, and other assets 1,018 1,376
Accounts payable, accrued expenses, and other liabilities (2,781) (2,066)
Deferred revenue (2,505) (272)
Net cash used in operating activities (36,263) (24,028)
Investing Activities    
Purchases of property, plant and equipment (1,468) (1,026)
Purchases for construction of leased property (806) (3,277)
Net cash used in investing activities (2,274) (4,303)
Financing Activities    
Proceeds from exercise of warrants, net of transaction costs   50
Proceeds from issuance of preferred stock, net of transaction costs (3)  
Proceeds from public offerings, net of transaction costs 23,498  
Proceeds from exercise of stock options 81  
Proceeds from issuance of convertible senior notes, net   96,057
Purchase of capped call and common stock forward   (43,500)
Principal payments on long-term debt (17,153) (4,649)
Proceeds from long-term debt 84,761  
Repayments of finance obligations (53,534)  
Increase in finance obligations   1,241
Net cash provided by financing activities 37,650 49,199
Effect of exchange rate changes on cash (35) 46
(Decrease) increase in cash, cash equivalents and restricted cash (922) 20,914
Cash, cash equivalents, and restricted cash beginning of period 110,153 68,055
Cash, cash equivalents, and restricted cash end of period 109,231 88,969
Supplemental disclosure of cash flow information    
Cash paid for interest $ 4,858 $ 2,554