XML 66 R54.htm IDEA: XBRL DOCUMENT
v3.22.4

Long-Term Debt and Short-Term Borrowings, Debt Covenants and Restrictions (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($)
Long-Term Debt and Short-Term Borrowings [Abstract] |
Maximum borrowing percentage of utility plant | 60.00%
Base amount added to annual net income to determine restriction on dividends and stock acquisition | $ 1,500

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

X
- Definition Base amount as of December 31, 1982 to which annual net income is added to calculate the restriction on cumulative payments for dividends and acquisition of stock. + References No definition available. + Details
Name: | yorw_BaseAmountAddedToAnnualNetIncomeToDetermineRestrictionOnDividendsAndStockAcquisition
Namespace Prefix: | yorw_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Element represents the maximum borrowing percentage of utility plant. + References No definition available. + Details
Name: | yorw_MaximumBorrowingPercentageOfUtilityPlant
Namespace Prefix: | yorw_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration