Acquisitions - Narrative (Details) $ in Thousands |
6 Months Ended | 12 Months Ended | |
|---|---|---|---|
|
Jun. 30, 2026
USD ($)
entity
|
Jun. 30, 2025
USD ($)
entity
|
Jun. 30, 2026
USD ($)
entity
|
|
| Business Combination [Line Items] | |||
| Acquisition-related costs | $ 9,948 | $ 15,943 | |
| Goodwill expected to be deductible for tax purposes | 67,637 | 117,571 | $ 67,637 |
| Trade receivables acquired in business combination gross contractual amount | 10,915 | 18,687 | 10,915 |
| Trade receivables acquired in business combination expected to be uncollectible amount | 602 | 433 | $ 602 |
| Number of individually immaterial acquisitions | entity | 5 | ||
| Payment of contingent consideration recorded at acquisition date | $ 4,707 | $ 22,895 | |
| Solid waste | |||
| Business Combination [Line Items] | |||
| Number of immaterial businesses acquired in period | entity | 6 | 10 | |
| E&P | |||
| Business Combination [Line Items] | |||
| Number of immaterial businesses acquired in period | entity | 2 | 2 | |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The amount of goodwill arising from a business combination that is expected to be deductible for tax purposes. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of estimated contractual cash flow not expected to be collected for receivable purchased without credit deterioration, acquired in business combination. Excludes purchased financial asset with credit deterioration. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of gross contractual receivable purchased without credit deterioration, acquired in business combination. Excludes purchased financial asset with credit deterioration. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expense for acquisition-related cost incurred to effect business combination. Includes, but is not limited to, finder's fee; advisory, legal, accounting, valuation, and other professional and consulting fees; and general administrative cost, including cost of maintaining internal acquisition department. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of businesses acquired in business combination. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of cash outflow, not made soon after acquisition date of business combination, to settle contingent consideration liability up to amount recognized at acquisition date, including, but not limited to, measurement period adjustment and less amount paid soon after acquisition date. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition This element represents the number of acquisitions for which the initial accounting is incomplete. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|