XML 16 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities    
Net loss $ (179,700) $ (220,532)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 61,163 53,513
Amortization of premiums and accretion of discounts on investment securities, net (415) (138)
Amortization of intangible assets 1,107 1,108
Loss on strategic investments 1,967  
Depreciation 1,116 904
Loss on disposal of assets 27  
Changes in operating assets and liabilities:    
Accounts receivable, net (2,615) (8,318)
Interest and other receivables 363 204
Inventory 1,464 (1,645)
Prepaid expenses (6,494) (7,011)
Other assets 111 416
Accounts payable (5,856) (950)
Accrued liabilities (1,647) (2,857)
Deferred revenue   (2,644)
Long-term liabilities 1,018 88
Net cash used in operating activities (128,391) (187,862)
Cash flows from investing activities    
Purchases of investment securities (95,379) (353,840)
Maturities of investment securities 217,562 465,211
Proceeds from sale of property and equipment 5  
Purchases of strategic investments (3,150)  
Purchases of property and equipment (1,578) (805)
Net cash provided by investing activities 117,460 110,566
Cash flows from financing activities    
Proceeds from issuance of common stock, net of issuance costs 6,044 26,397
Net cash provided by financing activities 6,044 26,397
Effect of exchange rate changes on cash 2 (5)
Net decrease in cash, cash equivalents and restricted cash (4,885) (50,904)
Cash, cash equivalents and restricted cash    
Beginning of period 71,893 165,995
End of period 67,008 115,091
Supplemental disclosure of noncash information:    
Property and equipment purchases in accounts payable and accrued liabilities 280 9
Stock-based compensation capitalized in inventory $ (563) $ 284