XML 57 R47.htm IDEA: XBRL DOCUMENT
v3.22.2

Loans - Risk Category of Loans by Portfolio Class (Detail) - USD ($) $ in Thousands | Jun. 30, 2022 | Dec. 31, 2021 | Jun. 30, 2021
--- | --- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | $ 2,034,818 | $ 1,857,419 | $ 1,458,423
Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 199,650 | 198,033 | 189,426
Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 127,340 | 118,504 | 100,905
Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 977,588 | 847,110 | $ 689,728
Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 232,881 | 208,049 |
Other Loan [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 31,243 | 32,089 |
1-2 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 9,736 | 8,720 |
1-2 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 4,935 | 4,178 |
1-2 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 10,142 | 10,894 |
1-2 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 1,210 | 4,604 |
3 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 43,788 | 42,180 |
3 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 33,656 | 38,623 |
3 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 269,520 | 238,132 |
3 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 58,423 | 46,547 |
3 [Member] | Other Loan [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 11,202 | 11,408 |
4 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 132,745 | 129,301 |
4 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 87,177 | 75,164 |
4 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 665,350 | 568,038 |
4 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 168,392 | 152,736 |
4 [Member] | Other Loan [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 20,041 | 20,681 |
5 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 4,440 | 4,599 |
5 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 365 | 227 |
5 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 15,705 | 14,509 |
5 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 916 | 986 |
6 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 8,941 | 13,233 |
6 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 1,207 | 312 |
6 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 16,871 | 15,537 |
6 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | $ 3,940 | $ 3,176 |

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

X
- Definition Amount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 + Details
Name: | us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmao_AgricultureRealEstateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmao_AgriculturalLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialRealEstatePortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmao_OtherLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=fmao_ExcellentAndGoodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=fmao_SatisfactoryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=fmao_SatisfactoryMonitoredMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |