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

Employee Benefit Plans, Weighted-Average Assumptions Used (Details) - Defined Benefit Pension Plans Combined [Member] | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Weighted-Average Assumptions Used to Determine Benefit Obligations [Abstract] |  |
Discount rate | 4.75% | 5.00%
Weighted-Average Assumptions Used to Determine Net Periodic Benefit Cost [Abstract] |  |
Discount rate | 5.00% | 2.65%
Expected long-term return on plan assets | 5.00% | 6.50%
Minimum [Member] |  |
Weighted-Average Assumptions Used to Determine Benefit Obligations [Abstract] |  |
Rate of compensation increase | 2.50% | 2.50%
Weighted-Average Assumptions Used to Determine Net Periodic Benefit Cost [Abstract] |  |
Rate of compensation increase | 2.50% | 2.50%
Target Asset Allocations [Abstract] |  |
Investment performance period | 3 years |
Maximum [Member] |  |
Weighted-Average Assumptions Used to Determine Benefit Obligations [Abstract] |  |
Rate of compensation increase | 3.00% | 3.00%
Weighted-Average Assumptions Used to Determine Net Periodic Benefit Cost [Abstract] |  |
Rate of compensation increase | 3.00% | 3.00%
Target Asset Allocations [Abstract] |  |
Investment performance period | 5 years |
Percentage of portfolio that can be held in bonds downgraded below investment grade | 5.00% |
Equity Securities [Member] | Minimum [Member] |  |
Target Asset Allocations [Abstract] |  |
Weighted-average target asset allocations | 10.00% |
Equity Securities [Member] | Maximum [Member] |  |
Target Asset Allocations [Abstract] |  |
Weighted-average target asset allocations | 30.00% |
Fixed Income Securities [Member] | Minimum [Member] |  |
Target Asset Allocations [Abstract] |  |
Weighted-average target asset allocations | 70.00% |
Fixed Income Securities [Member] | Maximum [Member] |  |
Target Asset Allocations [Abstract] |  |
Weighted-average target asset allocations | 90.00% |
Cash and Cash Equivalents [Member] | Minimum [Member] |  |
Target Asset Allocations [Abstract] |  |
Weighted-average target asset allocations | 0.00% |
Cash and Cash Equivalents [Member] | Maximum [Member] |  |
Target Asset Allocations [Abstract] |  |
Weighted-average target asset allocations | 10.00% |

X
- References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanAssetsTargetAllocationsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average rate for present value of future retirement benefits cash flows, used to determine benefit obligation of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (k)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average rate increase of compensation, used to determine benefit obligation of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (k)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average rate for present value of future retirement benefits cash flows, used to determine net periodic benefit cost of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (k)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average rate of return on plan assets, reflecting average rate of earnings expected on existing plan assets and expected contributions, used to determine net periodic benefit cost of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (k)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average rate of compensation increase used to determine net periodic benefit cost of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (k)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of target investment allocation to total plan assets. Includes, but is not limited to, percentage on weighted-average basis if more than one plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The period for investment performance, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | yorw_InvestmentPerformancePeriod
Namespace Prefix: | yorw_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of the aggregate market value of the portfolio that can be held in bonds downgraded below investment grade, provided that an overall investment grade rating is maintained for the total portfolio. + References No definition available. + Details
Name: | yorw_PercentageOfPortfolioThatCanBeHeldInBondsDowngradedBelowInvestmentGrade
Namespace Prefix: | yorw_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=yorw_DefinedBenefitPensionPlansCombinedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_EquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |