XML 67 R55.htm IDEA: XBRL DOCUMENT
v3.22.4

Fair Value of Financial Instruments (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021
Interest Rate Swap [Abstract] |  |
Term of debt on utilities rated A- used to discount prospective cash flows | 30 years |
Reduction in the fair value of swap liability | $ 39 |
Fair Value Measurements [Abstract] |  |
Customers' advances for construction | 14,911 | $ 12,820
Note receivable | 255 | 255
Fair Value on a Recurring Basis [Member] |  |
Interest Rate Swap [Abstract] |  |
Interest rate swap | 680 | 2,086
Fair Value on a Recurring Basis [Member] | Significant Other Observable Inputs (Level 2) [Member] |  |
Interest Rate Swap [Abstract] |  |
Interest rate swap | 680 | 2,086
Carrying Amount [Member] |  |
Fair Value, Financial Liabilities [Abstract] |  |
Total long-term debt | 142,110 | 149,190
Estimated Fair Value [Member] |  |
Fair Value, Financial Liabilities [Abstract] |  |
Total long-term debt | $ 126,000 | $ 168,000

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126919976&loc=SL49130532-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Definition Fair value as of the balance sheet date of interest rate derivative liabilities, which includes all such derivative instruments in hedging and nonhedging relationships that are recognized as liabilities. + References No definition available. + Details
Name: | us-gaap_InterestRateDerivativeLiabilitiesAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. + References No definition available. + Details
Name: | us-gaap_LongTermDebtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of financing receivable, classified as noncurrent. + References No definition available. + Details
Name: | us-gaap_NotesAndLoansReceivableNetNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The increase (decrease) in the fair value of an interest rate swap due to a contractual agreement tied to the company's credit rating. + References No definition available. + Details
Name: | yorw_IncreaseDecreaseInFairValueOfSwapLiability
Namespace Prefix: | yorw_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Term of debt on utilities rated A- used in discounting prospective cash flows anticipated to be made under the swap agreement reflecting a representation of the yield to maturity, 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_TermOfDebtOnUtilitiesUsedToDiscountProspectiveCashFlows
Namespace Prefix: | yorw_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementBasisAxis=us-gaap_CarryingReportedAmountFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementBasisAxis=us-gaap_EstimateOfFairValueFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |