XML 17 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities    
Net loss $ (19,263) $ (29,057)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 6,022 612
Non-cash interest expense 1,780 1,600
Amortization of premiums on investments (96) 208
Amortization of debt issuance costs 126 80
Share-based compensation expense 7,748 9,029
Unrealized foreign currency transaction (gains) losses, net (1,300) 820
Changes in operating assets and liabilities:    
Inventory, net (1,446) (1,350)
Prepaid expenses and other current assets 958 93
Trade receivables, net (4,223) (6,746)
Deposits and other assets (308) (226)
Accounts payable and accrued expenses (6,810) (3,923)
Other liabilities (475) (624)
Deferred revenue 1,409 582
Net cash used in operating activities (15,878) (28,902)
Cash flows from investing activities    
Purchases of fixed assets (479) (225)
Purchases of marketable securities (22,683) (19,467)
Sale and redemption of marketable securities 21,514 44,110
Net cash (used in) provided by investing activities (1,648) 24,418
Cash flows from financing activities    
Proceeds from exercise of options 1,136 106
Proceeds from shares issued under employee stock purchase plan 0 557
Net cash provided by financing activities 1,136 663
Effect of exchange rate changes on cash 2,273 (394)
Net decrease in cash and cash equivalents (14,117) (4,215)
Cash and cash equivalents, beginning of period 111,792 58,321
Cash and cash equivalents, end of period 97,675 54,106
Supplemental disclosure of cash information    
Cash paid for interest 3,023 2,250
Cash paid for income taxes $ 326 $ 28