XML 48 R37.htm IDEA: XBRL DOCUMENT
v3.22.1

Revenue from Contracts with Customers (Details) - USD ($) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2022 | Mar. 31, 2021 | Dec. 31, 2021
Revenue From Contract With Customers [Line Items] |  |  |
Performance obligation satisfied in previous period | $ 0 | $ 0 |
Change in estimate of transaction price | 0 | 0 |
Change in total estimated cost | 10,000,000 | $ 0 |
Allowance for credit losses | 22,956,000 |  | $ 23,534,000
Increase in net contract liabilities | 6,800,000 |  |
Contract asset impairment | 0 |  | $ 0
Remaining performance obligations | 5,952,881,000 |  |
Minimum [Member] |  |  |
Revenue From Contract With Customers [Line Items] |  |  |
Change in total estimated cost | 1,000,000 |  |
United States Electrical Construction And Facilities Services [Member] |  |  |
Revenue From Contract With Customers [Line Items] |  |  |
Change in total estimated cost | 4,600,000 |  |
United States Mechanical Construction And Facilities Services [Member] |  |  |
Revenue From Contract With Customers [Line Items] |  |  |
Change in total estimated cost | $ 5,400,000 |  |

X
- Definition Amount of increase (decrease) in revenue recognized for cumulative catch-up adjustment from change in measure of progress which increases (decreases) right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time. + References No definition available. + Details
Name: | eme_ContractWithCustomerCumulativeCatchUpAdjustmentToRevenueChangeInMeasureOfProgress
Namespace Prefix: | eme_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase in net contract liabilities. + References No definition available. + Details
Name: | eme_ContractwithCustomerNetLiabilitiesIncrease
Namespace Prefix: | eme_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition RevenueFromContractWithCustomersLineItems + References No definition available. + Details
Name: | eme_RevenueFromContractWithCustomersLineItemsLineItems
Namespace Prefix: | eme_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expense (reversal of expense) for expected credit loss on right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130551-203045 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045 + Details
Name: | us-gaap_ContractWithCustomerAssetCreditLossExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase (decrease) in revenue recognized for cumulative catch-up adjustment from change in estimate of transaction price which increases (decreases) right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time. Includes, but is not limited to, change in assessment of whether estimate of variable consideration is constrained. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130551-203045 + Details
Name: | us-gaap_ContractWithCustomerAssetCumulativeCatchUpAdjustmentToRevenueChangeInEstimateOfTransactionPrice
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of revenue recognized from performance obligation satisfied or partially satisfied in previous reporting periods. Includes, but is not limited to, change in transaction price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 12A -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL108322424-203045 + Details
Name: | us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of transaction price allocated to performance obligation that has not been recognized as revenue. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=eme_UnitedStatesElectricalConstructionAndFacilitiesServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=eme_UnitedStatesMechanicalConstructionAndFacilitiesServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |