XML 139 R125.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Fair Value of Financial Instruments - Quantitative Information about Unobservable Inputs Used in Recurring and Nonrecurring Level 3 Fair Value Measurements (Detail) $ in Thousands | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
--- | --- | ---
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Fair Value | $ 358,478 | $ 390,789
State and Local Governments [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Fair Value | 67,854 | 69,417
Level 3 [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Fair Value | 2,460 | 3,345
Level 3 [Member] | State and Local Governments [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Fair Value | $ 2,460 | $ 3,345
Valuation Technique | us-gaap:ValuationTechniqueDiscountedCashFlowMember | us-gaap:ValuationTechniqueDiscountedCashFlowMember
Unobservable Inputs | us-gaap:MeasurementInputDiscountRateMember | us-gaap:MeasurementInputDiscountRateMember
Level 3 [Member] | Collateral Dependent Impaired Loans [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Fair Value | $ 22,676 | $ 2,667
Valuation Technique | us-gaap:MarketApproachValuationTechniqueMember | us-gaap:MarketApproachValuationTechniqueMember
Unobservable Inputs | us-gaap:MeasurementInputAppraisedValueMember | us-gaap:MeasurementInputAppraisedValueMember
Level 3 [Member] | Loan Servicing Right [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Fair Value | $ 58 |
Valuation Technique | us-gaap:ValuationTechniqueDiscountedCashFlowMember |
Unobservable Inputs | us-gaap:MeasurementInputDiscountRateMember |
Level 3 [Member] | Minimum [Member] | State and Local Governments [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | (0.0017) | 0.0208
Level 3 [Member] | Minimum [Member] | Collateral Dependent Impaired Loans [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | 0 | 0.20
Level 3 [Member] | Minimum [Member] | Loan Servicing Right [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | 0.0511 |
Level 3 [Member] | Maximum [Member] | State and Local Governments [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | 0.0492 | 0.0501
Level 3 [Member] | Maximum [Member] | Collateral Dependent Impaired Loans [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | 0.50 | 0.2901
Level 3 [Member] | Maximum [Member] | Loan Servicing Right [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | 0.228 |
Level 3 [Member] | Weighted Average | State and Local Governments [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | 0.0349 | 0.0438
Level 3 [Member] | Weighted Average | Collateral Dependent Impaired Loans [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | 0.0041 | 0.2413
Level 3 [Member] | Weighted Average | Loan Servicing Right [Member] |  |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] |  |
Discount rate | 0.1087 |

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481830/320-10-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Value of input used to measure investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Indicates measurement input for investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleMeasurementInputExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Indicates valuation technique for measuring investment in debt security at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleValuationTechniqueExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-3 + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of input used to measure real estate owned by financial institution by financial institution which is not directly related to its business. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_OtherRealEstateOwnedMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate amount of servicing assets that are subsequently measured at fair value and servicing assets that are subsequently measured using the amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481260/860-50-45-2 + Details
Name: | us-gaap_ServicingAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates measurement input for servicing asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_ServicingAssetMeasurementInputExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Indicates valuation technique for measuring servicing asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_ServicingAssetValuationTechniqueExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

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

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=fmao_LoanServicingRightsMember
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: |

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

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