XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.21.1

Securities - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2021 | Dec. 31, 2020
Schedule of Available-for-sale Securities [Line Items] |  |
Investments pledged, carrying value | $ 81,200 | $ 83,200
Other securities | 5,939 | 5,939
Federal Home Loan Bank of Cincinnati and Indianapolis Stock [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Other securities | 5,800 | 5,800
Ohio Equity Fund for Housing Limited Partnership [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Other securities | $ 151 | $ 151
Minimum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Underwater security | 10 years |
Loss position existed | 3 years |

X
- Definition For under water securities loss position expiration period. + References No definition available. + Details
Name: | fmao_ForUnderWaterSecuritiesLossPositionExpirationPeriod
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maturity period for under water securities. + References No definition available. + Details
Name: | fmao_MaturityPeriodForUnderWaterSecurities
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Includes other investments and securities that are not at fair value as of the balance sheet date and those that are not accounted for under the equity method. + References Reference 1: 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(5)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(12)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 + Details
Name: | us-gaap_OtherInvestmentsAndSecuritiesAtCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sum of the carrying amounts as of the date of the latest financial statement presented of securities which are owned but transferred to another party to serve as collateral to partially or fully secure a debt obligation, repurchase agreement or other current or potential obligation, and for which the transferee is not permitted to sell or re-pledge them to an unrelated party. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -URI http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729 + Details
Name: | us-gaap_PledgedFinancialInstrumentsNotSeparatelyReportedSecuritiesPledged
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |