XML 80 R69.htm IDEA: XBRL DOCUMENT v3.19.1
Revenue recognition - Cash Flow Impacts (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended
Jan. 31, 2019
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
Non-cash interest expense   1,982 1,780
Amortization of (discounts) premiums on investments, net   (257) (96)
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,400 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 169,498 111,792
Cash and cash equivalents, end of period   $ 201,144 $ 97,675