XML 36 R24.htm IDEA: XBRL DOCUMENT
v3.23.2

Common Stock and Earnings Per Share (Tables) | 6 Months Ended
--- | ---
Jun. 30, 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 June 30 |  |  | Six Months Ended June 30 |
|  | 2023 |  |  | 2022 |  |  | 2023 |  |  | 2022 |
Weighted average common shares, basic |  |  | 14,288,605 |  |  |  | 14,188,579 |  |  |  | 14,282,270 |  |  |  | 13,650,118 |
Effect of dilutive securities: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Employee stock-based compensation |  |  | 1,230 |  |  |  | 1,123 |  |  |  | 857 |  |  |  | 1,060 |
Weighted average common shares, diluted |  |  | 14,289,835 |  |  |  | 14,189,702 |  |  |  | 14,283,127 |  |  |  | 13,651,178 |

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