XML 60 R50.htm IDEA: XBRL DOCUMENT
v3.23.2

Acquisitions - Significant Estimates Used by Management in Determining Fair Values of Customer Relationships Acquired (Details) - Customer relationships | 6 Months Ended
--- | ---
Jun. 30, 2023
Minimum |
Goodwill And Intangible Assets [Line Items] |
Discount rates (in percent) | 15.00%
Customer attrition rates (in percent) | 10.00%
Maximum |
Goodwill And Intangible Assets [Line Items] |
Discount rates (in percent) | 19.00%
Customer attrition rates (in percent) | 20.00%
Weighted Average |
Goodwill And Intangible Assets [Line Items] |
Discount rates (in percent) | 17.00%
Customer attrition rates (in percent) | 18.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: |