XML 45 R31.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Common Stock and Earnings Per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Common Stock and Earnings Per Share [Abstract] |
Shares Used in Computing Basic and Diluted Earnings per Share | The following table summarizes the shares used in computing basic and diluted net income per share:
|  | 2023 |  |  | 2022 |
Weighted average common shares, basic |  |  | 14,294,910 |  |  |  | 13,957,788 |
Effect of dilutive securities: |  |  |  |  |  |  |  |
Employee stock-based compensation |  |  | 803 |  |  |  | 1,127 |
Weighted average common shares, diluted |  |  | 14,295,713 |  |  |  | 13,958,915 |

X
- Definition Tabular disclosure of the weighted average number of shares used in calculating basic net earnings per share (or unit) and diluted earnings per share (or unit). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_ScheduleOfWeightedAverageNumberOfSharesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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