XML 76 R58.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Acquisitions - Significant Estimates Used by Management in Determining Fair Values of Customer Relationships Acquired (Details) - Customer relationships | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Minimum |  |
Goodwill And Intangible Assets [Line Items] |  |
Discount rates | 15.00% | 14.00%
Customer attrition rates | 10.00% | 10.00%
Maximum |  |
Goodwill And Intangible Assets [Line Items] |  |
Discount rates | 24.00% | 19.00%
Customer attrition rates | 25.00% | 30.00%
Weighted Average |  |
Goodwill And Intangible Assets [Line Items] |  |
Discount rates | 15.00% | 17.00%
Customer attrition rates | 11.00% | 19.00%

X
- Definition Fair Value Inputs, Customer Attrition Rates + References No definition available. + Details
Name: | pwr_FairValueInputsCustomerAttritionRates
Namespace Prefix: | pwr_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair Value Inputs, Discount Rate + References No definition available. + Details
Name: | pwr_FairValueInputsDiscountRate
Namespace Prefix: | pwr_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Goodwill and intangible assets. + References No definition available. + Details
Name: | pwr_GoodwillAndIntangibleAssetsLineItems
Namespace Prefix: | pwr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
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: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |