XML 17 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Cash flows from operating activities    
Net loss $ (80,270) $ (115,314)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 11,743 2,477
Change in valuation of warrant liability 3 44
Non-cash interest expense 4,999 4,487
Loss on disposal of asset 5 0
Amortization of premiums on investments 493 1,610
Amortization of debt issuance costs 308 224
Share-based compensation expense 24,082 26,610
Benefit for deferred income taxes 0 (222)
Unrealized foreign currency transaction (gains) losses, net (364) 1,401
Changes in operating assets and liabilities:    
Inventory, net (3,625) 0
Prepaid expenses and other current assets (570) 1,095
Trade receivables, net (10,994) (16,035)
Deposits and other assets (485) (154)
Accounts payable and accrued expenses 11,807 2,080
Other liabilities 807 682
Deferred revenue 10,710 768
Net cash used in operating activities (31,351) (90,247)
Cash flows from investing activities    
Purchases of fixed assets (1,058) (540)
Purchases of marketable securities (19,467) (73,692)
Sale and redemption of marketable securities 164,847 155,582
Acquisition, including transaction costs (77,163) 0
Net cash provided by investing activities 67,159 81,350
Cash flows from financing activities    
Proceeds from exercise of options 1,437 926
Proceeds from shares issued under employee stock purchase plan 1,362 0
Debt issuance costs related to secured term loan (432) 0
Proceeds from issuance of secured term loan 40,000 0
Net cash provided by financing activities 42,367 926
Effect of exchange rate changes on cash 5,342 235
Net increase (decrease) in cash and cash equivalents 83,517 (7,736)
Cash and cash equivalents, beginning of period 58,321 58,022
Cash and cash equivalents, end of period 141,838 50,286
Supplemental disclosure of cash information    
Cash paid for interest 5,496 4,513
Cash paid for income taxes 616 633
Supplemental disclosures of non-cash information related to investing and financing activities    
Change in unrealized gain on marketable securities, net of tax $ 0 $ 429