XML 81 R66.htm IDEA: XBRL DOCUMENT v3.10.0.1
Revenue recognition - Cash Flow Impacts (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 08, 2018
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities          
Net loss   $ (50,969) $ (33,738) $ (79,751) $ (80,270)
Adjustments to reconcile net loss to net cash used in operating activities:          
Depreciation and amortization       19,316 11,743
Change in valuation of warrant liability       3 3
Non-cash interest expense       5,563 4,999
Loss on disposal of asset       2 5
Amortization of premiums and accretion of discounts on investments, net       (354) 493
Amortization of debt issuance costs       390 308
Share-based compensation expense       24,773 24,082
Unrealized foreign currency transaction gains       (977) (364)
Changes in operating assets and liabilities:          
Inventory       (3,252) (3,625)
Prepaid expenses and other current assets       (1,301) (570)
Trade receivables, net       (2,681) (10,994)
Deposits and other assets       (385) (485)
Accounts payable and accrued expenses       18,606 11,807
Other liabilities       1,617 807
Deferred revenue       5,933 10,710
Net cash used in operating activities       (12,498) (31,351)
Cash flows from investing activities          
Purchases of fixed assets       (2,489) (1,058)
Purchases of marketable securities       (28,656) (19,467)
Sale and redemption of marketable securities       65,923 164,847
Acquisition of product rights       (3,903) (77,163)
Business acquisition, net of cash acquired       (48,892) 0
Net cash (used in) / provided by investing activities       (18,017) 67,159
Cash flows from financing activities          
Proceeds from exercise of options       8,631 1,437
Net proceeds from public offerings $ 117,900     117,915 0
Proceeds from shares issued under employee stock purchase plan       1,299 1,362
Net cash provided by financing activities       127,845 42,367
Effect of exchange rate changes on cash       (2,209) 5,342
Net increase in cash and cash equivalents       95,121 83,517
Cash and cash equivalents, beginning of period       111,792 58,321
Cash and cash equivalents, end of period   206,913 $ 141,838 206,913 $ 141,838
Adjustments | ASU 2014-09          
Cash flows from operating activities          
Net loss   (817)   (975)  
Adjustments to reconcile net loss to net cash used in operating activities:          
Depreciation and amortization       0  
Change in valuation of warrant liability       0  
Non-cash interest expense       0  
Loss on disposal of asset       0  
Amortization of premiums and accretion of discounts on investments, net       0  
Amortization of debt issuance costs       0  
Share-based compensation expense       0  
Unrealized foreign currency transaction gains       0  
Changes in operating assets and liabilities:          
Inventory       (84)  
Prepaid expenses and other current assets       0  
Trade receivables, net       0  
Deposits and other assets       0  
Accounts payable and accrued expenses       (794)  
Other liabilities       0  
Deferred revenue       1,853  
Net cash used in operating activities       0  
Cash flows from investing activities          
Purchases of fixed assets       0  
Purchases of marketable securities       0  
Sale and redemption of marketable securities       0  
Acquisition of product rights       0  
Business acquisition, net of cash acquired       0  
Net cash (used in) / provided by investing activities       0  
Cash flows from financing activities          
Proceeds from exercise of options       0  
Net proceeds from public offerings       0  
Proceeds from shares issued under employee stock purchase plan       0  
Net cash provided by financing activities       0  
Effect of exchange rate changes on cash       0  
Net increase in cash and cash equivalents       0  
Cash and cash equivalents, beginning of period       0  
Cash and cash equivalents, end of period   0   0  
Balances without adoption of Topic 606          
Cash flows from operating activities          
Net loss   (51,786)   (80,726)  
Adjustments to reconcile net loss to net cash used in operating activities:          
Depreciation and amortization       19,316  
Change in valuation of warrant liability       3  
Non-cash interest expense       5,563  
Loss on disposal of asset       2  
Amortization of premiums and accretion of discounts on investments, net       (354)  
Amortization of debt issuance costs       390  
Share-based compensation expense       24,773  
Unrealized foreign currency transaction gains       (977)  
Changes in operating assets and liabilities:          
Inventory       (3,336)  
Prepaid expenses and other current assets       (1,301)  
Trade receivables, net       (2,681)  
Deposits and other assets       (385)  
Accounts payable and accrued expenses       17,812  
Other liabilities       1,617  
Deferred revenue       7,786  
Net cash used in operating activities       (12,498)  
Cash flows from investing activities          
Purchases of fixed assets       (2,489)  
Purchases of marketable securities       (28,656)  
Sale and redemption of marketable securities       65,923  
Acquisition of product rights       (3,903)  
Business acquisition, net of cash acquired       (48,892)  
Net cash (used in) / provided by investing activities       (18,017)  
Cash flows from financing activities          
Proceeds from exercise of options       8,631  
Net proceeds from public offerings       117,915  
Proceeds from shares issued under employee stock purchase plan       1,299  
Net cash provided by financing activities       127,845  
Effect of exchange rate changes on cash       (2,209)  
Net increase in cash and cash equivalents       95,121  
Cash and cash equivalents, beginning of period       111,792  
Cash and cash equivalents, end of period   $ 206,913   $ 206,913