XML 65 R55.htm IDEA: XBRL DOCUMENT
v3.23.2

Investments in Affiliates and Other Entities - Equity Method Investments (Details) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2023 USD ($) | Mar. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) investment | Jun. 30, 2022 USD ($) | Mar. 31, 2022 USD ($) | Jun. 30, 2023 USD ($) | Jun. 30, 2022 USD ($)
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |
Distributions to non-controlling interests | $ 1,177 | $ 8,741 |  | $ 80 | $ 538 |  |
Accounts receivable, net | 4,075,206 |  | $ 3,674,525 |  |  | $ 4,075,206 |
Accounts payable and accrued expenses | 2,516,908 |  | $ 2,153,129 |  |  | 2,516,908 |
Revenues | 5,048,610 |  |  | 4,232,003 |  | 9,477,436 | $ 8,197,528
Cost of services | 4,324,511 |  |  | 3,607,413 |  | 8,180,142 | 7,024,767
Equity in earnings of integral unconsolidated affiliates | 9,370 |  |  | 18,565 |  | 18,990 | 33,717
Non-controlling Interests |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |
Distributions to non-controlling interests | 1,177 | $ 8,741 |  | 80 | $ 538 |  |
Non-Integral Unconsolidated Affiliates |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |
Number of investments sold | investment |  |  | 1 |  |  |  |
Realized gain (loss) on disposal |  |  | $ 25,900 |  |  |  |
Cash received |  |  |  |  |  | 58,500 |
Equity in earnings of non-integral unconsolidated affiliates | 500 |  |  | 9,600 |  | 2,100 | 14,900
Non-Integral Unconsolidated Affiliates | Non-controlling Interests |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |
Realized gain (loss) on disposal |  |  | 10,400 |  |  |  |
Distributions to non-controlling interests |  |  |  |  |  | 9,800 |
Integral Affiliates | Related Party |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |
Accounts receivable, net | 87,500 |  | 96,900 |  |  | 87,500 |
Accounts payable and accrued expenses | 11,600 |  | $ 9,300 |  |  | 11,600 |
Revenues | 50,200 |  |  | 26,400 |  | 98,500 | 51,500
Cost of services | 21,200 |  |  | 21,900 |  | 33,200 | 72,300
Integral Unconsolidated Affiliates | Related Party |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |
Equity in earnings of integral unconsolidated affiliates | 9,400 |  |  | $ 18,600 |  | 19,000 | $ 33,700
Integral and Non-Integral Unconsolidated Affiliates |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |
Undistributed earnings of unconsolidated affiliates | $ 16,600 |  |  |  |  | $ 16,600 |

X
- Definition Equity Method Investments, Number Of Investments Sold + References No definition available. + Details
Name: | pwr_EquityMethodInvestmentsNumberOfInvestmentsSold
Namespace Prefix: | pwr_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Income (Loss) From Equity Method Investments, Integral Unconsolidated Affiliates + References No definition available. + Details
Name: | pwr_IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Income (Loss) From Equity Method Investments, Non-Integral Unconsolidated Affiliates + References No definition available. + Details
Name: | pwr_IncomeLossFromEquityMethodInvestmentsNonIntegralUnconsolidatedAffiliates
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sum of the carrying values as of the balance sheet date of obligations incurred through that date and due within one year (or the operating cycle, if longer), including liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received, taxes, interest, rent and utilities, accrued salaries and bonuses, payroll taxes and fringe benefits. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19,20) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481990/310-10-45-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481990/310-10-45-9 + Details
Name: | us-gaap_AccountsReceivableNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 924 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479941/924-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2(a),(d)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_CostOfGoodsAndServicesSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of gain (loss) on sale or disposal of an equity method investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(7)(c)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(9)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow associated with the sale of equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-12 + Details
Name: | us-gaap_ProceedsFromSaleOfEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of consolidated retained earnings that represent undistributed (not yet received) earnings from 50 percent or less owned persons accounted for by the equity method (equity method investees). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(e)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 924 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479941/924-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 30 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-30 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-42 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-40 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 41 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-41 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-4 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-28 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 + Details
Name: | us-gaap_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_NoncontrollingInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=pwr_NonIntegralUnconsolidatedAffiliatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=pwr_IntegralAffiliatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=pwr_IntegralUnconsolidatedAffiliatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=pwr_IntegralAndNonIntegralUnconsolidatedAffiliatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |