XML 72 R61.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Debt Obligations - Senior Credit Facility (Details) $ in Thousands |  | 9 Months Ended |
--- | --- | --- | ---
Oct. 08, 2021 USD ($) | Sep. 30, 2022 USD ($) unit | Dec. 31, 2021 USD ($)
Line of Credit Facility [Line Items] |  |  |
Amount borrowed under the credit facility |  | $ 952,360 | $ 1,199,841
Deferred financing costs |  | 8,900 | $ 10,100
Senior Credit Facility |  |  |
Line of Credit Facility [Line Items] |  |  |
Credit facility available for revolving loans or issuing new letters of credit |  | 1,630,000 |
Senior Credit Facility | U.S. Dollar |  |  |
Line of Credit Facility [Line Items] |  |  |
Amount borrowed under the credit facility |  | 120,000 |
Senior Credit Facility | Canadian Dollars |  |  |
Line of Credit Facility [Line Items] |  |  |
Amount borrowed under the credit facility |  | 65,100 |
Senior Credit Facility | Australian Dollars |  |  |
Line of Credit Facility [Line Items] |  |  |
Amount borrowed under the credit facility |  | $ 17,300 |
Senior Credit Facility | Line of Credit |  |  |
Line of Credit Facility [Line Items] |  |  |
Maximum consolidated leverage ratio |  | 3.5 |
Maximum consolidated leverage ratio, acquisition threshold |  | $ 200,000 |
Maximum consolidated leverage ratio permissible under credit agreement |  | 4.0 |
Subsequent fiscal periods applying alternate ration due to acquisition threshold being met | unit |  | 4 |
Minimum consolidated interest coverage ratio |  | 3.0 |
Amount borrowed under the credit facility |  | $ 202,400 |
Senior Credit Facility | Revolving Credit Facility | Line of Credit |  |  |
Line of Credit Facility [Line Items] |  |  |
Borrowing capacity | $ 2,640,000 |  |
Senior Credit Facility | Letters of Credit |  |  |
Line of Credit Facility [Line Items] |  |  |
Letters of credit and bank guarantees |  | 410,300 |
Senior Credit Facility | Letters of Credit, Denominated in USD | U.S. Dollar |  |  |
Line of Credit Facility [Line Items] |  |  |
Letters of credit and bank guarantees |  | 318,300 |
Senior Credit Facility | Letters of Credit, Denominated in Foreign Currency |  |  |
Line of Credit Facility [Line Items] |  |  |
Letters of credit and bank guarantees |  | 92,000 |
Senior Credit Facility | Term Loan | Payments Due First Business Day Of Quarter In 2023 And 2024 |  |  |
Line of Credit Facility [Line Items] |  |  |
Quarterly principal payments | 4,700 |  |
Senior Credit Facility | Term Loan | Payments Due First Business Day Of Quarter In 2025 |  |  |
Line of Credit Facility [Line Items] |  |  |
Quarterly principal payments | 9,400 |  |
Senior Credit Facility | Term Loan | Payments Due First Business Day Of Quarter In 2026 |  |  |
Line of Credit Facility [Line Items] |  |  |
Quarterly principal payments | 18,800 |  |
Senior Credit Facility | Term Loan | Line of Credit |  |  |
Line of Credit Facility [Line Items] |  |  |
Borrowing capacity | $ 750,000 |  |
Amount borrowed under the credit facility |  | $ 750,000 |

X
- Definition Debt Instrument, Covenant, Acquisition Amount Triggering Alternate Leverage Ratio + References No definition available. + Details
Name: | pwr_DebtInstrumentCovenantAcquisitionAmountTriggeringElevatedLeverageRatio
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Interest Coverage Ratio, Minimum + References No definition available. + Details
Name: | pwr_DebtInstrumentCovenantInterestCoverageRatioMinimum
Namespace Prefix: | pwr_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Leverage Ratio, Maximum + References No definition available. + Details
Name: | pwr_DebtInstrumentCovenantLeverageRatioMaximum
Namespace Prefix: | pwr_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Covenant, Number Of Fiscal Quarters Applicable To Updated Acquisition Ratio + References No definition available. + Details
Name: | pwr_DebtInstrumentCovenantNumberOfFiscalQuartersApplicableToUpdatedAcquisitionRatio
Namespace Prefix: | pwr_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit Facility, Covenant, Maximum Leverage Ratio + References No definition available. + Details
Name: | pwr_LineOfCreditFacilityCovenantMaximumLeverageRatio
Namespace Prefix: | pwr_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments including both interest and principal payments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pwr_SeniorCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CurrencyAxis=currency_USD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CurrencyAxis=currency_CAD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CurrencyAxis=currency_AUD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=pwr_LettersOfCreditDenominatedInUSDMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=pwr_LettersOfCreditDenominatedInForeignCurrencyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=pwr_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | pwr_DebtInstrumentPaymentDueDateAxis=pwr_PaymentsDueFirstBusinessDayOfQuarterIn2023And2024Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | pwr_DebtInstrumentPaymentDueDateAxis=pwr_PaymentsDueFirstBusinessDayOfQuarterIn2025Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | pwr_DebtInstrumentPaymentDueDateAxis=pwr_PaymentsDueFirstBusinessDayOfQuarterIn2026Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |