XML 34 R23.htm IDEA: XBRL DOCUMENT
v3.23.1

Common Stock and Earnings Per Share (Tables) | 3 Months Ended
--- | ---
Mar. 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 earnings per share:
|  | Three Months Ended March 31 |
|  | 2023 |  |  | 2022 |
Weighted average common shares, basic |  |  | 14,275,866 |  |  |  | 13,105,674 |
Effect of dilutive securities: |  |  |  |  |  |  |  |
Employee stock-based compensation |  |  | 3,837 |  |  |  | 2,756 |
Weighted average common shares, diluted |  |  | 14,279,703 |  |  |  | 13,108,430 |

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