XML 123 R105.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Detail of Certain Accounts - Cash and Cash Equivalents (Details) - USD ($) $ in Thousands | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | --- | ---
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | $ 741,960 | $ 1,290,248 | $ 428,505 | $ 229,097
Cash equivalents | 347,500 | 610,800 |  |
Held by Domestic Joint Ventures |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 71,646 | 41,427 |  |
Held by Foreign Joint Ventures |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 10,088 | 10,968 |  |
Held by Joint Ventures |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 81,734 | 52,395 |  |
Held by Captive Insurance Company |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 19,445 | 19,088 |  |
Not Held By Joint Ventures Or Captive Insurance Company |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | $ 640,781 | $ 1,218,765 |  |

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483467/210-10-45-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-4 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_CashAndCashEquivalentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_DomesticJointVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_ForeignJointVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_InvestmentsInJointVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_CaptiveInsuranceCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_CashNotHeldByJointVenturesOrCaptiveInsuranceCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |