XML 111 R99.htm IDEA: XBRL DOCUMENT v3.22.4
Benefit Plans - Defined Contribution Plan and Employee Stock Ownership Plan (Details)
12 Months Ended
Dec. 31, 2022
USD ($)
openEnrollmentDate
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Defined Contribution Plan Disclosure [Line Items]      
Employer matching contribution percentage 70.00%    
Employer matching contribution maximum amount $ 5,000    
Stock issued to employee stock ownership plan $ 1,233,000 $ 1,330,000 $ 1,289,000
Defined Contribution Plan (the 401k Plan)      
Defined Contribution Plan Disclosure [Line Items]      
Minimum age of eligible employee for 401(k) plan 18 years    
Minimum employment period to qualify for 401(k) plan 90 days    
Number of open enrollment dates for 401(k) plan | openEnrollmentDate 4    
Minimum annual contribution per employee, percent of eligible compensation 1.00%    
Maximum annual contribution per employee, percent of eligible compensation 50.00%    
Annual vesting percentage 20.00%    
Defined contribution plan, number of years to be fully vested 5 years    
Employer contributions $ 949,000 991,000 929,000
Bank of Marin Employee Stock Ownership and Savings Plan (the Plan)      
Defined Contribution Plan Disclosure [Line Items]      
Defined contribution plan, number of years to be fully vested 5 years    
Stock issued to employee stock ownership plan $ 1,600,000 $ 1,300,000 $ 1,300,000