XML 46 R37.htm IDEA: XBRL DOCUMENT
v3.23.1

Investment Securities - Unrealized Loss Positions (Details) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | $ 156,148 | $ 359,313
Greater than or equal to 12 continuous months | 637,574 | 459,948
Total Securities in a loss position | 793,722 | 819,261
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (4,197) | (23,733)
Greater than or equal to 12 continuous months | (104,741) | (103,305)
Held-to-maturity, gross unrealized losses | (108,938) | (127,038)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 25,789 | 354,695
Available-for-sale, greater than 12 continuous months, fair value | 758,770 | 443,274
Available-for-sale, total securities in a loss position, fair value | 784,559 | 797,969
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (512) | (33,887)
Available-for-sale, greater than 12 continuous months, unrealized loss | (73,896) | (56,656)
Available-for-sale, total securities in a loss position, unrealized loss | (74,408) | (90,543)
Marketable Securities, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Marketable securities, less than 12 continuous months, fair value | 181,937 | 714,008
Marketable securities, greater than 12 continuous months, fair value | 1,396,344 | 903,222
Marketable securities, total securities in a loss position, fair value | 1,578,281 | 1,617,230
Marketable Securities, Continuous Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Marketable securities, less than 12 continuous months, unrealized loss | (4,709) | (57,620)
Marketable securities, greater than 12 continuous months, unrealized loss | (178,637) | (159,961)
Marketable securities, total securities in a loss position, unrealized loss | (183,346) | (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 | 9,107 | 62,627
Greater than or equal to 12 continuous months | 268,577 | 218,507
Total Securities in a loss position | 277,684 | 281,134
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (316) | (5,960)
Greater than or equal to 12 continuous months | (44,691) | (44,187)
Held-to-maturity, gross unrealized losses | (45,007) | (50,147)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 7,729 | 44,630
Available-for-sale, greater than 12 continuous months, fair value | 87,173 | 52,235
Available-for-sale, total securities in a loss position, fair value | 94,902 | 96,865
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (233) | (4,501)
Available-for-sale, greater than 12 continuous months, unrealized loss | (10,190) | (7,632)
Available-for-sale, total securities in a loss position, unrealized loss | (10,423) | (12,133)
CMOs issued by FHLMC |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 44,217 | 78,144
Greater than or equal to 12 continuous months | 150,466 | 113,796
Total Securities in a loss position | 194,683 | 191,940
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (1,091) | (5,874)
Greater than or equal to 12 continuous months | (23,882) | (23,629)
Held-to-maturity, gross unrealized losses | (24,973) | (29,503)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 13,194 | 169,760
Available-for-sale, greater than 12 continuous months, fair value | 299,939 | 143,995
Available-for-sale, total securities in a loss position, fair value | 313,133 | 313,755
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (263) | (15,144)
Available-for-sale, greater than 12 continuous months, unrealized loss | (27,251) | (18,538)
Available-for-sale, total securities in a loss position, unrealized loss | (27,514) | (33,682)
CMOs issued by FNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 37,106 | 106,485
Greater than or equal to 12 continuous months | 41,538 | 0
Total Securities in a loss position | 78,644 | 106,485
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (353) | (5,419)
Greater than or equal to 12 continuous months | (3,376) | 0
Held-to-maturity, gross unrealized losses | (3,729) | (5,419)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 279 | 4,790
Available-for-sale, greater than 12 continuous months, fair value | 31,321 | 27,529
Available-for-sale, total securities in a loss position, fair value | 31,600 | 32,319
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (4) | (235)
Available-for-sale, greater than 12 continuous months, unrealized loss | (3,178) | (3,617)
Available-for-sale, total securities in a loss position, unrealized loss | (3,182) | (3,852)
CMOs issued by GNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 27,285 | 27,570
Greater than or equal to 12 continuous months | 10,467 | 10,331
Total Securities in a loss position | 37,752 | 37,901
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (1,802) | (1,676)
Greater than or equal to 12 continuous months | (1,218) | (1,400)
Held-to-maturity, gross unrealized losses | (3,020) | (3,076)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 71 | 8,214
Available-for-sale, greater than 12 continuous months, fair value | 27,014 | 23,612
Available-for-sale, total securities in a loss position, fair value | 27,085 | 31,826
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (1) | (374)
Available-for-sale, greater than 12 continuous months, unrealized loss | (2,742) | (2,922)
Available-for-sale, total securities in a loss position, unrealized loss | (2,743) | (3,296)
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,878 | 0
Total Securities in a loss position | 1,878 | 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 | (99) | 0
Held-to-maturity, gross unrealized losses | (99) | (133)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 30 | 37,845
Available-for-sale, greater than 12 continuous months, fair value | 37,580 | 6,133
Available-for-sale, total securities in a loss position, fair value | 37,610 | 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 | (2,578) | (143)
Available-for-sale, total securities in a loss position, unrealized loss | (2,578) | (3,371)
Debentures of government- sponsored agencies |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 29,433 | 38,645
Greater than or equal to 12 continuous months | 94,316 | 80,711
Total Securities in a loss position | 123,749 | 119,356
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (561) | (2,530)
Greater than or equal to 12 continuous months | (21,588) | (23,937)
Held-to-maturity, gross unrealized losses | (22,149) | (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 | 137,121 | 116,052
Available-for-sale, total securities in a loss position, fair value | 137,121 | 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 | (12,000) | (13,062)
Available-for-sale, total securities in a loss position, unrealized loss | (12,000) | (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,523 | 10,269
Available-for-sale, total securities in a loss position, fair value | 10,523 | 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,385) | (1,635)
Available-for-sale, total securities in a loss position, unrealized loss | (1,385) | (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 | 9,000 | 15,155
Greater than or equal to 12 continuous months | 41,565 | 36,603
Total Securities in a loss position | 50,565 | 51,758
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (74) | (589)
Greater than or equal to 12 continuous months | (8,654) | (10,152)
Held-to-maturity, gross unrealized losses | (8,728) | (10,741)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 4,486 | 70,402
Available-for-sale, greater than 12 continuous months, fair value | 92,776 | 28,711
Available-for-sale, total securities in a loss position, fair value | 97,262 | 99,113
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (11) | (9,459)
Available-for-sale, greater than 12 continuous months, unrealized loss | (11,486) | (5,302)
Available-for-sale, total securities in a loss position, unrealized loss | (11,497) | (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,767 | 0
Total Securities in a loss position | 28,767 | 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,233) | 0
Held-to-maturity, gross unrealized losses | (1,233) | (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 | 33,962 | 33,276
Available-for-sale, total securities in a loss position, fair value | 33,962 | 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 | (3,029) | (3,714)
Available-for-sale, total securities in a loss position, unrealized loss | (3,029) | (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 | 1,361 | 1,462
Available-for-sale, total securities in a loss position, fair value | 1,361 | 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 | (57) | (91)
Available-for-sale, total securities in a loss position, unrealized loss | $ (57) | $ (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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + 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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 + 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + 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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + 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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + 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/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 + 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/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 + 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/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 + 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/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + 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/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + 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/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + 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: |