XML 84 R62.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Derivative Instruments - Pretax Effect of Derivative Instruments on Earnings and OCI (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Jun. 30, 2022
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Other comprehensive income (loss), cash flow hedge, reclassified from AOCI to earnings | $ (615) | $ 1,392 | $ 15,865
Net (gains) losses recognized in AOCI - Coffee-related | (406) | 2,384 | (12,172)
Commodity |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Net (gains) losses recognized in AOCI - Coffee-related | (406) | 2,384 | (12,172)
Interest expense | Interest Rate Swap |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Other comprehensive income (loss), cash flow hedge, reclassified from AOCI to earnings | 0 | 396 | (7)
Interest expense | Interest Rate Swap, Partial Unwind |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Other comprehensive income (loss), cash flow hedge, reclassified from AOCI to earnings | 0 | (1,305) | (1,201)
Cost of goods sold | Commodity |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Other comprehensive income (loss), cash flow hedge, reclassified from AOCI to earnings | $ (615) | $ 1,392 | $ 15,865

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 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4E + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after tax and before reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-10A + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-15 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=farm_InterestRateSwapPartialUnwindMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |