XML 28 R9.htm IDEA: XBRL DOCUMENT v3.24.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2024
Jan. 31, 2023
Jan. 31, 2022
Cash flows from operating activities:      
Net income $ 637,462 $ 103,711 $ 1,375,639
Adjustments to reconcile net income to net cash provided by operating activities:      
Stock-based compensation expense 1,057,161 1,285,752 477,287
Deferred income taxes (116,679) (160,961) (327,957)
Amortization of deferred contract acquisition costs 270,701 259,368 177,283
(Gains) losses on strategic investments, net (109,770)   (43,761)
(Gains) losses on strategic investments, net   37,571  
Depreciation and amortization 104,451 82,321 48,188
Provision for accounts receivable allowances 35,244 50,285 36,747
Unrealized foreign exchange losses (gains) 12,259 13,266 0
Non-cash operating lease cost 21,066 28,933 18,387
Amortization of discount/premium on marketable securities (50,770) 1,206 25,316
Other (7,670) 1,647 4,591
Changes in operating assets and liabilities:      
Accounts receivable 53,270 (231,845) (159,183)
Prepaid expenses and other assets (71,247) (18,066) (155,934)
Deferred contract acquisition costs (214,657) (298,629) (247,371)
Accounts payable (4,416) 11,611 (2,218)
Accrued expenses and other liabilities 51,974 20,530 101,369
Deferred revenue (46,719) 127,401 293,887
Operating lease liabilities, net (22,824) (23,839) (17,004)
Net cash provided by operating activities 1,598,836 1,290,262 1,605,266
Cash flows from investing activities:      
Purchases of marketable securities (4,083,968) (2,849,121) (4,434,749)
Maturities of marketable securities 3,131,419 2,835,196 1,733,043
Sales of marketable securities 1,191 0 296,867
Purchases of property and equipment (126,953) (103,826) (132,590)
Purchases of strategic investments (70,527) (69,050) (305,149)
Proceeds from strategic investments 170,067 300 0
Cash paid for acquisition, net of cash acquired (204,918) (120,553) (3,501)
Purchases of intangible assets 0 (11,268) (13,018)
Net cash used in investing activities (1,183,689) (318,322) (2,859,097)
Cash flows from financing activities:      
Cash paid for repurchases of common stock 0 (1,000,003) 0
Proceeds from issuance of common stock for employee stock purchase plan 54,097 53,710 59,331
Proceeds from exercise of stock options 10,195 8,577 14,404
Proceeds from employee equity transactions (remitted) to be remitted to employees and tax authorities, net (4,106) 774 (40,004)
Other 0 0 337
Net cash provided by (used in) financing activities 60,186 (936,942) 34,068
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (10,196) (8,108) 0
Net increase (decrease) in cash, cash equivalents, and restricted cash 465,137 26,890 (1,219,763)
Cash, cash equivalents, and restricted cash—beginning of year 1,100,243 1,073,353 2,293,116
Cash, cash equivalents, and restricted cash—end of year 1,565,380 1,100,243 1,073,353
Supplemental disclosures of cash flow information      
Cash paid for income taxes, net 348,129 309,084 38,979
Supplemental disclosures of non-cash investing and financing information      
Purchase of equipment during the period included in accounts payable and accrued expenses 16,206 11,946 13,728
Vesting of early exercised stock options 0 238 407
Reconciliation of cash, cash equivalents, and restricted cash within the consolidated balance sheets to the amounts shown in the consolidated statements of cash flows above:      
Cash and cash equivalents 1,558,252 1,086,830 1,062,820
Restricted cash, current included in prepaid expenses and other current assets 6,874 13,141 10,236
Restricted cash, noncurrent included in other assets, noncurrent 254 272 297
Total cash, cash equivalents, and restricted cash $ 1,565,380 $ 1,100,243 $ 1,073,353