XML 20 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2021
Jul. 31, 2020
Cash flows from operating activities:        
Net income (loss) $ 105,736 $ (28,016) $ 59,214 $ (186,384)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:        
Depreciation and amortization 85,383 73,178 167,846 144,692
Share-based compensation expenses 264,719 251,236 529,354 487,908
Amortization of deferred costs 33,748 27,349 65,362 53,409
Amortization of debt discount and issuance costs 997 14,528 1,994 29,368
Non-cash lease expense 21,069 19,879 43,299 38,248
(Gains) losses on investments (106,275) (1,962) (100,257) 499
Other (8,006) 14,392 (10,627) 16,301
Changes in operating assets and liabilities, net of business combinations:        
Trade and other receivables, net (227,511) (109,316) 164,608 181,586
Deferred costs (52,834) (41,841) (79,104) (59,901)
Prepaid expenses and other assets (3,531) (9,137) (39,097) 10,840
Accounts payable 8,060 9,307 7,890 (13,075)
Accrued expenses and other liabilities (15,687) (39,837) (26,607) (41,341)
Unearned revenue 92,605 (22,550) (132,974) (241,257)
Net cash provided by (used in) operating activities 198,473 157,210 650,901 420,893
Cash flows from investing activities:        
Purchases of marketable securities (829,370) (602,546) (1,594,765) (1,156,531)
Maturities of marketable securities 771,824 473,016 1,629,232 854,414
Sales of marketable securities 14,829 0 27,286 5,279
Owned real estate projects (71) (1,764) (171,494) (4,251)
Capital expenditures, excluding owned real estate projects (87,781) (66,555) (157,577) (126,495)
Business combinations, net of cash acquired 0 0 (679,220) 0
Purchases of non-marketable equity and other investments (12,039) (6,350) (57,806) (58,600)
Sales and maturities of non-marketable equity and other investments 3,270 1,561 3,295 6,199
Other 6 0 1 0
Net cash provided by (used in) investing activities (139,332) (202,638) (1,001,048) (479,985)
Cash flows from financing activities:        
Proceeds from borrowings on Term Loan, net of debt discount and issuance costs 0 250,000 0 747,795
Payments on convertible senior notes (20) (249,945) (71) (249,946)
Payments on Term Loan (9,375) 0 (18,750) 0
Proceeds from issuance of common stock from employee equity plans, net of taxes paid for shares withheld 75,844 70,940 74,487 74,517
Other (151) (215) (376) (2,255)
Net cash provided by (used in) financing activities 66,298 70,780 55,290 570,111
Effect of exchange rate changes (321) 771 (135) 506
Net increase (decrease) in cash, cash equivalents, and restricted cash 125,118 26,123 (294,992) 511,525
Cash, cash equivalents, and restricted cash at the beginning of period 967,811 1,220,123 1,387,921 734,721
Cash, cash equivalents, and restricted cash at the end of period 1,092,929 1,246,246 1,092,929 1,246,246
Supplemental cash flow data:        
Cash paid for interest 2,429 4,939 7,067 6,377
Cash paid for income taxes, net of refunds 1,941 1,696 6,434 4,641
Non-cash investing and financing activities:        
Purchases of property and equipment, accrued but not paid 36,823 49,987 36,823 49,987
Cash and cash equivalents 1,087,070 1,239,696 1,087,070 1,239,696
Total cash, cash equivalents, and restricted cash 1,092,929 1,246,246 1,092,929 1,246,246
Prepaid expenses and other current assets        
Restricted cash 5,859 6,421 5,859 6,421
Other assets        
Restricted cash $ 0 $ 129 $ 0 $ 129