XML 19 R8.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net loss $ (97,760) $ (19,065)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 17,248 5,677
Stock-based compensation expense 60,441 36,535
Amortization of operating lease right-of-use assets 15,947 7,738
Amortization of content license assets 12,182 760
Provision for doubtful accounts 3,516 53
Non-cash interest expense   412
Amortization of premiums on short-term investments   (265)
Other items, net 290  
Changes in operating assets and liabilities:    
Accounts receivable 21,372 (21,012)
Inventories 4,713 (3,858)
Prepaid expenses and other current assets (5,222) (5,277)
Deferred cost of revenue   1,144
Other noncurrent assets 2,095 10
Accounts payable and accrued liabilities 27,183 31,395
Operating lease liabilities 12,695 (4,405)
Other long-term liabilities (556) (1,197)
Deferred revenue 5,952 (14,611)
Net cash provided by operating activities 80,096 14,034
Cash flows from investing activities:    
Purchase of property and equipment (64,109) (23,171)
Purchases of short-term investments   (12,365)
Sales/maturities of short-term investments   43,810
Proceeds from resolution of purchase acquisition contingencies 1,058  
Net cash provided by (used in) investing activities (63,051) 8,274
Cash flows from financing activities:    
Proceeds from borrowing, net of issuance costs 69,325  
Repayments made on borrowings (71,825)  
Proceeds from equity issued under at-the-market program, net of issuance costs 349,609 179,360
Proceeds from equity issued under incentive plans 5,877 19,145
Net cash provided by financing activities 352,986 198,505
Net increase in cash, cash equivalents and restricted cash 370,031 220,813
Cash, cash equivalents and restricted cash—Beginning of period 517,333 155,564
Cash, cash equivalents and restricted cash—End of period 887,364 376,377
Cash, cash equivalents and restricted cash at end of period:    
Cash and cash equivalents 885,825 375,509
Restricted cash 1,539 868
Cash, cash equivalents and restricted cash—End of period 887,364 376,377
Supplemental disclosures of cash flow information:    
Cash paid for interest 2,118 960
Cash paid for income taxes 482 636
Supplemental disclosures of non-cash investing and financing activities:    
Unpaid portion of property and equipment purchases 5,218 6,984
Unpaid portion of purchased intangibles 400  
Unpaid portion of at-the-market offering costs $ 150 $ 459