XML 108 R96.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Benefit Plans - Defined Contribution Plan and Employee Stock Ownership Plan (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($) openEnrollmentDate | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($)
Defined Contribution Plan Disclosure [Line Items] |  |  |
Employer matching contribution percentage | 70.00% |  |
Employer matching contribution maximum amount | $ 5,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 | $ 991,000 | $ 929,000 | $ 874,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 |  |
Cash contributed to the ESOP | $ 1,300,000 | $ 1,300,000 | $ 1,200,000

X
- Definition Defined Contribution Plan, Employer Matching Contribution, Maximum Amount + References No definition available. + Details
Name: | bmrc_DefinedContributionPlanEmployerMatchingContributionMaximumAmount
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Defined Contribution Plan, Minimum Age of Eligible Employee + References No definition available. + Details
Name: | bmrc_DefinedContributionPlanMinimumAgeofEligibleEmployee
Namespace Prefix: | bmrc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Defined Contribution Plan, Minimum Annual Contribution Per Employee, Percent + References No definition available. + Details
Name: | bmrc_DefinedContributionPlanMinimumAnnualContributionPerEmployeePercent
Namespace Prefix: | bmrc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Defined Contribution Plan, Minimum Employment Period to Qualify for Plan + References No definition available. + Details
Name: | bmrc_DefinedContributionPlanMinimumEmploymentPeriodToQualifyForPlan
Namespace Prefix: | bmrc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Defined Contribution Plan, Number of Enrollment Dates + References No definition available. + Details
Name: | bmrc_DefinedContributionPlanNumberOfEnrollmentDates
Namespace Prefix: | bmrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Defined Contribution Plan, Number of Years to be Fully Vested + References No definition available. + Details
Name: | bmrc_DefinedContributionPlanNumberOfYearsToBeFullyVested
Namespace Prefix: | bmrc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of Defined Contribution Plans Disclosures [Line Items] + References No definition available. + Details
Name: | bmrc_ScheduleOfDefinedContributionPlansDisclosuresLineItems
Namespace Prefix: | bmrc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage employer matches of the employee's percentage contribution matched. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of employer's matching contributions to a defined contribution plan that vests in a given year. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployersMatchingContributionAnnualVestingPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of plan compensation cost recognized during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=109244661&loc=d3e17540-113929 + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=bmrc_DefinedContributionPlanthe401kPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=bmrc_BankOfMarinEmployeeStockOwnershipAndSavingsPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |