Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows

v3.4.0.3
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2016
Mar. 31, 2015
Operating activities    
Net loss $ (115,102) $ (48,257)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities    
Depreciation and amortization 13,277 4,340
Stock-based compensation 38,655 23,195
Amortization of premium on investments, net 140 619
Other operating activities 895 834
Amortization of debt discount 4,434 0
Changes in operating assets and liabilities    
Accounts receivable 38,514 29,182
Prepaid expenses and other assets (19,742) (5,076)
Accounts payable, accrued and other current liabilities (3,467) 8,087
Accrued royalties 14,152 6,896
Accrued compensation 2,597 (4,390)
Other long-term liabilities 659 (1,526)
Deferred revenue 7,640 12,328
Reimbursement of cost of leasehold improvements 4,244 749
Net cash provided by (used in) operating activities (13,104) 26,981
Investing activities    
Purchases of property and equipment (14,371) (4,339)
Internal-use software costs (7,177) (1,592)
Purchases of investments (4,993) (56,790)
Proceeds from maturities of investments 8,332 78,489
Proceeds from sale of investments 0 640
Payments related to acquisition, net of cash acquired (676) 0
Net cash provided by (used in) investing activities (18,885) 16,408
Financing activities    
Proceeds from employee stock purchase plan 1,687 1,619
Proceeds from exercise of stock options 520 1,094
Tax payments from net share settlements of restricted stock units (1,294) (888)
Net cash provided by financing activities 913 1,825
Effect of exchange rate changes on cash and cash equivalents (137) (157)
Net increase (decrease) in cash and cash equivalents (31,213) 45,057
Cash and cash equivalents at beginning of period 334,667 175,957
Cash and cash equivalents at end of period 303,454 221,014
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 107 83
Purchases of property and equipment recorded in accounts payable and accrued liabilities $ 6,356 $ 2,783