| Apr 30, 2019 | Apr 30, 2020 | Apr 30, 2021 | Apr 30, 2022 | Apr 30, 2023 | Apr 30, 2024 |
|---|
| Net income (loss) | -102 | -167 | -129 | -204 | -236 | 62 |
|---|
| Depreciation and amortization | - | 13 | 17 | 20 | 20 | 18 |
|---|
| Amortization of premium and accretion of discount on marketable securities, net | - | - | - | - | 1 | 9 |
|---|
| Capitalized Contract Cost, Amortization | 21 | 28 | 41 | 61 | 69 | 79 |
|---|
| Amortization of debt issuance costs | - | - | - | 1 | 1 | 1 |
|---|
| Non-cash operating lease cost | - | 7 | 8 | 9 | 11 | 11 |
|---|
| Asset impairment charges | - | - | - | - | 6 | - |
|---|
| Stock-based compensation expense | - | - | - | 141 | 204 | 239 |
|---|
| Deferred income taxes | 4 | -2 | 0 | -2 | -2 | -217 |
|---|
| Foreign currency transaction loss (gain) | - | - | 10 | -2 | 1 | -2 |
|---|
| Other | -0 | -1 | 0 | -0 | -0 | 0 |
|---|
| Accounts receivable, net | 30 | 47 | 24 | 62 | 46 | 64 |
|---|
| Deferred contract acquisition costs | 30 | 46 | 81 | 97 | 102 | 120 |
|---|
| Prepaid expenses and other current assets | 18 | 3 | 4 | 3 | -1 | 3 |
|---|
| Other assets | 3 | -6 | 4 | -1 | -9 | -2 |
|---|
| Accounts payable | 2 | 6 | -5 | 21 | 6 | -10 |
|---|
| Accrued expenses and other liabilities | 11 | 5 | 8 | 27 | 4 | 18 |
|---|
| Accrued compensation and benefits | 4 | 20 | 4 | 18 | 8 | 17 |
|---|
| Operating lease liabilities | - | -7 | -8 | -9 | -11 | -12 |
|---|
| Deferred revenue | 72 | 86 | 116 | 84 | 96 | 135 |
|---|
| Net cash provided by operating activities | -24 | -31 | 23 | 6 | 36 | 149 |
|---|
| Purchases of property and equipment | 3 | 5 | 4 | 2 | 3 | 3 |
|---|
| Business acquisitions, net of cash acquired | 2 | 24 | - | 120 | - | 19 |
|---|
| Purchases of marketable securities | - | - | - | - | 270 | 537 |
|---|
| Maturities and redemptions of marketable securities | - | - | - | - | - | 271 |
|---|
| Capitalization of internal-use software | - | - | 0 | 5 | - | - |
|---|
| Net cash used in investing activities | -8 | -29 | -2 | -127 | -273 | -288 |
|---|
| Proceeds from the issuance of debt | - | - | - | 575 | - | - |
|---|
| Proceeds from Stock Plans | - | - | - | - | - | 19 |
|---|
| Proceeds from Stock Options Exercised | 19 | 61 | 77 | 36 | 17 | 21 |
|---|
| Payments of debt issuance costs | - | - | - | 9 | - | - |
|---|
| Net cash provided by financing activities | 282 | 59 | 77 | 602 | 17 | 40 |
|---|
| Effect of exchange rate changes on cash, cash equivalents, and restricted cash | -1 | 0 | 6 | -21 | 3 | -4 |
|---|
| Net (decrease) increase in cash, cash equivalents, and restricted cash | 249 | -1 | 104 | 460 | -217 | -104 |
|---|
| Cash paid for interest | 0 | 0 | - | 13 | 24 | 25 |
|---|
| Income Taxes Paid, Net | 3 | 3 | -0 | 4 | 12 | 24 |
|---|
| Operating Lease, Payments | - | 7 | 9 | 10 | 13 | 14 |
|---|
| Changes in property and equipment included in accounts payable | - | - | - | - | - | 0 |
|---|
| Operating lease right-of-use assets for new lease obligations | - | 12 | 1 | 9 | 11 | 12 |
|---|