XML 83 R73.htm IDEA: XBRL DOCUMENT
v3.22.2

Commitments and Contingencies - Legal Proceedings (Details) $ in Thousands | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended | 24 Months Ended | 52 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Aug. 31, 2020 USD ($) | Jul. 31, 2019 USD ($) | Apr. 30, 2019 USD ($) | Jun. 30, 2022 USD ($) | Jun. 30, 2021 USD ($) | Jun. 30, 2019 USD ($) | Sep. 30, 2017 USD ($) | Jun. 30, 2022 USD ($) | Jun. 30, 2021 USD ($) | Dec. 31, 2015 USD ($) | Dec. 31, 2020 USD ($) | Apr. 30, 2019 USD ($) | Aug. 31, 2019 building | May 31, 2019 USD ($)
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gross Profit |  |  |  | $ (624,590) | $ (447,711) |  |  | $ (1,172,761) | $ (820,601) |  |  |  |  |
Number of buildings with property damage | building |  |  |  |  |  |  |  |  |  |  |  |  | 2 |
Project Contract Termination |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Charge to earnings related to legal proceedings |  |  |  |  |  | $ 79,200 |  |  |  |  |  |  |  |
Net receivable position on projects |  |  |  | 120,000 |  |  |  | 120,000 |  |  |  |  |  |
Lorenzo Benton v Telecom Network Specialists Inc |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Damages sought |  |  |  |  |  |  |  | 17,300 |  |  |  |  |  |
Damages awarded |  |  |  |  |  |  |  |  |  |  | $ 9,500 |  |  |
Reasonably possible estimate of loss |  |  |  | 9,500 |  |  |  | 9,500 |  |  |  |  |  |
Adjustment | Correction of Estimated Project Costs and Percentage of Completion Method | Project Contract Termination |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gross Profit |  |  |  |  |  | $ 14,500 |  |  |  |  |  |  |  |
Redes | Project Contract Termination |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Advance payments received |  |  |  |  |  |  |  |  |  | $ 87,000 |  |  |  |
On-demand performance bonds |  |  |  |  |  |  |  |  |  | $ 25,000 |  |  |  |
Amount claimed in arbitration |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 190,000
Construction costs incurred |  |  |  |  |  |  |  |  |  |  |  | $ 157,000 |  |
Payments received on construction contracts |  |  |  |  |  |  |  |  |  |  |  | $ 100,000 |  |
Net receivable position on projects |  |  |  | 87,000 |  |  |  | $ 87,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 | Project Contract Termination |  |  |  |  |  |  |  |  |  |  |  |  |  |
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 Engineering, LLC | Maurepas Project Dispute |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Damages sought |  |  |  |  |  |  | $ 22,000 |  |  |  |  |  |  |
PRONATEL | Project Contract Termination |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Damages sought | $ 41,000 |  | $ 45,000 |  |  |  |  |  |  |  |  |  |  |
Bond proceeds received |  |  | $ 112,000 |  |  |  |  |  |  |  |  |  |  |
Maurepas | Maurepas Project Dispute |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Damages sought |  | $ 59,000 |  | $ 48,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 Number Of Buildings With Property Damage + References No definition available. + Details
Name: | pwr_NumberOfBuildingsWithPropertyDamage
Namespace Prefix: | pwr_
Data Type: | xbrli:integerItemType
Balance Type: | na
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 Exercise Of On-Demand Bonds + References No definition available. + Details
Name: | pwr_ProceedsFromExerciseOfOnDemandBonds
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 https://asc.fasb.org/extlink&oid=126937589&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 https://asc.fasb.org/extlink&oid=126937589&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 https://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/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 10: 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 https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 18: 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 https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126901519&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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (b) -URI https://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 https://asc.fasb.org/extlink&oid=124440162&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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 912 -SubTopic 405 -Section 45 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126938292&loc=d3e56321-109415 + 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_LitigationCaseAxis=pwr_LorenzoBentonvTelecomNetworkSpecialistsIncMember
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: | dei_LegalEntityAxis=pwr_RedesAndinasDeComunicacionesS.R.L.RedesMember
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_ProgramaNacionalDeTelecomunicacionesPRONATELMember
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: |