XML 62 R52.htm IDEA: XBRL DOCUMENT
v3.22.2

Investments in Affiliates and Other Entities (Details) mile in Thousands, $ in Millions | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | ---
Mar. 31, 2022 USD ($) | Jun. 30, 2022 USD ($) | Mar. 31, 2022 USD ($) | Jun. 30, 2022 USD ($) | Dec. 31, 2020 mile | Dec. 31, 2021 USD ($) | Oct. 31, 2021 | Mar. 31, 2021 USD ($)
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Equity method investments |  | $ 120.6 |  | $ 120.6 |  | $ 101.2 |  |
Length of electric transmission and distribution system | mile |  |  |  |  | 18 |  |  |
Equity security fair value |  | 41.5 |  | 41.5 |  |  |  |
Investment balance |  | 28.6 |  | 28.6 |  | 130.2 |  |
Decrease in fair value |  | (41.7) |  | (50.0) |  |  |  |
Investment in real estate |  | 24.3 |  | 24.3 |  |  |  | $ 23.5
LUMA Energy, LLC |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Term of operation and maintenance agreement |  |  |  |  | 15 years |  |  |
Integral Affiliates |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Equity method investments |  | 70.5 |  | 70.5 |  | 67.8 |  |
Due from related parties |  | 59.3 |  | 59.3 |  | 49.0 |  |
Due to related parties |  | 12.9 |  | 12.9 |  | 56.3 |  |
Revenue from related parties |  | 26.4 |  | 51.5 |  |  |  |
Related party cost of sales |  | 21.9 |  | 72.3 |  |  |  |
LUMA Energy, LLC |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Equity method investments |  | $ 31.1 |  | $ 31.1 |  | 30.6 |  |
Equity interest |  | 50.00% |  | 50.00% |  |  |  |
Integral Affiliate Offering Right-of-way Solutions |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Equity method investments |  | $ 26.8 |  | $ 26.8 |  | 28.5 |  |
Equity interest |  |  |  |  |  |  | 44.00% |
Non-Integral Unconsolidated Affiliates |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Equity method investments |  | $ 50.1 |  | $ 50.1 |  | $ 33.4 |  |
Broadband Technology Provider |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Cost method investments |  |  |  |  |  |  |  | $ 90.0
Starry Group Holdings, Inc. |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Payments to acquire equity securities | $ 1.5 |  |  |  |  |  |  |
Technology Incubation Company |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Cost method investments, gain on sale |  |  | $ 6.7 |  |  |  |  |
Cost method investments, gain on sale, after tax |  |  | $ 5.0 |  |  |  |  |

X
- Definition Operation And Maintenance Agreement, Contract Term + References No definition available. + Details
Name: | pwr_OperationAndMaintenanceAgreementContractTerm
Namespace Prefix: | pwr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operation And Maintenance Agreement, Length Of System + References No definition available. + Details
Name: | pwr_OperationAndMaintenanceAgreementLengthOfSystem
Namespace Prefix: | pwr_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other Investments, Cost Method, Gain on Sale + References No definition available. + Details
Name: | pwr_OtherInvestmentsCostMethodGainOnSale
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Other Investments, Cost Method, Gain on Sale, After Tax + References No definition available. + Details
Name: | pwr_OtherInvestmentsCostMethodGainOnSaleAfterTax
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Other Investments, Cost Method, Noncurrent + References No definition available. + Details
Name: | pwr_OtherInvestmentsCostMethodNoncurrent
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Summary Of Significant Accounting Policies [Line Items] + References No definition available. + Details
Name: | pwr_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | pwr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an unclassified balance sheet, amounts due from related parties including affiliates, employees, joint ventures, officers and stockholders, immediate families thereof, and pension funds. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 3: 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 4: 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 5: 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 6: 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.10(3)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 7: 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)(a)(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 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)(C)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 9: 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 10: 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)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 11: 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.3) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_DueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of obligations due all related parties. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: 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)(C)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 3: 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 4: 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.17) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 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 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 7: 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 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)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 9: 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.15(3),(4)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_DueToRelatedPartiesCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(10)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599 + Details
Name: | us-gaap_EquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740 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(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized and realized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cash outflow to acquire investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123583714&loc=SL75117360-209713 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 19 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3444-108585 + Details
Name: | us-gaap_PaymentsToAcquireEquitySecuritiesFvNi
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of real estate investment property which may include the following: (1) land available-for-sale; (2) land available-for-development; (3) investments in building and building improvements; (4) tenant allowances; (5) developments in-process; (6) rental properties; and (7) other real estate investments. + References Reference 1: 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.1(d)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_RealEstateInvestmentPropertyAtCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Direct costs arising from transactions with related parties who are not affiliates or joint Ventures. These costs are categorized as cost of goods sold. + References Reference 1: 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 2: 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.2) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 3: 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 4: 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)(C)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 6: 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 7: 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)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-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)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 + Details
Name: | us-gaap_RelatedPartyCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates. + References Reference 1: 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 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.1(c)) -URI https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272 Reference 3: 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)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 4: 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)(C)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 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)(5)) -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 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 7: 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 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(e)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_RevenueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=pwr_LUMAEnergyLLCMember
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: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=pwr_LUMAEnergyLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=pwr_IntegralAffiliateOfferingRightOfWaySolutionsMember
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_BroadbandTechnologyProviderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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