XML 107 R96.htm IDEA: XBRL DOCUMENT v3.24.0.1
Note 12 - Employee Benefit Plans (Details Textual) - USD ($)
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Employee Benefit Plans [Line Items]      
Defined contribution plan, plan name QNB Bank Retirement Savings Plan    
Matching company contribution 3.00%    
Safe harbor non-elective contributions 5.00%    
Matching contribution, amount $ 376,000 $ 345,000 $ 340,000
Safe harbor contribution, amount 669,000 $ 606,000 $ 608,000
Nonqualified defined contribution plan contribution amount $ 108,000    
Employee Stock Purchase Plan 2016 [Member]      
Employee Benefit Plans [Line Items]      
Discount rate on common stock 10.00%    
Employee Stock Purchase Plan 2021 [Member]      
Employee Benefit Plans [Line Items]      
Shares authorized for issuance 30,000    
Shares issued 6,630    
Expiration date May 31, 2026