XML 64 R52.htm IDEA: XBRL DOCUMENT
v3.25.1

Debt (Narrative) (Details) - USD ($) |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Dec. 20, 2023 | Mar. 31, 2025 | Dec. 31, 2024
Line of Credit Facility [Line Items] |  |  |
Finance lease liabilities |  | $ 7,014,000 | $ 6,095,000
Finance lease liabilities, current |  | $ 2,500,000 | $ 2,200,000
Other accrued expenses and liabilities |  | Other Liabilities, Current | Other Liabilities, Current
Finance lease liabilities, long-term |  | $ 4,600,000 | $ 3,800,000
Other long-term obligations |  | Other Liabilities, Noncurrent | Other Liabilities, Noncurrent
Borrowings under revolving credit facility (in US dollars) |  | $ 250,000,000 | $ 0
Letters of credit outstanding (in US dollars) |  | $ 71,500,000 | 71,200,000
Interest rate description |  | At the Company’s election, borrowings under the 2023 Revolving Credit Facility bear interest at either: (1) a base rate plus a margin of 0.125% to 0.875%, depending on the Company’s Leverage Ratio (as such term is defined in the 2023 Credit Agreement), or (2) a rate equal to the secured overnight financing rate as administered by the Federal Reserve Bank of New York for the applicable tenor plus 0.10% (“Adjusted Term SOFR”) plus a margin of 1.125% to 1.875%, depending on the Company’s Leverage Ratio. The base rate is determined by the greater of: (a) the prime commercial lending rate announced by Bank of Montreal from time to time, (b) the federal funds effective rate, plus 1/2 of 1.00%, (c) Adjusted Term SOFR for a one-month tenor, plus 1.00%, or (d) 0.00%. The interest rate in effect at March 31, 2025 was 5.54%. |
2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Borrowings under revolving credit facility (in US dollars) |  | $ 250,000,000 | 0
Interest rate |  | 5.54% |
2023 Credit Agreement |  |  |
Line of Credit Facility [Line Items] |  |  |
Credit agreement, initiation date | Dec. 20, 2023 |  |
Expiration date of credit agreement |  | Dec. 20, 2028 |
Base Rate | Minimum [Member] | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Basis spread on variable rate |  | 0.125% |
Base Rate | Maximum [Member] | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Basis spread on variable rate |  | 0.875% |
Adjusted Term SOFR | Minimum [Member] | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Basis spread on variable rate |  | 1.125% |
Adjusted Term SOFR | Maximum [Member] | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Basis spread on variable rate |  | 1.875% |
Credit Agreement Base Rate, Federal Funds Rate | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Basis spread on variable rate |  | 0.50% |
Credit Agreement Base Rate, Adjusted Term SOFR One Month Tenor Rate | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Basis spread on variable rate |  | 1.00% |
Credit Agreement, 0% Base Rate | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Basis spread on variable rate |  | 0.00% |
Secured Overnight Financing Rate (SOFR) | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Basis spread on variable rate |  | 0.10% |
Revolving Credit Facility [Member] | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Line of credit facility maximum borrowing capacity (in US dollars) | $ 1,300,000,000 |  |
Increase in borrowing capacity (in US dollars) |  | $ 900,000,000 |
Letters of credit maximum borrowing capacity (in US dollars) |  | 600,000,000 |
Borrowings under revolving credit facility (in US dollars) |  | $ 250,000,000 | $ 0
Commitment fee percentage of unused amount |  | 0.125% | 0.125%
Revolving Credit Facility [Member] | Minimum [Member] | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Commitment fee percentage of unused amount |  | 0.125% |
Letter of credit fees |  | 0.85% |
Revolving Credit Facility [Member] | Maximum [Member] | 2023 Revolving Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Commitment fee percentage of unused amount |  | 0.25% |
Letter of credit fees |  | 1.875% |

X
- Definition Date the credit agreement expires. + References No definition available. + Details
Name: | eme_CreditAgreementExpirationDate1
Namespace Prefix: | eme_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Credit Agreement, Initiation Date + References No definition available. + Details
Name: | eme_CreditAgreementInitiationDate1
Namespace Prefix: | eme_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase in borrowing capacity if additional lenders are identified and/or existing lenders are willing to increase their current commitments. + References No definition available. + Details
Name: | eme_IncreaseBorrowingCapacity
Namespace Prefix: | eme_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Letters of credit maximum borrowing capacity. + References No definition available. + Details
Name: | eme_LettersOfCreditMaximumBorrowingCapacity
Namespace Prefix: | eme_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Range of letter of credit fees. + References No definition available. + Details
Name: | eme_RangeOfLetterOfCreditFees
Namespace Prefix: | eme_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from finance lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_FinanceLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from finance lease, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_FinanceLeaseLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes current finance lease liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-2 + Details
Name: | us-gaap_FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from finance lease, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_FinanceLeaseLiabilityNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes noncurrent finance lease liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-2 + Details
Name: | us-gaap_FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The effective interest rate at the end of the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of interest rate for borrowing under credit facility. Includes, but is not limited to, terms and method for determining interest rate. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the noncurrent portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481573/470-10-45-13 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 45 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481573/470-10-45-14 + Details
Name: | us-gaap_LongTermLineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=eme_RevolvingCreditFacility2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=eme_CreditAgreement2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=eme_AdjustedTermSOFRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=eme_RevolvingCreditFacilityBaseRateFederalFundsRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=eme_RevolvingCreditFacilityBaseRateAdjustedSOFROneMonthTenorRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=eme_RevolvingCreditFacility0BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |