XML 121 R107.htm IDEA: XBRL DOCUMENT
v3.22.4

Detail of Certain Accounts - Cash and Cash Equivalents (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | --- | ---
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | $ 428,505 | $ 229,097 | $ 184,620 | $ 164,798
Cash equivalents | 260,100 | 140,000 |  |
Held in Domestic Bank Accounts |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 376,456 | 205,781 |  |
Held in Foreign Bank Accounts |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 52,049 | 23,316 |  |
Held by Domestic Joint Ventures |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 14,291 | 21,828 |  |
Held by Foreign Joint Ventures |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 6,277 | 3,461 |  |
Held by Joint Ventures |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 20,568 | 25,289 |  |
Captive Insurance Company |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | 35,085 | 133,302 |  |
Not Held by Joint Ventures |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |
Cash and cash equivalents | $ 372,852 | $ 70,506 |  |

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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: 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(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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_DomesticBankAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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