Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows

v3.8.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Operating activities    
Net loss $ (131,705) $ (132,267)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities    
Loss on dispositions 2,173 0
Depreciation and amortization 13,779 17,680
Stock-based compensation 26,436 29,618
Amortization of premium on investments, net (118) 53
Accretion of discount on convertible promissory note receivable (534) 0
Other operating activities 65 365
Amortization of debt discount 5,396 4,886
Interest income (810) 0
Provision for (recoveries of) bad debt (315) 1,390
Changes in operating assets and liabilities    
Accounts receivable 67,160 44,941
Prepaid content acquisition costs 19,767 (2,232)
Prepaid expenses and other assets (1,588) (5,579)
Accounts payable, accrued and other current liabilities 4,749 13,192
Accrued content acquisition costs 8,503 (3,762)
Accrued compensation (1,347) (13,207)
Other long-term liabilities (786) (244)
Deferred revenue 6,217 3,996
Reimbursement of cost of leasehold improvements 357 5,236
Net cash (used in) provided by operating activities 17,399 (35,934)
Investing activities    
Purchases of property and equipment (3,410) (1,980)
Internal-use software costs (5,489) (7,765)
Purchases of investments (89,341) 0
Proceeds from maturities of investments 1,250 11,220
Proceeds from cancellation of convertible promissory note receivable 34,742 0
Net cash provided by (used in) investing activities (62,248) 1,475
Financing activities    
Proceeds from employee stock purchase plan 37 2,798
Proceeds from exercise of stock options 248 2,388
Tax payments from net share settlements of restricted stock units (287) 0
Net cash provided by (used in) financing activities (2) 5,186
Effect of exchange rate changes on cash, cash equivalents and restricted cash (8) 210
Net decrease in cash, cash equivalents and restricted cash (44,859) (29,063)
Cash, cash equivalents and restricted cash at beginning of period 500,854 201,820
Cash, cash equivalents and restricted cash at end of period 455,995 172,757
Supplemental disclosures of cash flow information    
Purchases of property and equipment recorded in accounts payable and accrued liabilities 1,339 4,098
Cash paid during the period for interest 249 896
Preferred stock dividends 7,363 0
Employee Stock Purchase Plan (ESPP) purchases 3,381 3,306
Reconciliation of cash, cash equivalents and restricted cash as shown in the statements of cash flows    
Total cash, cash equivalents and restricted cash $ 500,854 $ 201,820