XML 60 R50.htm IDEA: XBRL DOCUMENT
v3.23.2

Loans - Loans Individually Evaluated for Impairment by Portfolio Class of Loans (Detail) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Dec. 31, 2022 | Jun. 30, 2022 | Jun. 30, 2022 | Dec. 31, 2022
Financing Receivable, Impaired [Line Items] |  |  |  |
With no related allowance recorded, Recorded Investment | $ 4,194 | $ 5,680 | $ 5,680 | $ 4,194
With a specific allowance recorded, Recorded Investment | 4,663 | 4,989 | 4,989 | 4,663
Related Allowance | 1,996 | 2,419 | 2,419 | 1,996
Recorded Investment | 8,857 | 10,669 | 10,669 | 8,857
Average Recorded Investment | 9,660 | 9,748 | 11,258 | 10,710
Consumer Real Estate [Member] |  |  |  |
Financing Receivable, Impaired [Line Items] |  |  |  |
With no related allowance recorded, Recorded Investment | 509 | 657 | 657 | 509
With no related allowance recorded, Unpaid Principal Balance | 509 | 657 | 657 | 509
With no related allowance recorded, Average Recorded Investment |  | 390 | 381 | 355
With no related allowance recorded, Interest Income Recognized |  | 1 | 2 | 5
With no related allowance recorded, Interest Income Recognized Cash Basis |  | 4 | 6 | 12
With a specific allowance recorded, Recorded Investment | 60 |  |  | 60
With a specific allowance recorded, Unpaid Principal Balance | 60 |  |  | 60
Related Allowance | 6 |  |  | 6
With a specific allowance recorded, Average Recorded Investment |  |  |  | 15
With a specific allowance recorded, Interest Income Recognized Cash Basis |  |  |  | 1
Recorded Investment | 569 | 657 | 657 | 569
Unpaid Principal Balance | 569 | 657 | 657 | 569
Average Recorded Investment |  | 390 | 381 | 370
Interest Income Recognized |  | 1 | 2 | 5
Interest Income Recognized Cash Basis |  | 4 | 6 | 13
Agricultural Real Estate [Member] |  |  |  |
Financing Receivable, Impaired [Line Items] |  |  |  |
With no related allowance recorded, Recorded Investment | 2,280 | 2,414 | 2,414 | 2,280
With no related allowance recorded, Unpaid Principal Balance | 2,385 | 2,518 | 2,518 | 2,385
With no related allowance recorded, Average Recorded Investment |  | 2,247 | 1,696 | 2,048
With no related allowance recorded, Interest Income Recognized |  | 6 | 13 | 25
With no related allowance recorded, Interest Income Recognized Cash Basis |  | 3 | 5 | 6
With a specific allowance recorded, Average Recorded Investment |  |  | 2,775 | 1,388
Recorded Investment | 2,280 | 2,414 | 2,414 | 2,280
Unpaid Principal Balance | 2,385 | 2,518 | 2,518 | 2,385
Average Recorded Investment |  | 2,247 | 4,471 | 3,436
Interest Income Recognized |  | 6 | 13 | 25
Interest Income Recognized Cash Basis |  | 3 | 5 | 6
Agricultural [Member] |  |  |  |
Financing Receivable, Impaired [Line Items] |  |  |  |
With no related allowance recorded, Recorded Investment | 152 | 1,296 | 1,296 | 152
With no related allowance recorded, Unpaid Principal Balance | 152 | 1,296 | 1,296 | 152
With no related allowance recorded, Average Recorded Investment |  | 445 | 233 | 588
With no related allowance recorded, Interest Income Recognized Cash Basis |  | 1 | 1 | 2
Recorded Investment | 152 | 1,296 | 1,296 | 152
Unpaid Principal Balance | 152 | 1,296 | 1,296 | 152
Average Recorded Investment |  | 445 | 233 | 588
Interest Income Recognized Cash Basis |  | 1 | 1 | 2
Commercial Real Estate [Member] |  |  |  |
Financing Receivable, Impaired [Line Items] |  |  |  |
With no related allowance recorded, Recorded Investment | 1,234 | 1,148 | 1,148 | 1,234
With no related allowance recorded, Unpaid Principal Balance | 1,272 | 1,148 | 1,148 | 1,272
With no related allowance recorded, Average Recorded Investment |  | 1,323 | 991 | 1,252
With no related allowance recorded, Interest Income Recognized |  | 7 | 11 | 29
With no related allowance recorded, Interest Income Recognized Cash Basis |  | 14 | 19 | 43
With a specific allowance recorded, Recorded Investment | 2,874 | 2,985 | 2,985 | 2,874
With a specific allowance recorded, Unpaid Principal Balance | 2,874 | 2,985 | 2,985 | 2,874
Related Allowance | 438 | 573 | 573 | 438
With a specific allowance recorded, Average Recorded Investment |  | 3,105 | 3,426 | 3,176
With a specific allowance recorded, Interest Income Recognized |  | 38 | 74 | 150
Recorded Investment | 4,108 | 4,133 | 4,133 | 4,108
Unpaid Principal Balance | 4,146 | 4,133 | 4,133 | 4,146
Average Recorded Investment |  | 4,428 | 4,417 | 4,428
Interest Income Recognized |  | 45 | 85 | 179
Interest Income Recognized Cash Basis |  | 14 | 19 | 43
Commercial and Industrial [Member] |  |  |  |
Financing Receivable, Impaired [Line Items] |  |  |  |
With no related allowance recorded, Recorded Investment | 17 | 145 | 145 | 17
With no related allowance recorded, Unpaid Principal Balance | 417 | 145 | 145 | 417
With no related allowance recorded, Average Recorded Investment |  | 207 | 231 | 135
With no related allowance recorded, Interest Income Recognized |  |  | 2 | 2
With no related allowance recorded, Interest Income Recognized Cash Basis |  | 10 | 10 | 10
With a specific allowance recorded, Recorded Investment | 1,564 | 2,004 | 2,004 | 1,564
With a specific allowance recorded, Unpaid Principal Balance | 1,564 | 2,004 | 2,004 | 1,564
Related Allowance | 1,551 | 1,846 | 1,846 | 1,551
With a specific allowance recorded, Average Recorded Investment |  | 2,011 | 1,502 | 1,736
With a specific allowance recorded, Interest Income Recognized |  | 52 | 65 | 149
With a specific allowance recorded, Interest Income Recognized Cash Basis |  |  |  | 23
Recorded Investment | 1,581 | 2,149 | 2,149 | 1,581
Unpaid Principal Balance | 1,981 | 2,149 | 2,149 | 1,981
Average Recorded Investment |  | 2,218 | 1,733 | 1,871
Interest Income Recognized |  | 52 | 67 | 151
Interest Income Recognized Cash Basis |  | 10 | 10 | 33
Consumer [Member] |  |  |  |
Financing Receivable, Impaired [Line Items] |  |  |  |
With no related allowance recorded, Recorded Investment | 2 | 20 | 20 | 2
With no related allowance recorded, Unpaid Principal Balance | 2 | 20 | 20 | 2
With no related allowance recorded, Average Recorded Investment |  | 20 | 19 | 15
With no related allowance recorded, Interest Income Recognized |  |  | 1 | 1
With a specific allowance recorded, Recorded Investment | 165 |  |  | 165
With a specific allowance recorded, Unpaid Principal Balance | 165 |  |  | 165
Related Allowance | 1 |  |  | 1
With a specific allowance recorded, Average Recorded Investment |  |  | 4 | 2
Recorded Investment | 167 | 20 | 20 | 167
Unpaid Principal Balance | $ 167 | 20 | 20 | 167
Average Recorded Investment |  | $ 20 | 23 | 17
Interest Income Recognized |  |  | $ 1 | $ 1

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

X
- Definition Average amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-17 + Details
Name: | us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of interest income recognized that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of interest income recognized on a cash-basis method of accounting that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 14A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-14A + Details
Name: | us-gaap_ImpairedFinancingReceivableRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of allowance for credit losses related to recorded investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableRelatedAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of unpaid principal balance of impaired financing receivables with related allowance for credit losses and without related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of average investment of impaired financing receivables for which there is no related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-17 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of interest income, recognized on accrual basis, on financing receivables that are recognized as impaired, for which there is no related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of interest income, recognized on cash basis, on financing receivables, for which there is no related allowance for credit losses and are recognized as impaired. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment in impaired financing receivables for which there is no related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 14A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-14A + Details
Name: | us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unpaid principal balance of impaired financing receivables for which there is no related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of average investment of impaired financing receivables for which there is a related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-17 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of interest income, recognized on accrual basis, on financing receivables, for which there is a related allowance for credit losses and are recognized as impaired. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of interest income on financing receivables, for which there is a related allowance for credit losses, recognized on a cash-basis method of accounting that the financing receivables were impaired. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment in impaired financing receivables for which there is a related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 14A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-14A + Details
Name: | us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unpaid principal balance of impaired financing receivables for which there is a related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-15 + Details
Name: | us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance
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: |