XML 68 R54.htm IDEA: XBRL DOCUMENT
v3.22.4

Acquisitions - Significant Estimates Used by Management in Determining Fair Values of Customer Relationships Acquired (Details) - Customer relationships | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Goodwill And Intangible Assets [Line Items] |  |
Discount rates | 22.00% |
Customer attrition rates | 20.00% |
Minimum |  |
Goodwill And Intangible Assets [Line Items] |  |
Discount rates |  | 18.00%
Customer attrition rates |  | 8.00%
Maximum |  |
Goodwill And Intangible Assets [Line Items] |  |
Discount rates |  | 26.00%
Customer attrition rates |  | 30.00%
Weighted Average |  |
Goodwill And Intangible Assets [Line Items] |  |
Discount rates |  | 18.00%
Customer attrition rates |  | 10.00%

X
- Definition Fair Value Inputs, Customer Attrition Rates + References No definition available. + Details
Name: | pwr_FairValueInputsCustomerAttritionRates
Namespace Prefix: | pwr_
Data Type: | dtr-types: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-types: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: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
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: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |