XML 74 R61.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Investment Securities - Schedule of Unrealized Loss Positions (Details) - USD ($) $ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | $ 62,124 | $ 359,313
Greater than or equal to 12 continuous months | 738,690 | 459,948
Total Securities in a loss position | 800,814 | 819,261
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (676) | (23,733)
Greater than or equal to 12 continuous months | (109,767) | (103,305)
Held-to-maturity, gross unrealized losses | (110,443) | (127,038)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 1,901 | 354,695
Available-for-sale, greater than 12 continuous months, fair value | 549,289 | 443,274
Available-for-sale, total securities in a loss position, fair value | 551,190 | 797,969
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (8) | (33,887)
Available-for-sale, greater than 12 continuous months, unrealized loss | (61,446) | (56,656)
Available-for-sale, total securities in a loss position, unrealized loss | (61,454) | (90,543)
Marketable Securities, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Marketable securities, less than 12 continuous months, fair value | 64,025 | 714,008
Marketable securities, greater than 12 continuous months, fair value | 1,287,979 | 903,222
Marketable securities, total securities in a loss position, fair value | 1,352,004 | 1,617,230
Marketable Securities, Continuous Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Marketable securities, less than 12 continuous months, unrealized loss | (684) | (57,620)
Marketable securities, greater than 12 continuous months, unrealized loss | (171,213) | (159,961)
Marketable securities, total securities in a loss position, unrealized loss | (171,897) | (217,581)
MBS pass-through securities issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 0 | 62,627
Greater than or equal to 12 continuous months | 261,865 | 218,507
Total Securities in a loss position | 261,865 | 281,134
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | 0 | (5,960)
Greater than or equal to 12 continuous months | (44,396) | (44,187)
Held-to-maturity, gross unrealized losses | (44,396) | (50,147)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 44,630
Available-for-sale, greater than 12 continuous months, fair value | 72,146 | 52,235
Available-for-sale, total securities in a loss position, fair value | 72,146 | 96,865
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | (4,501)
Available-for-sale, greater than 12 continuous months, unrealized loss | (9,516) | (7,632)
Available-for-sale, total securities in a loss position, unrealized loss | (9,516) | (12,133)
CMOs issued by FHLMC |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 8,662 | 78,144
Greater than or equal to 12 continuous months | 188,657 | 113,796
Total Securities in a loss position | 197,319 | 191,940
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (21) | (5,874)
Greater than or equal to 12 continuous months | (24,848) | (23,629)
Held-to-maturity, gross unrealized losses | (24,869) | (29,503)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 1,235 | 169,760
Available-for-sale, greater than 12 continuous months, fair value | 240,414 | 143,995
Available-for-sale, total securities in a loss position, fair value | 241,649 | 313,755
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (7) | (15,144)
Available-for-sale, greater than 12 continuous months, unrealized loss | (24,751) | (18,538)
Available-for-sale, total securities in a loss position, unrealized loss | (24,758) | (33,682)
CMOs issued by FNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 42,474 | 106,485
Greater than or equal to 12 continuous months | 54,249 | 0
Total Securities in a loss position | 96,723 | 106,485
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (411) | (5,419)
Greater than or equal to 12 continuous months | (4,368) | 0
Held-to-maturity, gross unrealized losses | (4,779) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 8,214
Available-for-sale, greater than 12 continuous months, fair value | 21,272 | 23,612
Available-for-sale, total securities in a loss position, fair value | 21,272 | 31,826
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | (374)
Available-for-sale, greater than 12 continuous months, unrealized loss | (2,715) | (2,922)
Available-for-sale, total securities in a loss position, unrealized loss | (2,715) | (3,296)
CMOs issued by GNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 10,988 | 27,570
Greater than or equal to 12 continuous months | 34,783 | 10,331
Total Securities in a loss position | 45,771 | 37,901
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (244) | (1,676)
Greater than or equal to 12 continuous months | (4,991) | (1,400)
Held-to-maturity, gross unrealized losses | (5,235) | (3,076)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 4,790
Available-for-sale, greater than 12 continuous months, fair value | 17,128 | 27,529
Available-for-sale, total securities in a loss position, fair value | 17,128 | 32,319
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | (235)
Available-for-sale, greater than 12 continuous months, unrealized loss | (2,878) | (3,617)
Available-for-sale, total securities in a loss position, unrealized loss | (2,878) | (3,852)
SBA-backed securities |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 0 | 2,239
Greater than or equal to 12 continuous months | 1,763 | 0
Total Securities in a loss position | 1,763 | 2,239
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | 0 | (133)
Greater than or equal to 12 continuous months | (90) | 0
Held-to-maturity, gross unrealized losses | (90) | (133)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 37,845
Available-for-sale, greater than 12 continuous months, fair value | 19,471 | 6,133
Available-for-sale, total securities in a loss position, fair value | 19,471 | 43,978
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | (3,228)
Available-for-sale, greater than 12 continuous months, unrealized loss | (1,655) | (143)
Available-for-sale, total securities in a loss position, unrealized loss | (1,655) | (3,371)
Debentures of government sponsored agencies |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 0 | 38,645
Greater than or equal to 12 continuous months | 124,132 | 80,711
Total Securities in a loss position | 124,132 | 119,356
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | 0 | (2,530)
Greater than or equal to 12 continuous months | (21,994) | (23,937)
Held-to-maturity, gross unrealized losses | (21,994) | (26,467)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 19,054
Available-for-sale, greater than 12 continuous months, fair value | 66,862 | 116,052
Available-for-sale, total securities in a loss position, fair value | 66,862 | 135,106
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | (946)
Available-for-sale, greater than 12 continuous months, unrealized loss | (7,037) | (13,062)
Available-for-sale, total securities in a loss position, unrealized loss | (7,037) | (14,008)
U.S. Treasury securities |  |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 10,623 | 10,269
Available-for-sale, total securities in a loss position, fair value | 10,623 | 10,269
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (1,300) | (1,635)
Available-for-sale, total securities in a loss position, unrealized loss | (1,300) | (1,635)
Obligations of state and political subdivisions |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 0 | 15,155
Greater than or equal to 12 continuous months | 44,437 | 36,603
Total Securities in a loss position | 44,437 | 51,758
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | 0 | (589)
Greater than or equal to 12 continuous months | (7,884) | (10,152)
Held-to-maturity, gross unrealized losses | (7,884) | (10,741)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 666 | 70,402
Available-for-sale, greater than 12 continuous months, fair value | 90,655 | 28,711
Available-for-sale, total securities in a loss position, fair value | 91,321 | 99,113
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (1) | (9,459)
Available-for-sale, greater than 12 continuous months, unrealized loss | (10,320) | (5,302)
Available-for-sale, total securities in a loss position, unrealized loss | (10,321) | (14,761)
Corporate bonds |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 0 | 28,448
Greater than or equal to 12 continuous months | 28,804 | 0
Total Securities in a loss position | 28,804 | 28,448
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | 0 | (1,552)
Greater than or equal to 12 continuous months | (1,196) | 0
Held-to-maturity, gross unrealized losses | (1,196) | (1,552)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 10,718 | 33,276
Available-for-sale, total securities in a loss position, fair value | 10,718 | 33,276
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (1,274) | (3,714)
Available-for-sale, total securities in a loss position, unrealized loss | (1,274) | (3,714)
Asset-backed securities |  |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 0 | 1,462
Available-for-sale, total securities in a loss position, fair value | 0 | 1,462
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | 0 | (91)
Available-for-sale, total securities in a loss position, unrealized loss | $ 0 | $ (91)

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_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_GovernmentNationalMortgageAssociationGnmaInsuredLoansMember
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: |

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