Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows

v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Dec. 31, 2017
Operating activities          
Net loss $ (63,666) $ (66,243) $ (287,353) $ (473,646)  
Adjustments to reconcile net loss to net cash used in operating activities          
Goodwill impairment 0 0 0 131,997  
Loss on dispositions     2,173 9,459  
Loss on extinguishment of convertible debt     14,600 0  
Depreciation and amortization     44,167 49,121  
Stock-based compensation     82,802 98,327  
Amortization (accretion) of premium on investments     (1,200) 78  
Accretion of discount on convertible promissory note receivable     (534) (171)  
Other operating activities     802 290  
Amortization of debt discount     15,391 14,934  
Interest income     (810) (258)  
Provision for bad debt     3,960 10,851  
Changes in operating assets and liabilities          
Accounts receivable     (20,160) (11,294)  
Prepaid content acquisition costs     32,529 (33,842)  
Prepaid expenses and other assets     (4,892) (17,955)  
Accounts payable, accrued and other current liabilities     26,193 (257)  
Accrued content acquisition costs     26,159 6,063  
Accrued compensation     550 (12,646)  
Other long-term liabilities     (9,286) (532)  
Deferred revenue     14,914 5,618  
Reimbursement of cost of leasehold improvements     894 5,236  
Net cash used in operating activities     (59,101) (218,627)  
Investing activities          
Purchases of property and equipment     (7,290) (12,861)  
Internal-use software costs     (15,235) (13,948)  
Payments related to acquisition, net of cash acquired     (66,924) 0  
Purchases of investments     (244,744) 0  
Proceeds from maturities of investments     147,170 37,084  
Proceeds from cancellation of convertible promissory note receivable     34,742 0  
Proceeds from sales of subsidiaries, net of cash     0 122,912  
Net cash provided by (used in) investing activities     (152,281) 133,187  
Financing activities          
Proceeds from issuance of redeemable convertible preferred stock     0 480,000  
Payments of issuance costs       (29,284)  
Payments of issuance costs     (4,886)    
Repayment of debt arrangements     0 (90,000)  
Proceeds from employee stock purchase plan     4,156 8,012  
Proceeds from exercise of stock options     779 7,836  
Tax withholdings related to net share settlements of restricted stock units     (1,651) 0  
Net cash provided by (used in) financing activities     (1,602) 376,564  
Effect of exchange rate changes on cash, cash equivalents and restricted cash     (347) 237  
Net increase (decrease) in cash, cash equivalents and restricted cash     (213,331) 291,361  
Cash, cash equivalents and restricted cash at beginning of period     500,854 201,820 $ 201,820
Cash, cash equivalents and restricted cash at end of period 287,523 493,181 287,523 493,181 $ 500,854
Supplemental disclosures of cash flow information          
Purchases of property and equipment recorded in accounts payable and accrued liabilities     1,515 2,294  
Cash paid during the period for interest     3,659 5,791  
Accretion of preferred stock issuance costs     0 29,259  
Stock dividend payable to preferred stockholders     22,421 3,588  
Contingent consideration related to acquisition 5,000 0 5,000 0  
Fair value of shares issued related to acquisition $ 72,956 $ 0 72,956 0  
Fair value of convertible promissory note received as partial consideration for sale of subsidiary     0 36,203  
Employee stock purchase plan (ESPP) purchases     $ 7,169 $ 11,387