XML 102 R87.htm IDEA: XBRL DOCUMENT
v3.22.4

Federal Funds Purchased and Securities Sold Under Agreement to Repurchase - Daily Securities Sold under Agreement to Repurchase (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Schedule of Trading Securities and Other Trading Assets [Line Items] |  |
Amount Outstanding at End of Period | $ 31,600 |
Daily Securities Sold Under Agreement to Repurchase [Member] |  |
Schedule of Trading Securities and Other Trading Assets [Line Items] |  |
Amount Outstanding at End of Period | $ 1,115 | $ 1,062
Weighted Average Rate End of Period | 0.95% | 0.70%
Maximum Amount Borrowings Outstanding Month End | $ 1,450 | $ 1,991
Approximate Average Outstanding in Period | $ 1,169 | $ 1,514
Approximate Weighted Average Interest Rate For the Period | 0.43% | 0.43%
Term CDs Sold Under Agreement to Repurchase [Member] |  |
Schedule of Trading Securities and Other Trading Assets [Line Items] |  |
Amount Outstanding at End of Period | $ 30,518 | $ 28,206
Weighted Average Rate End of Period | 0.97% | 1.00%
Maximum Amount Borrowings Outstanding Month End | $ 34,504 | $ 28,362
Approximate Average Outstanding in Period | $ 31,573 | $ 28,315
Approximate Weighted Average Interest Rate For the Period | 2.54% | 2.56%

X
- Definition Securities sold under agreements to repurchase average outstanding amount in period. + References No definition available. + Details
Name: | fmao_SecuritiesSoldUnderAgreementsToRepurchaseAverageOutstandingAmountInPeriod
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Securities sold under agreements to repurchase maximum monthly outstanding amount. + References No definition available. + Details
Name: | fmao_SecuritiesSoldUnderAgreementsToRepurchaseMaximumMonthlyOutstandingAmount
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Securities sold under agreements to repurchase weighted average interest rate. + References No definition available. + Details
Name: | fmao_SecuritiesSoldUnderAgreementsToRepurchaseWeightedAverageInterestRate
Namespace Prefix: | fmao_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Securities sold under agreements to repurchase weighted average interest rate during period. + References No definition available. + Details
Name: | fmao_SecuritiesSoldUnderAgreementsToRepurchaseWeightedAverageInterestRateDuringPeriod
Namespace Prefix: | fmao_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after the effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(m)(1)(i)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(m)(1)(ii)(A)(i)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.13(1)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_SecuritiesSoldUnderAgreementsToRepurchase
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=fmao_DailySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_CertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |