XML 46 R33.htm IDEA: XBRL DOCUMENT v3.25.2
Interest Rate Swap Agreement (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Dec. 31, 2024
Interest Rate Swap Agreement [Abstract]          
Outstanding borrowings $ 220,909   $ 220,909   $ 208,178
Variable Interest Rate, Type [Extensible Enumeration]     yorw:DailySimpleSecuredOvernightFinancingRateMember    
Interest Rate Swap [Member]          
Interest Rate Swap Agreement [Abstract]          
Notional amount of swap $ 12,000   $ 12,000    
Fixed interest rate 3.16%   3.16%    
Percentage of variable interest rate 59.00%   59.00%    
Basis spread adjustment 0.11448%   0.11448%    
Net payment rate on swap 0.54% (0.04%) 0.53% (0.04%)  
Interest rate swap settlements reclassified from regulatory assets to interest expense $ 16 $ (1) $ 32 $ (2)  
Overall interest rate swap (gain) loss 55 $ (62) 169 $ (237)  
Interest rate swap settlements to be reclassified during the next 12 months 101   101    
Potential payment to counterparty 535   535    
Variable Rate Pennsylvania Economic Development Financing Authority Exempt Facilities Revenue Refunding Bonds, Series 2008A, due 2029 [Member]          
Interest Rate Swap Agreement [Abstract]          
Outstanding borrowings $ 12,000   $ 12,000   $ 12,000