XML 40 R30.htm IDEA: XBRL DOCUMENT
v3.21.2

Investment Securities - Narrative (Details) | Jun. 30, 2021 USD ($) security | Dec. 31, 2020 USD ($) security
--- | --- | ---
Investments, Debt and Equity Securities [Abstract] |  |
Held-to-maturity, allowance for credit Loss | $ | $ 0 | $ 0
Number of investment securities in unrealized loss position | 23 | 10
Number of investment securities in unrealized loss position longer than 12 months | 4 |
Number of investment securities in unrealized loss position less than 12 months | 19 |
Debt securities, available-for-sale unrealized loss position, allowance for credit loss | $ | $ 0 |

X
- Definition Debt Securities, Available-For-Sale Unrealized Loss Position, Allowance For Credit Loss + References No definition available. + Details
Name: | bmrc_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAllowanceForCreditLoss
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Marketable Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions + References No definition available. + Details
Name: | bmrc_MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions
Namespace Prefix: | bmrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Marketable Securities In Unrealized Loss Positions, Qualitative Disclosure, Number Of Positions, Less Than 12 Months + References No definition available. + Details
Name: | bmrc_MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThan12Months
Namespace Prefix: | bmrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Marketable Securities In Unrealized Loss Positions, Qualitative Disclosure, Number Of Positions, Longer Than 12 Months + References No definition available. + Details
Name: | bmrc_MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLongerThan12Months
Namespace Prefix: | bmrc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of allowance for credit loss on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration