XML 17 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Operating activities    
Net loss $ (41,396) $ (30,610)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 1,519 1,525
Amortization of premium on investments 277 613
Unrealized loss (gain) on short-term investments (165) 1
Gain on disposal of property and equipment 0 (4)
Stock-based compensation 10,878 8,409
Realized gain on sales of available-for-sale securities 0 (30)
Changes in operating assets and liabilities:    
Accounts receivable (1,523) 3,200
Prepaid expenses and other current assets 1,380 (2,943)
Other assets (364) (833)
Accounts payable (1,960) (3,273)
Accrued liabilities (1,066) (1,916)
Deferred revenue (5) (1,196)
Lease financing liability 14 335
Other long-term liabilities 448 (413)
Net cash used in operating activities (31,963) (27,135)
Investing activities    
Purchases of property and equipment (1,837) (636)
Proceeds from sale of property and equipment 0 5
Purchases of available-for-sale securities (44) (30)
Proceeds from sales of available-for-sale securities 0 10,205
Proceeds from maturities of available-for-sale securities 17,180 13,864
Net cash provided by investing activities 15,299 23,408
Financing activities    
Repayments of lease liability (101) (101)
Cash paid for payroll taxes on restricted stock unit releases (6,813) (2,424)
Proceeds from issuance of common stock 8,959 3,099
Net cash provided by financing activities 2,045 574
Effect of exchange rate change on cash and cash equivalents (32) (31)
Net decrease in cash and cash equivalents (14,651) (3,184)
Total cash and cash equivalents at beginning of period 673,658 173,782
Total cash and cash equivalents at end of period $ 659,007 $ 170,598