| Jan 31, 2018 | Jan 31, 2019 | Jan 31, 2020 | Jan 31, 2021 | Jan 31, 2022 | Jan 31, 2023 | Jan 31, 2024 | Jan 31, 2025 |
|---|
| Net income (loss) | -114 | -125 | -209 | -266 | -848 | -815 | -355 | 28 |
|---|
| Stock-based compensation | 50 | 76 | 127 | 196 | 565 | 677 | 684 | 565 |
|---|
| Depreciation, amortization and accretion | - | - | - | - | - | - | 84 | 88 |
|---|
| Amortization of deferred commissions | 18 | 21 | 29 | 40 | 57 | 84 | 104 | 130 |
|---|
| Deferred income taxes | -1 | -1 | -2 | -1 | -6 | 7 | 6 | 2 |
|---|
| Lease impairment charges | - | - | - | - | - | 14 | 28 | - |
|---|
| Gain on early extinguishment of debt | - | - | -15 | -2 | -0 | - | 106 | 19 |
|---|
| Other, net | -1 | -1 | 0 | -6 | -1 | -3 | -10 | -9 |
|---|
| Accounts receivable | 18 | 40 | 38 | 66 | 175 | 87 | 79 | 63 |
|---|
| Deferred commissions | -21 | -41 | -61 | -81 | -171 | -122 | -158 | -186 |
|---|
| Prepaid expenses and other assets | 10 | 12 | 4 | 13 | 7 | 13 | 32 | 37 |
|---|
| Operating lease right-of-use assets | - | - | -13 | -19 | -23 | -27 | -23 | -20 |
|---|
| Accounts payable | 4 | 1 | 2 | 4 | 7 | -6 | - | 1 |
|---|
| Accrued compensation | 4 | 7 | 23 | 44 | 50 | -44 | 68 | 41 |
|---|
| Accrued expenses and other liabilities | 1 | 16 | 10 | 6 | 21 | 8 | 21 | -3 |
|---|
| Operating lease liabilities | - | - | -10 | -17 | -24 | -34 | -39 | -33 |
|---|
| Deferred revenue | - | 89 | 116 | 142 | 416 | 264 | 250 | 207 |
|---|
| Net cash provided by operating activities | -25 | 15 | 56 | 128 | 104 | 86 | 512 | 750 |
|---|
| Capitalized software | - | - | 4 | 4 | 4 | 9 | 15 | 12 |
|---|
| Purchases of property and equipment | 7 | 20 | 15 | 13 | 12 | 12 | 8 | 8 |
|---|
| Purchases of securities available-for-sale and other | - | 631 | 999 | 2,029 | 1,847 | 1,411 | 1,709 | 1,812 |
|---|
| Proceeds from maturities and redemption of securities available-for-sale | 40 | 299 | 356 | 535 | 1,482 | 1,308 | 2,134 | 1,571 |
|---|
| Proceeds from Sale of Debt Securities, Available-for-Sale | - | 173 | 27 | 206 | 230 | - | 62 | 3 |
|---|
| Payments for business acquisitions, net of cash acquired | - | 16 | 44 | - | 215 | 4 | 22 | 56 |
|---|
| Purchases of intangible assets | 5 | 3 | 9 | 0 | 0 | 2 | 1 | - |
|---|
| Net cash provided by (used in) investing activities | -100 | -197 | -688 | -1,305 | -367 | -130 | 441 | -314 |
|---|
| Payments for repurchases of convertible senior notes | - | - | 224 | 0 | 0 | - | 937 | 280 |
|---|
| Taxes paid related to net share settlement of equity awards | - | - | - | - | - | - | - | 148 |
|---|
| Payments for warrants related to convertible senior notes | - | - | 359 | 175 | - | - | 7 | - |
|---|
| Proceeds from stock option exercises | 34 | 37 | 45 | 46 | 54 | 17 | 15 | 27 |
|---|
| Proceeds from shares issued in connection with employee stock purchase plan | 8 | - | - | 26 | 36 | 31 | 46 | 42 |
|---|
| Net cash provided by (used in) financing activities | 237 | 358 | 853 | 1,092 | 89 | 48 | -883 | -359 |
|---|
| Effects of changes in foreign currency exchange rates on cash, cash equivalents and restricted cash | 0 | -1 | -0 | 2 | -2 | -6 | 1 | -4 |
|---|
| Net increase (decrease) in cash, cash equivalents and restricted cash | 113 | 175 | 221 | -83 | -176 | -2 | 71 | 73 |
|---|
| Interest | - | - | 1 | 4 | 6 | 6 | 5 | 3 |
|---|
| Income taxes | 1 | 1 | 1 | 1 | 3 | 8 | 14 | 19 |
|---|
| Benefit from exercise of hedges related to convertible senior notes | - | - | - | 37 | 92 | 18 | 2 | - |
|---|
| Operating lease right-of-use assets exchanged for lease liabilities | - | - | 17 | 46 | 22 | 11 | 11 | 9 |
|---|