XML 18 R7.htm IDEA: XBRL DOCUMENT v3.19.1
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Cash flows from operating activities    
Net loss $ (72,113) $ (19,263)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 7,059 6,022
Change in valuation of deferred and contingent consideration 21,160 0
Non-cash interest expense 1,982 1,780
Amortization of (discounts) premiums on investments, net (257) (96)
Amortization of debt issuance costs 139 126
Share-based compensation expense 9,263 7,748
Unrealized foreign currency transaction losses (gains), net 865 (1,300)
Changes in operating assets and liabilities:    
Inventory (334) (1,446)
Prepaid expenses and other current assets (191) 958
Trade receivables, net 20,786 (4,223)
Deposits and other assets (10,754) (308)
Accounts payable and accrued expenses (28,653) (6,810)
Other liabilities 8,065 (475)
Deferred revenue 574 1,409
Net cash used in operating activities (42,409) (15,878)
Cash flows from investing activities    
Purchases of fixed assets (2,865) (479)
Purchases of marketable securities (165,723) (22,683)
Sale and redemption of marketable securities 18,090 21,514
Net cash used in investing activities (150,498) (1,648)
Cash flows from financing activities    
Proceeds from exercise of options 1,281 1,136
Net proceeds from public offerings 224,441 0
Net cash provided by financing activities 225,722 1,136
Effect of exchange rate changes on cash (1,169) 2,273
Net increase in cash and cash equivalents 31,646 (14,117)
Cash and cash equivalents, beginning of period 169,498 111,792
Cash and cash equivalents, end of period 201,144 97,675
Supplemental disclosure of cash information    
Cash paid for interest 3,111 3,023
Cash paid for income taxes 537 326
Supplemental disclosure of non-cash investing and financing activity    
Unrealized gain (loss) on marketable securities 59 (123)
Right-of-use assets obtained in exchange for lease obligations $ 11,314 $ 0