XML 72 R59.htm IDEA: XBRL DOCUMENT
v3.20.4

Related Party Transaction - Additional Information (Detail) - Promissory Note [Member] - USD ($) $ in Thousands | 6 Months Ended
--- | ---
Dec. 24, 2020 | Dec. 26, 2019
Purchase price financed by seller through unsecured debt | $ 11,500 |
Executive Officer [Member] |  |
Interest paid to related parties | $ 57 | $ 127

X
- Definition Business combination, consideration transferred promissory note. + References No definition available. + Details
Name: | jbss_BusinessCombinationConsiderationTransferredPromissoryNote
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=jbss_PromissoryNoteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_ExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |