XML 50 R31.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Common Stock and Earnings Per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2024
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 earnings per share:
|  | 2024 |  |  | 2023 |
Weighted average common shares, basic |  |  | 14,346,552 |  |  |  | 14,294,910 |
Effect of dilutive securities: |  |  |  |  |  |  |  |
Employee stock-based compensation |  |  | 209 |  |  |  | 803 |
Weighted average common shares, diluted |  |  | 14,346,761 |  |  |  | 14,295,713 |

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