XML 69 R52.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Business Combination & Asset Purchase - Summary of Consideration Paid and Amounts of Assets Acquired and Liabilities Assumed Recognized (Parenthetical) (Detail) - shares | Oct. 01, 2021 | Nov. 16, 2020 | Jan. 01, 2019
--- | --- | --- | ---
Perpetual Federal Savings Bank [Member] |  |  |
Business Acquisition [Line Items] |  |  |
Common stock issued in exchange of each outstanding share | 1,833,845 |  |
Limberlost Bancshares, Inc. [Member] |  |  |
Business Acquisition [Line Items] |  |  |
Common stock issued in exchange of each outstanding share |  |  | 1,830,000
Adams County Financial Resources [Member] |  |  |
Business Acquisition [Line Items] |  |  |
Common stock issued in exchange of each outstanding share |  | 40,049 |

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_PerpetualFederalSavingBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_LimberlostBancsharesIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_AdamsCountyFinancialResourcesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |