<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.1.u1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>262</ContextCount>
  <ElementCount>382</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>66</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/ConsolidatedStatementsofOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - Consolidated Statements of Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/ConsolidatedStatementsofShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/SignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Divestiture of SMART Brazil</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DivestitureofSMARTBrazil</Role>
      <ShortName>Divestiture of SMART Brazil</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Recently Adopted Accounting Standards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/RecentlyAdoptedAccountingStandards</Role>
      <ShortName>Recently Adopted Accounting Standards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Business Acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/BusinessAcquisition</Role>
      <ShortName>Business Acquisition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Cash and Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/CashandInvestments</Role>
      <ShortName>Cash and Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Accounts Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/AccountsReceivable</Role>
      <ShortName>Accounts Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/PropertyandEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Intangible Assets and Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/IntangibleAssetsandGoodwill</Role>
      <ShortName>Intangible Assets and Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Accounts Payable and Accrued Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/AccountsPayableandAccruedExpenses</Role>
      <ShortName>Accounts Payable and Accrued Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Equity Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EquityPlans</Role>
      <ShortName>Equity Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Revenue and Customer Contract Balances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/RevenueandCustomerContractBalances</Role>
      <ShortName>Revenue and Customer Contract Balances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Other Operating (Income) Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/OtherOperatingIncomeExpense</Role>
      <ShortName>Other Operating (Income) Expense</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Other Non-operating (Income) Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/OtherNonoperatingIncomeExpense</Role>
      <ShortName>Other Non-operating (Income) Expense</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - Segment and Other Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/SegmentandOtherInformation</Role>
      <ShortName>Segment and Other Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/SignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.smartm.com/role/SignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954472 - Disclosure - Divestiture of SMART Brazil (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DivestitureofSMARTBrazilTables</Role>
      <ShortName>Divestiture of SMART Brazil (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/DivestitureofSMARTBrazil</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954473 - Disclosure - Cash and Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/CashandInvestmentsTables</Role>
      <ShortName>Cash and Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/CashandInvestments</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954474 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/Inventories</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954475 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/PropertyandEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/PropertyandEquipment</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954476 - Disclosure - Intangible Assets and Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/IntangibleAssetsandGoodwillTables</Role>
      <ShortName>Intangible Assets and Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/IntangibleAssetsandGoodwill</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - Accounts Payable and Accrued Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/AccountsPayableandAccruedExpensesTables</Role>
      <ShortName>Accounts Payable and Accrued Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/AccountsPayableandAccruedExpenses</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954478 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/Debt</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954479 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/Leases</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954480 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/Equity</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954481 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/FairValueMeasurements</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954482 - Disclosure - Equity Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EquityPlansTables</Role>
      <ShortName>Equity Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/EquityPlans</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954483 - Disclosure - Revenue and Customer Contract Balances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/RevenueandCustomerContractBalancesTables</Role>
      <ShortName>Revenue and Customer Contract Balances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/RevenueandCustomerContractBalances</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - Other Non-operating (Income) Expense (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/OtherNonoperatingIncomeExpenseTables</Role>
      <ShortName>Other Non-operating (Income) Expense (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/OtherNonoperatingIncomeExpense</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954485 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/IncomeTaxes</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954486 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/EarningsPerShare</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954487 - Disclosure - Segment and Other Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/SegmentandOtherInformationTables</Role>
      <ShortName>Segment and Other Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/role/SegmentandOtherInformation</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954488 - Disclosure - Significant Accounting Policies - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/SignificantAccountingPoliciesDetails</Role>
      <ShortName>Significant Accounting Policies - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.smartm.com/role/SignificantAccountingPoliciesPolicies</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954489 - Disclosure - Divestiture of SMART Brazil - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DivestitureofSMARTBrazilNarrativeDetails</Role>
      <ShortName>Divestiture of SMART Brazil - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954490 - Disclosure - Divestiture of SMART Brazil - Total Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DivestitureofSMARTBrazilTotalConsiderationDetails</Role>
      <ShortName>Divestiture of SMART Brazil - Total Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954491 - Disclosure - Divestiture of SMART Brazil - Assets and Liabilities of Brazil Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DivestitureofSMARTBrazilAssetsandLiabilitiesofBrazilOperationsDetails</Role>
      <ShortName>Divestiture of SMART Brazil - Assets and Liabilities of Brazil Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954492 - Disclosure - Divestiture of SMART Brazil - Results of out SMART Brazil operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DivestitureofSMARTBrazilResultsofoutSMARTBraziloperationsDetails</Role>
      <ShortName>Divestiture of SMART Brazil - Results of out SMART Brazil operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - Divestiture of SMART Brazil - Loss From Divestiture (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DivestitureofSMARTBrazilLossFromDivestitureDetails</Role>
      <ShortName>Divestiture of SMART Brazil - Loss From Divestiture (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - Business Acquisition - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/BusinessAcquisitionAdditionalInformationDetails</Role>
      <ShortName>Business Acquisition - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - Cash and Investments - Schedule of Cash, Cash Equivalents, and Short-term Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/CashandInvestmentsScheduleofCashCashEquivalentsandShorttermInvestmentsDetails</Role>
      <ShortName>Cash and Investments - Schedule of Cash, Cash Equivalents, and Short-term Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - Cash and Investments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/CashandInvestmentsNarrativeDetails</Role>
      <ShortName>Cash and Investments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/AccountsReceivableDetails</Role>
      <ShortName>Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.smartm.com/role/AccountsReceivable</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - Inventories - Schedule of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/InventoriesScheduleofInventoriesDetails</Role>
      <ShortName>Inventories - Schedule of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - Inventories - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/InventoriesAdditionalInformationDetails</Role>
      <ShortName>Inventories - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954500 - Disclosure - Property and Equipment - Schedule of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/PropertyandEquipmentScheduleofPropertyandEquipmentDetails</Role>
      <ShortName>Property and Equipment - Schedule of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9954501 - Disclosure - Intangible Assets and Goodwill - Schedule of Intangible Assets and Goodwill by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/IntangibleAssetsandGoodwillScheduleofIntangibleAssetsandGoodwillbySegmentDetails</Role>
      <ShortName>Intangible Assets and Goodwill - Schedule of Intangible Assets and Goodwill by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - Intangible Assets and Goodwill - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/IntangibleAssetsandGoodwillAdditionalInformationDetails</Role>
      <ShortName>Intangible Assets and Goodwill - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - Accounts Payable and Accrued Expenses - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/AccountsPayableandAccruedExpensesDetails</Role>
      <ShortName>Accounts Payable and Accrued Expenses - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.smartm.com/role/AccountsPayableandAccruedExpensesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9954504 - Disclosure - Debt - Summary of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DebtSummaryofLongTermDebtDetails</Role>
      <ShortName>Debt - Summary of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9954505 - Disclosure - Debt - Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DebtCreditFacilityDetails</Role>
      <ShortName>Debt - Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9954506 - Disclosure - Debt - Convertible Senior Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.smartm.com/role/DebtConvertibleSeniorNotesDetails</Role>
      <ShortName>Debt - Convertible Senior Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9954507 - Disclosure - Debt - Interest Expense Disclosure (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DebtInterestExpenseDisclosureDetails</Role>
      <ShortName>Debt - Interest Expense Disclosure (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9954508 - Disclosure - Debt - Summary of Maturities of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/DebtSummaryofMaturitiesofDebtDetails</Role>
      <ShortName>Debt - Summary of Maturities of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9954509 - Disclosure - Leases - Summary of Components of Operating Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/LeasesSummaryofComponentsofOperatingLeaseExpenseDetails</Role>
      <ShortName>Leases - Summary of Components of Operating Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9954510 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/LeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9954511 - Disclosure - Leases - Schedule of Minimum Payments of Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/LeasesScheduleofMinimumPaymentsofLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Schedule of Minimum Payments of Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9954512 - Disclosure - Equity - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EquityAdditionalInformationDetails</Role>
      <ShortName>Equity - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9954513 - Disclosure - Equity - Schedule of Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EquityScheduleofAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Equity - Schedule of Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9954514 - Disclosure - Fair Value Measurements - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.smartm.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9954515 - Disclosure - Equity Plans - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EquityPlansAdditionalInformationDetails</Role>
      <ShortName>Equity Plans - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9954516 - Disclosure - Equity Plans - Summary of Aggregate Restricted Award Activity and Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EquityPlansSummaryofAggregateRestrictedAwardActivityandAssumptionsDetails</Role>
      <ShortName>Equity Plans - Summary of Aggregate Restricted Award Activity and Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9954517 - Disclosure - Equity Plans - Summary of Share-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EquityPlansSummaryofSharebasedCompensationExpenseDetails</Role>
      <ShortName>Equity Plans - Summary of Share-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9954518 - Disclosure - Revenue and Customer Contract Balances - Summary of Net Sales by Products and Services and Gross Amounts Billed for Services (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/RevenueandCustomerContractBalancesSummaryofNetSalesbyProductsandServicesandGrossAmountsBilledforServicesDetails</Role>
      <ShortName>Revenue and Customer Contract Balances - Summary of Net Sales by Products and Services and Gross Amounts Billed for Services (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9954519 - Disclosure - Revenue and Customer Contract Balances - Summary of Customer Contract Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/RevenueandCustomerContractBalancesSummaryofCustomerContractBalancesDetails</Role>
      <ShortName>Revenue and Customer Contract Balances - Summary of Customer Contract Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9954520 - Disclosure - Revenue and Customer Contract Balances - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/RevenueandCustomerContractBalancesAdditionalinformationDetails</Role>
      <ShortName>Revenue and Customer Contract Balances - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9954521 - Disclosure - Other Operating (Income) Expense - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/OtherOperatingIncomeExpenseAdditionalInformationDetails</Role>
      <ShortName>Other Operating (Income) Expense - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.smartm.com/role/OtherOperatingIncomeExpense</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9954522 - Disclosure - Other Non-operating (Income) Expense - Schedule of Other Non-operating (Income) Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/OtherNonoperatingIncomeExpenseScheduleofOtherNonoperatingIncomeExpenseDetails</Role>
      <ShortName>Other Non-operating (Income) Expense - Schedule of Other Non-operating (Income) Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.smartm.com/role/OtherNonoperatingIncomeExpenseTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9954523 - Disclosure - Income Taxes - Schedule of Income (Loss) before Income Taxes and Components of Income Tax Provision (Benefit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/IncomeTaxesScheduleofIncomeLossbeforeIncomeTaxesandComponentsofIncomeTaxProvisionBenefitDetails</Role>
      <ShortName>Income Taxes - Schedule of Income (Loss) before Income Taxes and Components of Income Tax Provision (Benefit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9954524 - Disclosure - Earnings Per Share - Schedule of Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9954525 - Disclosure - Earnings Per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/EarningsPerShareScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9954526 - Disclosure - Segment and Other Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/SegmentandOtherInformationAdditionalInformationDetails</Role>
      <ShortName>Segment and Other Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="sgh-20240301.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9954527 - Disclosure - Segment and Other Information - Schedule of Segment Reporting Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/role/SegmentandOtherInformationScheduleofSegmentReportingInformationDetails</Role>
      <ShortName>Segment and Other Information - Schedule of Segment Reporting Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0540-CurrentFiscalYearEndDate-Registrant-Value] In submission type 10-Q, CurrentFiscalYearEndDate value, --08-30, should match the Entity Registrant Fiscal Year End Date "08/26" on record within EDGAR. sgh-20240301.htm 4</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 1 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap:LesseeOperatingLeaseTermOfContract -  sgh-20240301.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="sgh-20240301.htm">sgh-20240301.htm</File>
    <File>sgh-20240301.xsd</File>
    <File>sgh-20240301_cal.xml</File>
    <File>sgh-20240301_def.xml</File>
    <File>sgh-20240301_lab.xml</File>
    <File>sgh-20240301_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>sgh-20240301_g1.jpg</File>
    <File>sgh-20240301_g2.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1021">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
