| USD ($) $ in Thousands | Jul 31, 2026 | Apr 30, 2026 | Oct 31, 2025 | Jul 31, 2025 | Apr 30, 2025 | Oct 31, 2024 | Jul 31, 2024 | Apr 30, 2024 | Oct 31, 2023 | Jul 31, 2023 | Apr 30, 2023 | Oct 31, 2022 | Jul 31, 2022 | Apr 30, 2022 | Oct 31, 2021 | Jul 31, 2021 | Apr 30, 2021 | Oct 31, 2020 | Jul 31, 2020 | Apr 30, 2020 | Oct 31, 2019 | Jul 31, 2019 | Apr 30, 2019 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Operating activities | |||||||||||||||||||||||
Net income (loss) | $ 5,306 | $ 45,966 | $ (33,988) | $ (77,645) | $ (110,993) | $ (16,819) | $ 46,690 | $ 46,264 | $ 26,669 | $ 8,476 | $ 499 | $ (54,631) | |||||||||||
Adjustments to reconcile net income (loss) to net cash provided by operating activities: | |||||||||||||||||||||||
Depreciation and amortization | 82,075 | 75,522 | 64,049 | 60,411 | 56,423 | 48,915 | 46,247 | 42,689 | 33,788 | 29,775 | 26,409 | 19,476 | |||||||||||
Loss on disposal of property and equipment | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Amortization of intangible assets | 133 | 12,405 | 78 | 76 | 7,634 | 63 | 63 | 5,995 | 46 | 41 | 4,174 | 41 | |||||||||||
Amortization of deferred contract acquisition costs | 108,196 | 98,856 | 115,493 | 107,038 | 102,903 | 79,862 | 73,723 | 74,128 | 60,281 | 57,555 | 55,322 | 43,996 | |||||||||||
Non-cash operating lease cost | 5,444 | 4,927 | 3,908 | 4,531 | 4,186 | 3,933 | 3,795 | 3,372 | 3,394 | 3,239 | 3,092 | 2,294 | |||||||||||
Change in fair value of redeemable convertible preferred stock warrant liability | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Provision for credit losses | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Stock-based compensation expense | 376,914 | 297,703 | 281,971 | 287,153 | 253,604 | 208,888 | 200,877 | 183,125 | 159,614 | 164,777 | 130,856 | 140,113 | |||||||||||
Deferred income taxes | 3,769 | (10,831) | (3,042) | (639) | (1,681) | (193) | (1,674) | (255) | (2,003) | (97) | (255) | 682 | |||||||||||
Realized gains on strategic investments | - | (36,362) | - | - | 0 | - | 654 | (6,881) | - | - | - | - | |||||||||||
Non-cash interest expense | 413 | 470 | 1,240 | 1,205 | 1,088 | 963 | 911 | 874 | 806 | 777 | 754 | 711 | |||||||||||
Change in fair value of strategic investments | 0 | 0 | 0 | 0 | 1,579 | - | - | - | - | - | 0 | (629) | |||||||||||
Gain on sale of debt securities, net | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Accretion of short-term investments purchased at a discount | - | - | - | - | 0 | - | - | 2,285 | (1,934) | - | - | - | |||||||||||
Changes in operating assets and liabilities, net of impact of acquisitions | |||||||||||||||||||||||
Accounts receivable, net | (104,651) | 428,834 | (125,812) | (77,863) | 319,871 | (152,876) | 41,811 | 150,249 | (20,860) | (78,371) | 165,089 | (66,512) | |||||||||||
Deferred contract acquisition costs | (205,734) | (92,702) | (180,038) | (148,819) | (102,803) | (203,079) | (91,853) | (66,480) | (84,671) | (72,475) | (49,532) | (74,325) | |||||||||||
Prepaid expenses and other assets | (20,430) | (74,992) | (29,029) | (29,416) | (20,995) | 20,392 | (34,622) | (28,602) | 4,366 | (17,796) | (8,542) | (3,183) | |||||||||||
Accounts payable | 46,637 | (54,354) | 3,683 | 69,918 | (83,228) | 34,168 | (348) | 276 | 5,343 | 15,614 | (18,596) | 24,213 | |||||||||||
Accrued expenses and other liabilities | 55,908 | (43,990) | 7,137 | 56,479 | (43,763) | 77,699 | 24,597 | (16,629) | 28,662 | 41,511 | (36,576) | 16,097 | |||||||||||
Accrued payroll and benefits | 48,028 | (19,634) | 57,538 | 12,917 | (37,848) | 119,328 | (11,740) | (17,692) | 31,971 | (12,880) | (17,281) | 21,390 | |||||||||||
Operating lease liabilities | (4,926) | (4,161) | (866) | (3,527) | (4,586) | (4,699) | (2,582) | (4,531) | (9,672) | (3,276) | (3,199) | (2,333) | |||||||||||
Deferred revenue | 120,034 | (36,720) | 227,497 | 63,462 | 42,716 | 103,321 | 23,818 | 15,041 | 33,127 | 103,850 | 48,678 | 171,346 | |||||||||||
Other liabilities, noncurrent | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Net cash provided by operating activities | 530,268 | 590,937 | 397,541 | 332,832 | 384,107 | 326,136 | 326,641 | 383,228 | 273,518 | 244,781 | 300,892 | 242,851 | |||||||||||
Investing activities | |||||||||||||||||||||||
Purchases of property and equipment | (124,413) | (97,624) | (83,395) | (30,497) | (85,751) | (78,704) | (39,254) | (49,683) | (21,264) | (40,417) | (62,264) | (61,270) | |||||||||||
Capitalized internal-use software and website development costs | (26,519) | (22,571) | (16,770) | (17,289) | (17,437) | (16,271) | (14,516) | (10,479) | (12,630) | (15,073) | (10,902) | (7,504) | |||||||||||
Purchases of strategic investments | (3,000) | (400) | (8,850) | (1,043) | (374) | (10,000) | (1,044) | (1,658) | - | (1,664) | (10,513) | (10,181) | |||||||||||
Proceeds from sales of strategic investments | 7,307 | 10,197 | 513 | 1,242 | 3,146 | - | 488 | 10,407 | - | - | - | - | |||||||||||
Purchases of intangible assets | (3,000) | - | - | - | - | - | - | - | (26) | (500) | 0 | - | |||||||||||
Purchase of strategic investments | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Business acquisitions, net of cash and restricted cash acquired | - | (881,376) | (380,914) | - | 0 | - | (5) | (96,376) | (238,749) | - | - | (18,464) | |||||||||||
Proceeds from maturities and sales of short-term investments | - | - | - | - | 0 | - | - | 97,300 | - | 250,000 | - | - | |||||||||||
Purchases of short-term investments | - | - | - | - | - | - | - | - | (195,581) | - | - | - | |||||||||||
Proceeds from sales of investments | - | - | - | - | - | - | - | - | - | - | 150,000 | - | |||||||||||
Purchases of deferred compensation investments | (1,990) | (2,348) | (1,487) | (1,311) | (1,459) | (606) | (600) | (609) | (586) | (586) | (290) | - | |||||||||||
Proceeds from the sale of deferred compensation investments | 61 | 69 | 9 | 119 | 45 | - | 41 | - | - | - | - | - | |||||||||||
Purchases of marketable securities | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Proceeds from sales of marketable securities | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Maturities of marketable securities | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Net cash used in investing activities | (151,554) | (994,053) | (490,894) | (48,779) | (101,830) | (105,581) | (54,890) | (51,098) | (468,836) | 41,760 | 66,031 | (97,419) | |||||||||||
Financing activities | |||||||||||||||||||||||
Repayment of loan payable | - | - | - | - | - | - | - | - | - | - | - | (1,591) | |||||||||||
Payment of debt issuance costs related to revolving line of credit | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Payment of debt issuance costs related to Senior Notes | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Proceeds from the issuance of common stock upon initial public offering, net of underwriting discounts | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Payments of deferred offering costs | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Proceeds from issuance of common stock upon exercise of stock options | 986 | 683 | 273 | 1,721 | 634 | 844 | 1,641 | 823 | 2,053 | 1,474 | 2,651 | 1,477 | |||||||||||
Proceeds from issuance of common stock under the employee stock purchase plan | 86,624 | - | - | 74,622 | - | - | 56,099 | - | - | 45,432 | - | - | |||||||||||
Distributions to non-controlling interest holders | (3,654) | (20,952) | - | (2,156) | 0 | - | (244) | (3,841) | - | - | - | - | |||||||||||
Capital contributions from non-controlling interest holders | - | 0 | 4,500 | - | 1,500 | - | 5,000 | 500 | - | 2,831 | 5,257 | 5,090 | |||||||||||
Repurchases of common stock | - | (175,622) | - | - | - | - | - | - | - | - | - | - | |||||||||||
Proceeds from the issuance of common stock upon exercise of early exercisable stock options | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Net cash provided by (used in) financing activities | 83,956 | (195,891) | 4,773 | 74,187 | 2,134 | 844 | 62,496 | (2,518) | 2,053 | 49,737 | 7,908 | 4,976 | |||||||||||
Effect of foreign exchange rates on cash, cash equivalents and restricted cash | (1,732) | 116 | 722 | 49 | 6,546 | 399 | 877 | (1,917) | (4,494) | 1,273 | (190) | (2,744) | |||||||||||
Net increase (decrease) in cash, cash equivalents and restricted cash | 460,938 | (598,891) | (87,858) | 358,289 | 290,957 | 221,798 | 335,124 | 327,695 | (197,759) | 337,551 | 374,641 | 147,664 | |||||||||||
Supplemental disclosure of cash flow information: | |||||||||||||||||||||||
Interest paid | - | 11,250 | 11,250 | - | 11,250 | 11,250 | - | 11,250 | 11,250 | - | 11,250 | 11,258 | |||||||||||
Income taxes paid, net of refunds received | 12,911 | 23,314 | 15,474 | 9,005 | 17,026 | 3,945 | 2,656 | 7,594 | 7,920 | 6,614 | 3,377 | 1,802 | |||||||||||
Supplemental disclosure of non-cash investing and financing activities: | |||||||||||||||||||||||
Conversion of redeemable convertible preferred stock to common stock | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Conversion of redeemable convertible preferred stock warrant liabilities reclassed to additional paid-in capital | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Net (decrease) increase in deferred offering costs, accrued but not paid | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Net change in property and equipment included in accounts payable and accrued expenses | - | - | - | - | - | - | - | - | - | - | - | - | |||||||||||
Net increase in property and equipment included in accounts payable and accrued expenses | 21,185 | 30,951 | 5,826 | 40,130 | (32,212) | 39,280 | 1,186 | (17,655) | 14,223 | 2,390 | (22,479) | (5,539) | |||||||||||
Equity consideration for acquisitions | - | 22,949 | 2,302 | - | 0 | - | - | 468 | 652 | - | - | 50 | |||||||||||
Vesting of early exercised stock options | - | - | - | - | - | - | - | - | - | - | 0 | 734 | |||||||||||
Operating lease liabilities arising from obtaining operating right-of-use assets | 4,180 | 4,398 | 7,078 | 28,273 | 0 | 4,155 | 1,095 | 1,759 | 8,800 | (764) | 13,847 | (428) | |||||||||||
Purchases of intangible assets included in accrued expenses and other liabilities | - | - | - | - | - | - | - | 0 | - | (474) | 500 | - | |||||||||||
Proceeds from sales of strategic investments not yet received | (7,307) | 7,705 | (495) | (1,185) | 1,846 | - | 74 | 4,734 | - | - | - | - | |||||||||||
Stock-based compensation included in capitalized software development costs and fixed assets | 20,967 | 15,832 | 14,062 | 15,140 | 13,291 | 12,456 | 11,512 | 7,966 | - | - | - | - | |||||||||||
Noncash consideration for the purchase of strategic investments | - | - | - | 1,101 | 0 | - | - | 3,319 | - | - | - | - | |||||||||||
Noncash consideration received from sales of strategic investments | - | - | - | - | 0 | - | - | 3,319 | - | - | - | - | |||||||||||
Fair value of common stock issued for consideration transferred | - | - | 10,318 | - | - | - | - | - | - | - | - | - | |||||||||||
Restricted cash held in escrow for purchase consideration for business combinations | - | $ 74,000 | $ 83,000 | - | - | - | - | - | - | - | - | - |