XML 83 R64.htm IDEA: XBRL DOCUMENT
v3.23.2

Derivative Instruments - Net Realized and Unrealized Gains and Losses Recorded in "Other, net" (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2021
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Other, net | $ (4,242) | $ 8,140 | $ 19,386
Coffee |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Net realized and unrealized losses from coffee-related derivatives not designated as accounting hedges | (6,978) | 4,498 | 2,941
Non-operating pension and other postretirement benefit plans cost | 2,910 | 3,598 | 16,398
Other gains, net | (174) | 44 | 47
Other, net | $ (4,242) | $ 8,140 | $ 19,386

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: | debit
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_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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CC -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.9) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + 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: |