Credit Losses - Schedule of Activity in Allowance for Credit Losses on Trade Receivables (Details) - USD ($) $ in Thousands |
9 Months Ended | |
|---|---|---|
Jan. 31, 2026 |
Jan. 31, 2025 |
|
| Accounts Receivable, Allowance for Credit Loss [Roll Forward] | ||
| Beginning balance | $ 40,461 | |
| Provision for credit losses | 13,977 | $ 12,918 |
| Write-offs | (9,318) | |
| Recoveries of amounts previously written off | 131 | |
| Foreign currency translation | 739 | |
| Ending balance | $ 45,990 | |
| X | ||||||||||
- Definition Allowance for doubtful accounts foreign currency translation. No definition available.
|
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in allowance for credit loss on accounts receivable, from recovery. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|