XML 121 R106.htm IDEA: XBRL DOCUMENT
v3.20.4

Commitments and Contingencies - Legal Proceedings (Details) - USD ($) $ in Thousands | 1 Months Ended | 3 Months Ended | 12 Months Ended | 52 Months Ended |
--- | --- | --- | --- | --- | ---
Aug. 31, 2020 | Jul. 31, 2020 | Jul. 31, 2019 | Apr. 30, 2019 | Jun. 30, 2019 | Sep. 30, 2017 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2015 | Apr. 30, 2019 | Nov. 30, 2021
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Gross profit (loss) |  |  |  |  |  |  | $ (1,660,847) | $ (1,600,252) | $ (1,479,964) |  |  |
Termination of the Peru Telecommunications Project |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Recorded charges |  |  |  |  | $ 79,200 |  |  |  |  |  |  |
Net receivable position on projects |  |  |  |  |  |  | 120,000 |  |  |  |  |
Scenario, Adjustment | Correction Of Estimated Project Costs And Percentage Of Completion Method [Member] | Termination of the Peru Telecommunications Project |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Gross profit (loss) |  |  |  |  | $ 14,500 |  |  |  |  |  |  |
Lorenzo Benton v Telecom Network Specialists Inc | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Reasonably possible amount of loss |  |  |  |  |  |  | 9,500 |  |  |  |  |
Damages awarded |  | $ 9,500 |  |  |  |  |  |  |  |  |  |
Redes | Termination of the Peru Telecommunications Project |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Advance payments received |  |  |  |  |  |  |  |  |  |  | $ 87,000 |
On-demand performance bonds |  |  |  |  |  |  |  |  |  | $ 25,000 |  |
Construction costs incurred |  |  |  |  |  |  |  |  |  |  | 157,000 |
Payments received on construction contracts |  |  |  |  |  |  |  |  |  |  | $ 100,000 |
Redes | Forecast | Termination of the Peru Telecommunications Project |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Payment Of Arbitration |  |  |  |  |  |  |  |  |  |  |  | $ 190,000
Redes | Telecommunication Networks Construction and Operation |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Term of post-construction operation and maintenance period |  |  |  |  |  |  |  |  |  | 10 years |  |
Redes | Telecommunication Networks Construction and Operation | Termination of the Peru Telecommunications Project |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Aggregate consideration for projects |  |  |  |  |  |  |  |  |  | $ 248,000 |  |
Aggregate consideration to be paid during the construction period |  |  |  |  |  |  |  |  |  | 151,000 |  |
Aggregate consideration to be paid during the post-construction operation and maintenance period |  |  |  |  |  |  |  |  |  | $ 97,000 |  |
QPS | Maurepas Project Dispute |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Damages sought |  |  |  |  |  | $ 22,000 |  |  |  |  |  |
Maurepas | Maurepas Project Dispute |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Damages sought |  |  | $ 59,000 |  |  |  |  |  |  |  |  |
PRONATEL | Termination of the Peru Telecommunications Project |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Damages sought | $ 44,000 |  |  | $ 45,000 |  |  |  |  |  |  |  |
Amount collected through exercise of advance payment bonds |  |  |  |  |  |  | $ 87,000 |  |  |  |  |

X
- Definition Construction In Process, Costs Incurred + References No definition available. + Details
Name: | pwr_ConstructionInProcessCostsIncurred
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Contract With Customer, Contract Value + References No definition available. + Details
Name: | pwr_ContractWithCustomerContractValue
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contract With Customer, Contract Value, Consideration To Be Transferred During Construction + References No definition available. + Details
Name: | pwr_ContractWithCustomerContractValueConsiderationToBeTransferredDuringConstruction
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contract With Customer, Contract Value, Consideration To Be Transferred During Subsequent Period + References No definition available. + Details
Name: | pwr_ContractWithCustomerContractValueConsiderationToBeTransferredDuringSubsequentPeriod
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contract With Customer, Contract Value, Subsequent Payment Period + References No definition available. + Details
Name: | pwr_ContractWithCustomerContractValueSubsequentPaymentPeriod
Namespace Prefix: | pwr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contract With Customer, On-Demand Performance Bonds + References No definition available. + Details
Name: | pwr_ContractWithCustomerOnDemandPerformanceBonds
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Proceeds From Construction Contracts + References No definition available. + Details
Name: | pwr_ProceedsFromConstructionContracts
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Proceeds From Refund Of Advances For Construction + References No definition available. + Details
Name: | pwr_ProceedsFromRefundOfAdvancesForConstruction
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount billed to customers under long-term contracts or programs but not paid. Excludes amounts due that have been withheld because of retainage provisions in a contract. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 910 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=119991564&loc=SL119991595-234733 + Details
Name: | us-gaap_AccountsReceivableBilledForLongTermContractsOrPrograms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of billed or unbilled claims or other similar items subject to uncertainty concerning their determination or ultimate realization under long-term contracts. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 910 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=119991564&loc=SL119991585-234733 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)(c)(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ContractsReceivableClaimsAndUncertainAmounts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8924-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1,2) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599 + Details
Name: | us-gaap_GrossProfit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of damages awarded to the plaintiff in the legal matter. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyDamagesAwardedValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The value (monetary amount) of the award the plaintiff seeks in the legal matter. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyDamagesSoughtValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reflects the estimated amount of loss from the specified contingency as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121555522&loc=d3e12021-110248 + Details
Name: | us-gaap_LossContingencyEstimateOfPossibleLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of loss pertaining to the specified contingency that was charged against earnings in the period, including the effects of revisions in previously reported estimates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyLossInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from borrowing by the entity from developers, builders, government agencies and municipalities for construction that are repaid in cash, generally on a straight-line basis over periods ranging from five to forty years. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromAdvancesForConstruction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=pwr_ProjectContractTerminationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=us-gaap_ScenarioAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis=pwr_CorrectionOfEstimatedProjectCostsAndPercentageOfCompletionMethodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=pwr_LorenzoBentonvTelecomNetworkSpecialistsIncMember
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: | dei_LegalEntityAxis=pwr_RedesAndinasDeComunicacionesS.R.L.RedesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=pwr_TelecommunicationNetworksConstructionAndOperationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=pwr_QPSEngineeringLLCQPSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=pwr_MaurepasProjectDisputeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=pwr_MaurepasPipelineLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=pwr_ProgramaNacionalDeTelecomunicacionesPRONATELMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |