XML 21 R7.htm IDEA: XBRL DOCUMENT v3.5.0.2
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2016
Jun. 30, 2015
Operating activities    
Net income (loss) $ (3,524) $ 10,688
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation 3,007 2,796
Amortization of premium on investments 1,391 1,538
Unrealized foreign exchange gain on short-term investments (273) 0
Loss on disposal of property and equipment 0 100
Stock-based compensation 15,744 13,388
Tax benefit on unrealized gain on available-for-sale securities (479) (66)
Changes in operating assets and liabilities:    
Accounts receivable (2,683) 1,270
Prepaid expenses and other current assets 283 2,235
Other assets 254 (205)
Accounts payable (3,047) (636)
Accrued liabilities 537 (3,140)
Deferred revenue 15,114 30,414
Lease financing liability 554 312
Other long-term liabilities 542 163
Net cash provided by operating activities 27,420 58,857
Investing activities    
Purchases of property and equipment (1,019) (989)
Purchases of available-for-sale securities (46) 0
Proceeds from maturities of available-for-sale securities 8,217 7,035
Net cash provided by investing activities 7,152 6,046
Financing activities    
Repayments of lease liability (201) (201)
Cash paid for payroll taxes on restricted stock unit releases (1,791) 0
Proceeds from issuance of common stock 4,496 5,608
Net cash provided by financing activities 2,504 5,407
Effect of exchange rate change on cash and cash equivalents 11 771
Net increase in cash and cash equivalents 37,087 71,081
Cash and cash equivalents at beginning of period 153,324 165,455
Cash and cash equivalents at end of period $ 190,411 $ 236,536