| Jan 31, 2021 | Jan 31, 2022 | Jan 31, 2023 | Jan 31, 2024 | Jan 31, 2025 |
|---|
| Net loss | - | - | -798 | -838 | -1,289 |
|---|
| Depreciation and amortization | 10 | 21 | 64 | 120 | 183 |
|---|
| Noncash Operating Lease Costs | - | 36 | 46 | 53 | 60 |
|---|
| Amortization of deferred commissions | - | 38 | 57 | 75 | 93 |
|---|
| Share-Based Payment Arrangement, Noncash Expense | 301 | 605 | 862 | 1,168 | 1,479 |
|---|
| Net amortization (accretion) of premiums (discounts) on investments | -9 | -48 | -3 | 62 | 43 |
|---|
| Net realized and unrealized losses (gains) on strategic investments in equity securities | - | - | - | 47 | -31 |
|---|
| Amortization of debt issuance costs | - | - | - | - | 3 |
|---|
| Deferred income tax | - | - | -27 | -27 | -8 |
|---|
| Other | - | -1 | -2 | -15 | -7 |
|---|
| Accounts receivable | 116 | 252 | 167 | 212 | -1 |
|---|
| Deferred commissions | 51 | 96 | 95 | 135 | 102 |
|---|
| Prepaid expenses and other assets | 62 | 159 | 3 | -60 | -30 |
|---|
| Accounts payable | -3 | 7 | 8 | 19 | 109 |
|---|
| Accrued expenses and other liabilities | 58 | 80 | 75 | 171 | 71 |
|---|
| Operating lease liabilities | -31 | -38 | -42 | -40 | -48 |
|---|
| Deferred revenue | 313 | 526 | 514 | 528 | 383 |
|---|
| Net cash provided by operating activities | -45 | 110 | 546 | 848 | 960 |
|---|
| Purchases of property and equipment | 35 | 16 | 25 | 35 | 46 |
|---|
| Capitalized internal-use software development costs | 5 | 13 | 24 | 34 | 29 |
|---|
| Cash paid for business combinations, net of cash, cash equivalents, and restricted cash acquired | 6 | - | 363 | 276 | 30 |
|---|
| Purchases of intangible assets | 8 | 24 | 1 | 29 | - |
|---|
| Purchases of investments | - | 4,250 | 3,901 | 2,476 | 2,569 |
|---|
| Sales of investments | - | - | - | - | 65 |
|---|
| Maturities and redemptions of investments | 701 | 3,843 | 3,657 | 3,671 | 2,802 |
|---|
| Settlement of cash flow hedges | - | - | - | - | 1 |
|---|
| Net cash provided by (used in) investing activities | -4,037 | -21 | -598 | 832 | 191 |
|---|
| Proceeds from Stock Options Exercised | 53 | 127 | 40 | 57 | 45 |
|---|
| Proceeds from Stock Plans | - | 52 | 41 | 61 | 77 |
|---|
| Taxes paid related to net share settlement of equity awards | - | - | 185 | 381 | 489 |
|---|
| Repurchases of common stock | - | - | - | 592 | 1,932 |
|---|
| Payments of deferred purchase consideration for business combinations | - | - | 2 | - | 0 |
|---|
| Proceeds from Convertible Debt | - | - | - | - | 2,300 |
|---|
| Cash paid for issuance costs on convertible senior notes | - | - | - | - | 31 |
|---|
| Purchases of capped calls related to convertible senior notes | - | - | - | - | 196 |
|---|
| Proceeds from Noncontrolling Interests | - | - | 13 | - | - |
|---|
| Net cash used in financing activities | 4,775 | 178 | -93 | -854 | -227 |
|---|
| Effect of exchange rate changes on cash, cash equivalents, and restricted cash | -0 | -0 | -1 | -2 | -6 |
|---|
| Net increase (decrease) in cash, cash equivalents, and restricted cash | 693 | 267 | -146 | 824 | 918 |
|---|
| Income Taxes Paid, Net | 1 | 1 | 7 | 12 | 16 |
|---|
| Capital Expenditures Incurred but Not yet Paid | 7 | 5 | 6 | 17 | 36 |
|---|
| Share-Based Payment Arrangement, Amount Capitalized In Software Development Costs | - | 24 | 28 | 48 | 38 |
|---|
| Issuance of common stock in connection with business combinations | - | - | 439 | 174 | 88 |
|---|
| Liability Related to Unpaid Taxes, Tax Withholding, Share-based Payment Arrangement | - | - | - | 7 | 7 |
|---|