XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities    
Net loss $ (140,245) $ (117,562)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 40,305 40,994
Amortization of premiums and accretion of discounts on investment securities (1,995) (241)
Amortization of intangible assets 739 738
Loss on strategic investment 241 247
Depreciation 741 734
Loss on disposal of assets   32
Changes in operating assets and liabilities:    
Accounts receivable, net (5,691) (8,353)
Interest and other receivables 758 101
Inventory 273 782
Prepaid expenses 2,220 (4,365)
Operating lease right-of-use assets 1,133  
Other assets 70 64
Accounts payable 1,483 (5,523)
Accrued liabilities (1,576) 5,406
Operating lease liabilities (1,077)  
Long-term liabilities 49 835
Net cash used in operating activities (102,572) (86,111)
Cash flows from investing activities    
Purchases of investment securities (176,677) (85,762)
Maturities of investment securities 210,904 175,151
Purchases of strategic investments   (3,150)
Purchases of property and equipment (842) (563)
Net cash provided by investing activities 33,385 85,676
Cash flows from financing activities    
Proceeds from issuance of common stock, net of issuance costs 8,822 5,833
Net cash provided by financing activities 8,822 5,833
Effect of exchange rate changes on cash   2
Net (decrease) increase in cash, cash equivalents and restricted cash (60,365) 5,400
Cash, cash equivalents and restricted cash    
Beginning of period 139,584 71,893
End of period 79,219 77,293
Supplemental disclosure of noncash information:    
Property and equipment purchases in accounts payable and accrued liabilities $ 17 $ 301