XML 101 R86.htm IDEA: XBRL DOCUMENT
v3.23.2

Stockholders' Equity - Additional Information (Detail) | 12 Months Ended |
--- | --- | ---
Jun. 29, 2023 Channel $ / shares shares | Jun. 30, 2022 $ / shares
Stockholders Equity [Line Items] |  |
Common stock, par value | $ 0.01 |
Common Stock, Non-Cumulative Voting Rights of One Vote Per Share [Member] |  |
Stockholders Equity [Line Items] |  |
Common stock, par value | $ 0.01 | $ 0.01
Percentage of members comprising the Board of Directors elected by the holders of Common Stock | 25.00% |
Noncumulative voting rights per share | Channel | 1 |
Class A Common Stock [Member] |  |
Stockholders Equity [Line Items] |  |
Common stock, par value | $ 0.01 | $ 0.01
Number of shares of Common Stock converted from each share of Class A Stock | shares | 1 |
Number of votes per share | Channel | 10 |

X
- Definition Convertible Number Of Common Shares + References No definition available. + Details
Name: | jbss_ConvertibleNumberOfCommonShares
Namespace Prefix: | jbss_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Noncumulative Voting Per Share + References No definition available. + Details
Name: | jbss_NumberOfNoncumulativeVotingPerShare
Namespace Prefix: | jbss_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of votes per share on all other matters which Class A and Common holders are entitled to vote. + References No definition available. + Details
Name: | jbss_NumberOfVotingPerShareOnOtherMatters
Namespace Prefix: | jbss_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Right Of Electing Members Of Board Of Directors Percentage + References No definition available. + Details
Name: | jbss_RightOfElectingMembersOfBoardOfDirectorsPercentage
Namespace Prefix: | jbss_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | jbss_StockholdersEquityLineItems
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=jbss_NoncumulativeCommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |