Segments - Reconciliation of Net Income to Adjusted EBITDA (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||||||
|---|---|---|---|---|---|---|---|---|
Jan. 31, 2025 |
Oct. 31, 2024 |
Jul. 31, 2024 |
Jan. 31, 2024 |
Oct. 31, 2023 |
Jul. 31, 2023 |
Jan. 31, 2025 |
Jan. 31, 2024 |
|
| Segment Reporting [Abstract] | ||||||||
| Net income (loss) | $ (21,409) | $ 53,536 | $ 57,248 | $ 51,905 | $ 80,957 | $ 86,830 | $ 89,375 | $ 219,692 |
| Interest expense | 23,069 | 18,784 | 68,979 | 56,440 | ||||
| Write-off of debt discount and deferred financing fees | 0 | 0 | 0 | 1,401 | ||||
| Interest income | (189) | (378) | (752) | (1,144) | ||||
| Provision for income taxes | 4,177 | 17,468 | 44,013 | 71,407 | ||||
| Depreciation expense | 21,271 | 17,276 | 61,028 | 50,566 | ||||
| Amortization expense | 21,159 | 15,528 | 61,512 | 47,193 | ||||
| Impairment of goodwill | 42,454 | 0 | 42,454 | 0 | ||||
| Stock appreciation rights | 691 | 1,789 | 1,331 | 3,408 | ||||
| Redeemable noncontrolling interests and deferred compensation | 34 | 461 | 1,149 | 1,125 | ||||
| Equity-based compensation | 3,422 | 3,559 | 12,025 | 11,974 | ||||
| Severance and other permitted costs | 2,282 | 1,033 | 9,698 | 2,321 | ||||
| Transaction costs (acquisitions and other) | 789 | 765 | 3,262 | 3,373 | ||||
| (Gain) loss on disposal of assets | (5,333) | (222) | (4,826) | (663) | ||||
| Effects of fair value adjustments to inventory | 3 | 8 | 484 | 450 | ||||
| Change in fair value of contingent consideration | 621 | 0 | 1,414 | 0 | ||||
| Debt transaction costs | 0 | 44 | 0 | 1,333 | ||||
| Adjusted EBITDA | $ 93,041 | $ 128,020 | $ 391,146 | $ 468,876 | ||||
| X | ||||||||||
- Definition Represents the amount of adjusted earnings before interest, taxes, depreciation and amortization, as defined by the reporting entity. No definition available.
|
| X | ||||||||||
- Definition The effect on income of purchase accounting adjustments to increase inventory to its estimated fair value. No definition available.
|
| X | ||||||||||
- Definition Amount of expense (income) related to adjustment to fair value of equity based compensation liabilities for redeemable noncontrolling interests. No definition available.
|
| X | ||||||||||
- Definition Amount of expense (income) related to adjustment to fair value of liability for stock appreciation rights. No definition available.
|
| X | ||||||||||
- Definition Combined amount of expenses associated with exit or disposal activities pursuant to an authorized plan and certain costs classified as other related to a discontinued operation, closed branch or permitted costs, as defined in the entity's debt agreements. No definition available.
|
| X | ||||||||||
- Definition Amount of direct costs of a business combination and other significant transactions, including legal, accounting, and other costs incurred to consummate the transactions. No definition available.
|
| X | ||||||||||
- Definition Transaction Costs, Debt No definition available.
|
| X | ||||||||||
- Definition Write-off of amounts previously capitalized as debt issuance cost and unamortized debt discount (net of debt premium) that was originally recognized at the issuance of the instrument in an extinguishment of debt. No definition available.
|
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of gain (loss) on sale or disposal of assets, including but not limited to property plant and equipment, intangible assets and equity in securities of subsidiaries or equity method investee. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of impairment loss from asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest expense classified as nonoperating. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest income (expense) classified as operating. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|