XML 85 R63.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Derivative Instruments - Net Realized and Unrealized Gains and Losses Recorded in "Other, net" (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Jun. 30, 2022
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Other, net | $ 6,224 | $ (4,242) | $ 8,140
Coffee |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Net gains (losses) on coffee-related derivative instruments | 503 | (6,978) | 4,498
Non-operating pension and other postretirement benefit plans credits | 3,648 | 2,910 | 3,598
Other (losses) gains, net | 2,073 | (174) | 44
Other, net | $ 6,224 | $ (4,242) | $ 8,140

X
- Definition Other Investment Gain (Loss) + References No definition available. + Details
Name: | farm_OtherInvestmentGainLoss
Namespace Prefix: | farm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Pension and Other Postretirement Benefits Cost (Reversal of Cost), Nonoperating + References No definition available. + Details
Name: | farm_PensionAndOtherPostretirementBenefitsCostReversalOfCostNonoperating
Namespace Prefix: | farm_
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 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 of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -SubTopic 10 -Topic 815 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (expense) related to nonoperating activities, classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_OtherNonoperatingIncomeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ProductOrServiceAxis=farm_CoffeeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |