XML 77 R63.htm IDEA: XBRL DOCUMENT
v3.22.4

Investments in Affiliates and Other Entities - Marketable and Non-Marketable Equity Securities (Details) - USD ($) $ in Thousands | 1 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Nov. 30, 2022 | Mar. 31, 2022 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Mar. 31, 2021
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |
Non-marketable equity securities |  |  | $ 54,134 | $ 130,233 |  |
Equity security fair value |  |  | 0 | 0 |  |
Decrease in fair value |  |  | (91,500) | $ 0 | $ 0 |
Broadband Technology Provider |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |
Non-marketable equity securities |  |  |  |  |  | $ 90,000
Starry Group Holdings, Inc. |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |
Payments to acquire equity securities |  | $ 1,500 |  |  |  |
Equity security fair value |  |  | 0 |  |  |
Decrease in fair value |  |  | $ 91,500 |  |  |
Energy Storage Solution Provider |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |
Non-marketable equity securities | $ 25,000 |  |  |  |  |
Acquired ownership percentage | 6.00% |  |  |  |  |

X
- Definition Equity Securities without Readily Determinable Fair Value, Ownership Percentage, Acquired + References No definition available. + Details
Name: | pwr_EquitySecuritiesWithoutReadilyDeterminableFairValueOwnershipPercentageAcquired
Namespace Prefix: | pwr_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

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_EnergyStorageSolutionProviderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |