XML 127 R40.htm IDEA: XBRL DOCUMENT
v3.25.3

Investment Securities - Schedule of Unrealized Loss on Investments (Details) - USD ($) $ in Thousands | Sep. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Debt Securities, Held-to-maturity, Fair Value |  |
Held-to-maturity, less than 12 continuous months | $ 0 | $ 27,496
Held-to-maturity, greater than or equal to 12 continuous months | 711,769 | 736,039
Held-to-maturity, total securities in a loss position | 711,769 | 763,535
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Held-to-maturity, less than 12 continuous months | 0 | (1,817)
Held-to-maturity, greater than or equal to 12 continuous months | (87,047) | (113,847)
Held-to-maturity, gross unrealized losses | (87,047) | (115,664)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 196,301 | 129,409
Available-for-sale, greater than 12 continuous months, fair value | 71,608 | 225,006
Available-for-sale, total securities in a loss position, fair value | 267,910 | 354,415
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (988) | (343)
Available-for-sale, greater than 12 continuous months, unrealized loss | (8,391) | (31,599)
Available-for-sale, total securities in a loss position, unrealized loss | (9,379) | (31,942)
Marketable Securities, Fair Value |  |
Marketable securities, less than 12 continuous months, fair value | 196,301 | 156,905
Marketable securities, greater than 12 continuous months, fair value | 783,377 | 961,045
Marketable securities, total securities in a loss position, fair value | 979,679 | 1,117,950
Marketable Securities, Continuous Unrealized Loss |  |
Marketable securities, less than 12 continuous months, unrealized loss | (988) | (2,160)
Marketable securities, greater than 12 continuous months, unrealized loss | (95,438) | (145,446)
Marketable securities, total securities in a loss position, unrealized loss | (96,426) | (147,606)
CMBS issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Held-to-maturity, less than 12 continuous months | 0 | 0
Held-to-maturity, greater than or equal to 12 continuous months | 211,285 | 208,110
Held-to-maturity, total securities in a loss position | 211,285 | 208,110
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Held-to-maturity, less than 12 continuous months | 0 | 0
Held-to-maturity, greater than or equal to 12 continuous months | (26,472) | (34,449)
Held-to-maturity, gross unrealized losses | (26,472) | (34,449)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 94,823 | 129,402
Available-for-sale, greater than 12 continuous months, fair value | 27,965 | 58,065
Available-for-sale, total securities in a loss position, fair value | 122,788 | 187,467
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (165) | (343)
Available-for-sale, greater than 12 continuous months, unrealized loss | (470) | (4,634)
Available-for-sale, total securities in a loss position, unrealized loss | (635) | (4,977)
CMOs issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Held-to-maturity, less than 12 continuous months | 0 | 18,451
Held-to-maturity, greater than or equal to 12 continuous months | 172,617 | 172,805
Held-to-maturity, total securities in a loss position | 172,617 | 191,256
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Held-to-maturity, less than 12 continuous months | 0 | (1,623)
Held-to-maturity, greater than or equal to 12 continuous months | (12,490) | (16,869)
Held-to-maturity, gross unrealized losses | (12,490) | (18,492)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 54,133 | 0
Available-for-sale, greater than 12 continuous months, fair value | 3,273 | 33,749
Available-for-sale, total securities in a loss position, fair value | 57,406 | 33,749
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (645) | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (569) | (6,321)
Available-for-sale, total securities in a loss position, unrealized loss | (1,214) | (6,321)
MBS pass-through securities issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Held-to-maturity, less than 12 continuous months | 0 | 3,487
Held-to-maturity, greater than or equal to 12 continuous months | 156,094 | 157,959
Held-to-maturity, total securities in a loss position | 156,094 | 161,446
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Held-to-maturity, less than 12 continuous months | 0 | (150)
Held-to-maturity, greater than or equal to 12 continuous months | (23,771) | (30,792)
Held-to-maturity, gross unrealized losses | (23,771) | (30,942)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 47,098 | 7
Available-for-sale, greater than 12 continuous months, fair value | 11,936 | 25,495
Available-for-sale, total securities in a loss position, fair value | 59,034 | 25,502
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (175) | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (2,265) | (4,840)
Available-for-sale, total securities in a loss position, unrealized loss | (2,440) | (4,840)
SBA-backed securities |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Held-to-maturity, less than 12 continuous months | 0 | 0
Held-to-maturity, greater than or equal to 12 continuous months | 1,224 | 1,452
Held-to-maturity, total securities in a loss position | 1,224 | 1,452
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Held-to-maturity, less than 12 continuous months | 0 | 0
Held-to-maturity, greater than or equal to 12 continuous months | (28) | (61)
Held-to-maturity, gross unrealized losses | (28) | (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 |  |
Held-to-maturity, less than 12 continuous months | 0 | 0
Held-to-maturity, greater than or equal to 12 continuous months | 104,628 | 118,737
Held-to-maturity, total securities in a loss position | 104,628 | 118,737
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Held-to-maturity, less than 12 continuous months | 0 | 0
Held-to-maturity, greater than or equal to 12 continuous months | (17,028) | (22,694)
Held-to-maturity, gross unrealized losses | (17,028) | (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 |  |
Held-to-maturity, less than 12 continuous months | 0 | 5,558
Held-to-maturity, greater than or equal to 12 continuous months | 51,206 | 47,661
Held-to-maturity, total securities in a loss position | 51,206 | 53,219
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Held-to-maturity, less than 12 continuous months | 0 | (44)
Held-to-maturity, greater than or equal to 12 continuous months | (6,973) | (8,297)
Held-to-maturity, gross unrealized losses | (6,973) | (8,341)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 247 | 0
Available-for-sale, greater than 12 continuous months, fair value | 28,434 | 83,714
Available-for-sale, total securities in a loss position, fair value | 28,682 | 83,714
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (3) | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (5,087) | (12,464)
Available-for-sale, total securities in a loss position, unrealized loss | (5,090) | (12,464)
Corporate bonds |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Held-to-maturity, less than 12 continuous months | 0 | 0
Held-to-maturity, greater than or equal to 12 continuous months | 14,715 | 29,315
Held-to-maturity, total securities in a loss position | 14,715 | 29,315
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Held-to-maturity, less than 12 continuous months | 0 | 0
Held-to-maturity, greater than or equal to 12 continuous months | (285) | (685)
Held-to-maturity, gross unrealized losses | $ (285) | (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: |