Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows

v3.7.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2017
Mar. 31, 2016
Operating activities    
Net loss $ (132,267) $ (115,102)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 17,680 13,277
Stock-based compensation 29,618 38,655
Amortization of premium on investments, net 53 140
Other operating activities 1,665 895
Amortization of debt discount 4,886 4,434
Changes in operating assets and liabilities    
Accounts receivable 44,941 38,514
Prepaid content acquisition costs (2,232) (16,775)
Prepaid expenses and other assets (5,579) (2,967)
Accounts payable, accrued and other current liabilities 13,192 (3,467)
Accrued content acquisition costs (3,762) 14,152
Accrued compensation (13,207) 2,597
Other long-term liabilities (244) 659
Deferred revenue 3,996 7,640
Reimbursement of cost of leasehold improvements 5,236 4,244
Net cash used in operating activities (36,024) (13,104)
Investing activities    
Purchases of property and equipment (1,980) (14,371)
Internal-use software costs (7,765) (7,177)
Purchases of investments 0 (4,993)
Proceeds from maturities of investments 11,220 8,332
Payments related to acquisitions, net of cash acquired 0 (676)
Net cash provided by (used in) investing activities 1,475 (18,885)
Financing activities    
Proceeds from employee stock purchase plan 2,798 1,687
Proceeds from exercise of stock options 2,388 520
Tax payments from net share settlements of restricted stock units 0 (1,294)
Net cash provided by financing activities 5,186 913
Effect of exchange rate changes on cash and cash equivalents 300 (137)
Net decrease in cash and cash equivalents (29,063) (31,213)
Cash and cash equivalents at beginning of period 199,944 334,667
Cash and cash equivalents at end of period 170,881 303,454
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 896 107
Purchases of property and equipment recorded in accounts payable and accrued liabilities $ 4,098 $ 6,356