XML 17 R7.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Operating activities    
Net loss $ (66,344) $ (3,524)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation 3,072 3,007
Amortization of premium on investments 1,064 1,391
Unrealized loss (gain) on short-term investments (1) (273)
Gain on disposal of property and equipment (4) 0
Stock-based compensation 17,980 15,744
Tax benefit on unrealized gain on available-for-sale securities 0 (479)
Realized gain on sales of available-for-sale securities (95) 0
Changes in operating assets and liabilities:    
Accounts receivable 1,515 (2,683)
Prepaid expenses and other current assets (124) 283
Other assets (1,130) 254
Accounts payable (2,962) (3,047)
Accrued liabilities (3,061) 537
Deferred revenue 2,861 15,114
Lease financing liability 401 554
Other long-term liabilities (65) 542
Net cash provided by (used in) operating activities (46,893) 27,420
Investing activities    
Purchases of property and equipment (1,612) (1,019)
Proceeds from sale of property and equipment 5 0
Purchases of available-for-sale securities (66) (46)
Proceeds from sales of available-for-sale securities 18,152 0
Proceeds from maturities of available-for-sale securities 23,849 8,217
Net cash provided by investing activities 40,328 7,152
Financing activities    
Repayments of lease liability (201) (201)
Proceeds from follow-on offering, net of underwriting discounts and commission costs 115,050 0
Cash paid for payroll taxes on restricted stock unit releases (3,673) (1,791)
Proceeds from issuance of common stock 12,244 4,496
Payments of deferred offering costs (386) 0
Net cash provided by financing activities 123,034 2,504
Effect of exchange rate change on cash and cash equivalents 26 11
Net increase in cash and cash equivalents 116,495 37,087
Total cash and cash equivalents at beginning of period 173,782 153,324
Total cash and cash equivalents at end of period $ 290,277 $ 190,411