XML 69 R57.htm IDEA: XBRL DOCUMENT
v3.25.2

Derivative Instruments - Net Realized and Unrealized Gains and Losses Recorded in "Other, net" (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2025 | Jun. 30, 2024
Derivative Instruments, Gain (Loss) [Line Items] |  |
Other, net | $ 2,267 | $ 6,224
Coffee |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |
Net gains (losses) on coffee-related derivative instruments | (3,810) | 503
Non-operating pension and other postretirement benefit plans credits | 3,965 | 3,648
Other (losses) gains, net | 2,112 | 2,073
Other, net | $ 2,267 | $ 6,224

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 4C -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(5) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(6) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (bb) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 22: 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://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + 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://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 2: 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: |