XML 49 R39.htm IDEA: XBRL DOCUMENT
v3.23.2

Loans - Distribution of Fixed Rate Loans and Variable Rate Loans by Major Loan Category (Detail) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Consumer Real Estate [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Distribution of fixed rate loans by major loan category, Fixed Rate | $ 341,601 | $ 354,420
Distribution of variable rate loans by major loan category, Variable Rate | 165,265 | 140,003
Agricultural Real Estate [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Distribution of fixed rate loans by major loan category, Fixed Rate | 142,029 | 144,702
Distribution of variable rate loans by major loan category, Variable Rate | 88,808 | 76,117
Agricultural [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Distribution of fixed rate loans by major loan category, Fixed Rate | 58,445 | 52,867
Distribution of variable rate loans by major loan category, Variable Rate | 69,899 | 75,866
Commercial Real Estate [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Distribution of fixed rate loans by major loan category, Fixed Rate | 993,941 | 941,927
Distribution of variable rate loans by major loan category, Variable Rate | 286,961 | 210,676
Commercial and Industrial [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Distribution of fixed rate loans by major loan category, Fixed Rate | 148,425 | 130,513
Distribution of variable rate loans by major loan category, Variable Rate | 105,019 | 111,847
Consumer [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Distribution of fixed rate loans by major loan category, Fixed Rate | 88,247 | 88,972
Distribution of variable rate loans by major loan category, Variable Rate | 65 | 175
Other Loan [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Distribution of fixed rate loans by major loan category, Fixed Rate | 19,300 | 20,029
Distribution of variable rate loans by major loan category, Variable Rate | $ 9,696 | $ 9,789

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 of loan with fixed rate of interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481990/310-10-45-2 + Details
Name: | us-gaap_LoansReceivableWithFixedRatesOfInterest1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of loan with variable or adjustable rate of interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481990/310-10-45-2 + Details
Name: | us-gaap_LoansReceivableWithVariableRatesOfInterest1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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=us-gaap_ConsumerPortfolioSegmentMember
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: |