XML 68 R57.htm IDEA: XBRL DOCUMENT v3.8.0.1
Revenue recognition - Cash Flow Impacts (Details) - 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
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
Adjustments | ASU 2014-09    
Cash flows from operating activities    
Net loss (749)  
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 0  
Non-cash interest expense 0  
Amortization of premiums on investments 0  
Amortization of debt issuance costs 0  
Share-based compensation expense 0  
Unrealized foreign currency transaction (gains) losses, net 0  
Changes in operating assets and liabilities:    
Inventory, net (80)  
Prepaid expenses and other current assets 0  
Trade receivables, net 0  
Deposits and other assets 0  
Accounts payable and accrued expenses (839)  
Other liabilities 0  
Deferred revenue 1,668  
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  
Net cash (used in) provided by investing activities 0  
Cash flows from financing activities    
Proceeds from exercise of options 0  
Net cash provided by financing activities 0  
Effect of exchange rate changes on cash 0  
Net decrease in cash and cash equivalents 0  
Cash and cash equivalents, beginning of period 0  
Cash and cash equivalents, end of period 0  
Balances without adoption of Topic 606    
Cash flows from operating activities    
Net loss (20,012)  
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 6,022  
Non-cash interest expense 1,780  
Amortization of premiums on investments (96)  
Amortization of debt issuance costs 126  
Share-based compensation expense 7,748  
Unrealized foreign currency transaction (gains) losses, net (1,300)  
Changes in operating assets and liabilities:    
Inventory, net (1,526)  
Prepaid expenses and other current assets 958  
Trade receivables, net (4,223)  
Deposits and other assets (308)  
Accounts payable and accrued expenses (7,649)  
Other liabilities (475)  
Deferred revenue 3,077  
Net cash used in operating activities (15,878)  
Cash flows from investing activities    
Purchases of fixed assets (479)  
Purchases of marketable securities (22,683)  
Sale and redemption of marketable securities 21,514  
Net cash (used in) provided by investing activities (1,648)  
Cash flows from financing activities    
Proceeds from exercise of options 1,136  
Net cash provided by financing activities 1,136  
Effect of exchange rate changes on cash 2,273  
Net decrease in cash and cash equivalents (14,117)  
Cash and cash equivalents, beginning of period 111,792  
Cash and cash equivalents, end of period $ 97,675