XML 65 R54.htm IDEA: XBRL DOCUMENT v3.24.0.1
Note 1 - Summary of Significant Accounting Policies (Details Textual)
12 Months Ended
Jan. 01, 2023
USD ($)
Dec. 31, 2023
USD ($)
Contract
Lease
$ / shares
shares
Dec. 31, 2022
USD ($)
$ / shares
Dec. 31, 2021
USD ($)
$ / shares
Sep. 28, 2023
Summary of Significant Accounting Policies [Line Items]          
Restricted investment in stocks   $ 2,730,000 $ 5,193,000    
Conversion factor per share         1.5875
Impairment charge of restricted investment   $ 0      
Financing receivable, modifications, subsequent default, number of contracts | Contract   0      
Lease option to extend description   QNB typically enters into lease agreements with an initial term of 5 to 10 years and subsequent additional optional terms in increments of 5 years.      
Lease option to terminate description   The lease agreements also contain termination options. None of the leases contain purchase options and none transfer the ownership of the leased asset.      
Number of operating lease renewed | Lease   1      
Lease agreement subsequent additional optional term in increments   5 years      
Lease agreement option to extend on increments   true      
Lease option to terminate   true      
Other Postretirement Benefit Expense   $ 56,000 118,000 $ 87,000  
Allocated Share-based Compensation Expense   90,000 70,000 71,000  
Employee service Share-based compensation, tax benefit from nonqualified compensation expense and disqualifying dispositions   $ 3,000 $ 2,000 $ 4,000  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value (in Dollars per share) | $ / shares   $ 4.11 $ 5.20 $ 3.08  
Unrecognized Tax Benefits   $ 0      
Interest accrued   0      
Penalties expense   $ 0      
Tax years subject to examination by tax authorities   2020      
Valuation allowance   $ 4,000 $ 8,000    
Retained earnings $ 129,808,000 $ 133,945,000 128,951,000    
Accounting Standards Update [Extensible Enumeration] us-gaap:AccountingStandardsUpdate201613Member us-gaap:AccountingStandardsUpdate201613Member      
Minimum [Member]          
Summary of Significant Accounting Policies [Line Items]          
Lease agreements initial terms   5 years      
Lease agreement subsequent additional optional term in increments   5 years      
Maximum [Member]          
Summary of Significant Accounting Policies [Line Items]          
Lease agreements initial terms   10 years      
Lease agreement subsequent additional optional term in increments   10 years      
Other Assets [Member]          
Summary of Significant Accounting Policies [Line Items]          
Other Real Estate, Foreclosed Assets, and Repossessed Assets   $ 0 $ 0    
Investment in Federal Home Loan Bank Stock [Member]          
Summary of Significant Accounting Policies [Line Items]          
Restricted investment in stocks   1,718,000      
Investment in Atlantic Community Bankers Bank Stock [Member]          
Summary of Significant Accounting Policies [Line Items]          
Restricted investment in stocks   12,000      
VISA Class B Stock [Member]          
Summary of Significant Accounting Policies [Line Items]          
Restricted investment in stocks   $ 0      
Number of shares owned | shares   6,502      
Investment In SHCPFIC Preferred Stock [Member]          
Summary of Significant Accounting Policies [Line Items]          
Restricted investment in stocks   $ 1,000,000      
Number of shares owned | shares   100      
Cumulative Effect, Period of Adoption, Adjustment [Member]          
Summary of Significant Accounting Policies [Line Items]          
Retained earnings $ 857,000