XML 50 R9.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2023
Jan. 31, 2022
Jan. 31, 2021
Cash flows from operating activities:      
Net income $ 103,711 $ 1,375,639 $ 672,316
Adjustments to reconcile net income to net cash provided by operating activities:      
Stock-based compensation expense 1,285,752 477,287 275,818
Deferred income taxes (160,961) (327,957) 0
Amortization of deferred contract acquisition costs 259,368 177,283 104,306
Losses (gains) on strategic investments, net 37,571    
Losses (gains) on strategic investments, net   (43,761) (2,538)
Depreciation and amortization 82,321 48,188 28,857
Provision for accounts receivable allowances 50,285 36,747 32,007
Non-cash operating lease cost 28,933 18,387 10,887
Charitable donation of common stock 0 0 23,312
Amortization of discount/premium on marketable securities 1,206 25,316 5,433
Other 14,913 4,591 927
Changes in operating assets and liabilities:      
Accounts receivable (231,845) (159,183) (219,039)
Prepaid expenses and other assets (18,066) (155,934) (68,521)
Deferred contract acquisition costs (298,629) (247,371) (307,068)
Accounts payable 11,611 (2,218) 3,481
Accrued expenses and other liabilities 20,530 101,369 251,654
Deferred revenue 127,401 293,887 665,724
Operating lease liabilities, net (23,839) (17,004) (6,379)
Net cash provided by operating activities 1,290,262 1,605,266 1,471,177
Cash flows from investing activities:      
Purchases of marketable securities (2,849,121) (4,434,749) (2,056,470)
Maturities of marketable securities 2,835,196 1,733,043 580,795
Sales of marketable securities 0 296,867 36,897
Purchases of property and equipment (103,826) (132,590) (79,972)
Purchases of strategic investments (69,050) (305,149) (13,000)
Cash paid for acquisition, net of cash acquired (120,553) (3,501) (26,486)
Purchases of intangible assets (11,268) (13,018) (5,843)
Other 300 0 1,659
Net cash used in investing activities (318,322) (2,859,097) (1,562,420)
Cash flows from financing activities:      
Cash paid for repurchases of common stock (1,000,003) 0 0
Proceeds from issuance of common stock for employee stock purchase plan 53,710 59,331 38,433
Proceeds from exercise of stock options 8,577 14,404 28,550
Proceeds from employee equity transactions to be remitted (remitted) to employees and tax authorities, net 774 (40,004) 4,088
Proceeds from follow-on public offering, net of underwriting discounts and commissions and other offering costs 0 0 1,979,206
Other 0 337 0
Net cash (used in) provided by financing activities (936,942) 34,068 2,050,277
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (8,108) 0 0
Net increase (decrease) in cash, cash equivalents, and restricted cash 26,890 (1,219,763) 1,959,034
Cash, cash equivalents, and restricted cash—beginning of year 1,073,353 2,293,116 334,082
Cash, cash equivalents, and restricted cash—end of year 1,100,243 1,073,353 2,293,116
Supplemental disclosures of cash flow information      
Cash paid for income taxes, net 309,084 38,979 3,181
Supplemental disclosures of non-cash investing and financing information      
Purchase of equipment during the period included in accounts payable and accrued expenses 11,946 13,728 34,514
Vesting of early exercised stock options 238 407 558
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,086,830 1,062,820 2,240,303
Restricted cash, current included in prepaid expenses and other current assets 13,141 10,236 50,575
Restricted cash, noncurrent included in other assets, noncurrent 272 297 2,238
Total cash, cash equivalents, and restricted cash 1,100,243 1,073,353 2,293,116
Class B      
Cash flows from operating activities:      
Net income 16,465 270,271 239,348
Class A      
Cash flows from operating activities:      
Net income $ 87,246 $ 1,105,368 $ 432,968