XML 103 R88.htm IDEA: XBRL DOCUMENT
v3.21.2

Employee Benefit Plans - Additional Information (Detail) | 12 Months Ended
--- | ---
Jun. 24, 2021
Employee Contribution First Three Percent [Member] |
Defined Benefit Plan And Defined Contribution Plan Disclosure [Line Items] |
Matching percentage by employer for 401(k) plan contributions | 100.00%
Percent of employee contribution under contributory plan | 3.00%
Employee Contribution Next Two Percent [Member] |
Defined Benefit Plan And Defined Contribution Plan Disclosure [Line Items] |
Matching percentage by employer for 401(k) plan contributions | 50.00%
Percent of employee contribution under contributory plan | 2.00%

X
- Definition Defined Benefit Plan and Defined Contribution Plan Disclosure [Line Items] + References No definition available. + Details
Name: | jbss_DefinedBenefitPlanAndDefinedContributionPlanDisclosureLineItems
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage employer matches of the employee's percentage contribution matched. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=jbss_EmployeeContributionFirstThreePercentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=jbss_EmployeeContributionNextTwoPercentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |