XML 42 R30.htm IDEA: XBRL DOCUMENT
v3.22.4

Common Stock and Earnings Per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
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:
|  | 2022 |  |  | 2021 |
Weighted average common shares, basic |  |  | 13,957,788 |  |  |  | 13,076,263 |
Effect of dilutive securities: |  |  |  |  |  |  |  |
Employee stock-based compensation |  |  | 1,127 |  |  |  | 1,027 |
Weighted average common shares, diluted |  |  | 13,958,915 |  |  |  | 13,077,290 |

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 -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + 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