XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.25.2

Investment Securities - Schedule of Unrealized Loss on Investments (Details) - USD ($) $ in Thousands | Jun. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | $ 13,546 | $ 27,496
Greater than or equal to 12 continuous months | 700,783 | 736,039
Total securities in a loss position | 714,329 | 763,535
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | (1,325) | (1,817)
Greater than or equal to 12 continuous months | (94,495) | (113,847)
Held-to-maturity, gross unrealized losses | (95,820) | (115,664)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 165,826 | 129,409
Available-for-sale, greater than 12 continuous months, fair value | 56,289 | 225,006
Available-for-sale, total securities in a loss position, fair value | 222,115 | 354,415
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (1,122) | (343)
Available-for-sale, greater than 12 continuous months, unrealized loss | (9,890) | (31,599)
Available-for-sale, total securities in a loss position, unrealized loss | (11,012) | (31,942)
Marketable Securities, Fair Value |  |
Marketable securities, less than 12 continuous months, fair value | 179,372 | 156,905
Marketable securities, greater than 12 continuous months, fair value | 757,072 | 961,045
Marketable securities, total securities in a loss position, fair value | 936,444 | 1,117,950
Marketable Securities, Continuous Unrealized Loss |  |
Marketable securities, less than 12 continuous months, unrealized loss | (2,447) | (2,160)
Marketable securities, greater than 12 continuous months, unrealized loss | (104,385) | (145,446)
Marketable securities, total securities in a loss position, unrealized loss | (106,832) | (147,606)
CMBS issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | 211,233 | 208,110
Total securities in a loss position | 211,233 | 208,110
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | (28,390) | (34,449)
Held-to-maturity, gross unrealized losses | (28,390) | (34,449)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 70,746 | 129,402
Available-for-sale, greater than 12 continuous months, fair value | 13,509 | 58,065
Available-for-sale, total securities in a loss position, fair value | 84,255 | 187,467
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (146) | (343)
Available-for-sale, greater than 12 continuous months, unrealized loss | (481) | (4,634)
Available-for-sale, total securities in a loss position, unrealized loss | (627) | (4,977)
CMOs issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 7,882 | 18,451
Greater than or equal to 12 continuous months | 168,972 | 172,805
Total securities in a loss position | 176,854 | 191,256
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | (1,119) | (1,623)
Greater than or equal to 12 continuous months | (12,157) | (16,869)
Held-to-maturity, gross unrealized losses | (13,276) | (18,492)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 95,080 | 0
Available-for-sale, greater than 12 continuous months, fair value | 3,342 | 33,749
Available-for-sale, total securities in a loss position, fair value | 98,422 | 33,749
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (976) | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (670) | (6,321)
Available-for-sale, total securities in a loss position, unrealized loss | (1,646) | (6,321)
MBS pass-through securities issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 3,230 | 3,487
Greater than or equal to 12 continuous months | 153,929 | 157,959
Total securities in a loss position | 157,159 | 161,446
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | (87) | (150)
Greater than or equal to 12 continuous months | (26,895) | (30,792)
Held-to-maturity, gross unrealized losses | (26,982) | (30,942)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 7
Available-for-sale, greater than 12 continuous months, fair value | 12,091 | 25,495
Available-for-sale, total securities in a loss position, fair value | 12,091 | 25,502
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (2,513) | (4,840)
Available-for-sale, total securities in a loss position, unrealized loss | (2,513) | (4,840)
SBA-backed securities |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | 1,349 | 1,452
Total securities in a loss position | 1,349 | 1,452
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | (33) | (61)
Held-to-maturity, gross unrealized losses | (33) | (61)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value |  | 0
Available-for-sale, greater than 12 continuous months, fair value |  | 309
Available-for-sale, total securities in a loss position, fair value |  | 309
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss |  | 0
Available-for-sale, greater than 12 continuous months, unrealized loss |  | (23)
Available-for-sale, total securities in a loss position, unrealized loss |  | (23)
Debentures of government- sponsored agencies |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | 102,893 | 118,737
Total securities in a loss position | 102,893 | 118,737
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | (18,687) | (22,694)
Held-to-maturity, gross unrealized losses | (18,687) | (22,694)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value |  | 0
Available-for-sale, greater than 12 continuous months, fair value |  | 7,210
Available-for-sale, total securities in a loss position, fair value |  | 7,210
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss |  | 0
Available-for-sale, greater than 12 continuous months, unrealized loss |  | (1,761)
Available-for-sale, total securities in a loss position, unrealized loss |  | (1,761)
U.S. Treasury securities |  |
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value |  | 0
Available-for-sale, greater than 12 continuous months, fair value |  | 10,815
Available-for-sale, total securities in a loss position, fair value |  | 10,815
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss |  | 0
Available-for-sale, greater than 12 continuous months, unrealized loss |  | (1,205)
Available-for-sale, total securities in a loss position, unrealized loss |  | (1,205)
Obligations of state and political subdivisions |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 2,434 | 5,558
Greater than or equal to 12 continuous months | 47,788 | 47,661
Total securities in a loss position | 50,222 | 53,219
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | (119) | (44)
Greater than or equal to 12 continuous months | (7,952) | (8,297)
Held-to-maturity, gross unrealized losses | (8,071) | (8,341)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 27,347 | 83,714
Available-for-sale, total securities in a loss position, fair value | 27,347 | 83,714
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (6,226) | (12,464)
Available-for-sale, total securities in a loss position, unrealized loss | (6,226) | (12,464)
Corporate bonds |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | 14,619 | 29,315
Total securities in a loss position | 14,619 | 29,315
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | (381) | (685)
Held-to-maturity, gross unrealized losses | $ (381) | (685)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value |  | 0
Available-for-sale, greater than 12 continuous months, fair value |  | 5,649
Available-for-sale, total securities in a loss position, fair value |  | 5,649
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss |  | 0
Available-for-sale, greater than 12 continuous months, unrealized loss |  | (351)
Available-for-sale, total securities in a loss position, unrealized loss |  | $ (351)

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Fair Value, Total + References No definition available. + Details
Name: | bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueTotal
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value + References No definition available. + Details
Name: | bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value + References No definition available. + Details
Name: | bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss + References No definition available. + Details
Name: | bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Accumulated Loss + References No definition available. + Details
Name: | bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss + References No definition available. + Details
Name: | bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] + References No definition available. + Details
Name: | bmrc_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionFairValueAbstract
Namespace Prefix: | bmrc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Marketable Securities, Continuous Unrealized Loss Position, Accumulated Loss [Abstract] + References No definition available. + Details
Name: | bmrc_MarketableSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract
Namespace Prefix: | bmrc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Marketable Securities, Continuous Unrealized Loss Position, Fair Value [Abstract] + References No definition available. + Details
Name: | bmrc_MarketableSecuritiesContinuousUnrealizedLossPositionFairValueAbstract
Namespace Prefix: | bmrc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CollateralizedMortgageObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=bmrc_SmallBusinessAdministrationSBABackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USStatesAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |