v3.25.4
Financial Instruments - Schedule of Financial Instruments and Balance Sheet Classification (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2026
Jan. 31, 2025
Jan. 31, 2026
Jan. 31, 2025
Apr. 30, 2025
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Assets, fair value $ 1,219,548   $ 1,219,548   $ 1,277,869
Cash and cash equivalents 938,365   938,365   1,006,964
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 38,367   38,367   36,388
Marketable Securities, Non- current 241,745   241,745   233,626
Income Taxes & Other Receivables 1,071   1,071   891
Mutual funds          
Balance Sheet Related Disclosures [Abstract]          
Obligations for which assets are held in trust 220,000   220,000   205,300
Unvested obligations under deferred compensation plans 18,800   18,800   19,500
Increase in the fair value of marketable securities 7,100 $ 9,100 26,100 $ 28,000  
Fair Value, Inputs, Level 2          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Cost 42,010   42,010   40,086
Unrealized Gains 76   76   87
Unrealized Losses (11)   (11)   (11)
Fair Value 42,075   42,075   40,162
Cash and cash equivalents 0   0   500
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 23,848   23,848   24,045
Marketable Securities, Non- current 18,227   18,227   15,617
Income Taxes & Other Receivables 0   0   0
Fair Value, Inputs, Level 2 | Foreign currency forward contracts          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Foreign currency forward contracts, fair value 1,071   1,071   891
Cash and cash equivalents 0   0   0
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 0   0   0
Marketable Securities, Non- current 0   0   0
Income Taxes & Other Receivables 1,071   1,071   891
Fair Value, Inputs, Level 2 | Commercial paper          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Cost         3,842
Unrealized Gains         0
Unrealized Losses         (1)
Fair Value         3,841
Cash and cash equivalents         500
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current         3,341
Marketable Securities, Non- current         0
Income Taxes & Other Receivables         0
Fair Value, Inputs, Level 2 | Corporate notes/bonds          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Cost 41,509   41,509   32,747
Unrealized Gains 73   73   83
Unrealized Losses (11)   (11)   (10)
Fair Value 41,571   41,571   32,820
Cash and cash equivalents 0   0   0
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 23,344   23,344   18,709
Marketable Securities, Non- current 18,227   18,227   14,111
Income Taxes & Other Receivables 0   0   0
Fair Value, Inputs, Level 2 | U.S. Treasury and Agency Securities          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Cost 501   501   3,497
Unrealized Gains 3   3   4
Unrealized Losses 0   0   0
Fair Value 504   504   3,501
Cash and cash equivalents 0   0   0
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 504   504   1,995
Marketable Securities, Non- current 0   0   1,506
Income Taxes & Other Receivables 0   0   0
Fair Value, Inputs, Level 1 | Mutual funds          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Equity securities, fair value 238,037   238,037   230,352
Cash and cash equivalents 0   0   0
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 14,519   14,519   12,343
Marketable Securities, Non- current 223,518   223,518   218,009
Income Taxes & Other Receivables 0   0   0
Fair Value, Inputs, Level 1 | Equity investments          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Equity securities, fair value 238,037   238,037   230,352
Cash and cash equivalents 0   0   0
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 14,519   14,519   12,343
Marketable Securities, Non- current 223,518   223,518   218,009
Income Taxes & Other Receivables 0   0   0
Fair Value, Inputs, Level 1 | Cash          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Cash and cash equivalents, fair value 703,143   703,143   704,091
Cash and cash equivalents 703,143   703,143   704,091
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 0   0   0
Marketable Securities, Non- current 0   0   0
Income Taxes & Other Receivables 0   0   0
Fair Value, Inputs, Level 1 | Money market funds          
Fair Value Measurements, Nonrecurring Value Measurement [Abstract]          
Cash and cash equivalents, fair value 235,222   235,222   302,373
Cash and cash equivalents 235,222   235,222   302,373
Balance Sheet Related Disclosures [Abstract]          
Marketable Securities, Current 0   0   0
Marketable Securities, Non- current 0   0   0
Income Taxes & Other Receivables $ 0   $ 0   $ 0