XML 66 R51.htm IDEA: XBRL DOCUMENT
v3.20.4

Summary of Significant Accounting Policies - Significant Estimates Used by Management in Determining Fair Values of Customer Relationships Acquired (Details) | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Minimum |  |  |
Goodwill And Intangible Assets [Line Items] |  |  |
Discount rates | 19.00% | 19.00% | 20.00%
Customer attrition rates | 10.00% | 5.00% | 20.00%
Maximum |  |  |
Goodwill And Intangible Assets [Line Items] |  |  |
Discount rates | 25.00% | 24.00% | 27.00%
Customer attrition rates | 43.00% | 37.00% | 33.00%
Weighted Average |  |  |
Goodwill And Intangible Assets [Line Items] |  |  |
Discount rates | 20.00% | 24.00% | 25.00%
Customer attrition rates | 13.00% | 6.00% | 22.00%

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

X
- Definition Fair Value Inputs, Rate Of Return + References No definition available. + Details
Name: | pwr_FairValueInputsRateOfReturn
Namespace Prefix: | pwr_
Data Type: | num: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: | 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: |