XML 80 R66.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Loans - Additional Information (Detail) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans held for sale | $ 1,576,000 | $ 827,000
Fair value adjustment of derivative | 2,700,000 | 0
Loans | 2,580,674,000 | 2,357,903,000
Allowance for loan losses | 25,024,000 | 20,313,000
Increase to loan balance | 411,000 |
Commercial & Industrial [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans | 254,935,000 | 242,360,000
Allowance for loan losses | $ 0 |
Commercial & Industrial [Member] | PPP Loans [Member] |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Loans |  | $ 2,900,000

X
- Definition Fair value adjustment of derivative. + References No definition available. + Details
Name: | fmao_FairValueAdjustmentOfDerivative
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_AccountsNotesAndLoansReceivableLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in amortized cost of financing receivable modified for debtor experiencing financial difficulty. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-42 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 12A -Publisher FASB -URI https://asc.fasb.org//1943274/2147481933/310-10-55-12A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 33 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-33 + Details
Name: | us-gaap_FinancingReceivableTroubledDebtRestructuringIncreaseDecreaseFromModification
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of allowance to cover probable credit losses on loans and leases. Includes carryover of or adjustments to the allowance for loan losses in connection with business combinations. Excludes allowance for loans and leases covered under loss sharing agreements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (b)(1)(ii) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481696/310-30-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 11B -Subparagraph (c)(1) -SubTopic 10 -Topic 310 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-11B Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 11B -Subparagraph (g) -SubTopic 10 -Topic 310 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-11B Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SAB Topic 6.L.1) -SubTopic 10 -Topic 310 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480418/310-10-S99-4 + Details
Name: | us-gaap_LoansAndLeasesReceivableAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before allowance of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Includes deferred interest and fees, undisbursed portion of loan balance, unamortized costs and premiums and discounts from face amounts. Excludes loans and leases covered under loss sharing agreements. + 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_LoansAndLeasesReceivableGrossCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after valuation allowance, of financing receivable held for sale and not part of disposal group. Excludes loan covered under loss sharing agreement and loan classified as investment in debt security. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 948 -SubTopic 310 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481852/948-310-45-1 + Details
Name: | us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=fmao_PaycheckProtectionProgramLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |