XML 21 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities    
Net loss $ (117,562) $ (155,284)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 40,994 33,815
(Amortization of premiums) and accretion of discounts on investment securities, net (241) (297)
Amortization of intangible assets 738 738
Loss on strategic investments 247  
Depreciation 734 577
Loss on disposal of assets 32  
Changes in operating assets and liabilities:    
Accounts receivable, net (8,353) (5,691)
Interest and other receivables 101 453
Inventory 782 (1,927)
Prepaid expenses (4,365) (498)
Other assets 64 263
Accounts payable (5,523) (324)
Accrued liabilities 5,406 1,253
Deferred revenue   (2,644)
Long-term liabilities 835 105
Net cash used in operating activities (86,111) (129,461)
Cash flows from investing activities    
Purchases of investment securities (85,762) (250,007)
Maturities of investment securities 175,151 341,990
Purchases of strategic investments (3,150)  
Purchases of property and equipment (563) (749)
Net cash provided by investing activities 85,676 91,234
Cash flows from financing activities    
Proceeds from issuance of common stock, net of issuance costs 5,833 18,500
Net cash provided by financing activities 5,833 18,500
Effect of exchange rate changes on cash 2 (4)
Net increase (decrease) in cash, cash equivalents and restricted cash 5,400 (19,731)
Cash, cash equivalents and restricted cash    
Beginning of period 71,893 165,995
End of period 77,293 146,264
Supplemental disclosure of noncash information:    
Property and equipment purchases in accounts payable and accrued liabilities 301 43
Stock-based compensation capitalized in inventory $ (271) $ 99