<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>538</ContextCount>
  <ElementCount>638</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>146</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>13</UnitCount>
  <MyReports>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information Document</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DocumentDocumentAndEntityInformationDocument</Role>
      <ShortName>Document and Entity Information Document</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Condensed Consolidated Balance Sheets (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsUnaudited</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Condensed Consolidated Statements of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperationsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Condensed Consolidated Statements of Operations (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperationsUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Operations (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLossUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Condensed Consolidated Statements of Shareholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/StatementCondensedConsolidatedStatementsOfShareholdersEquityUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Shareholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPolicies</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Business Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitions</Role>
      <ShortName>Business Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Foreign Currency Exchange Contracts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureForeignCurrencyExchangeContracts</Role>
      <ShortName>Foreign Currency Exchange Contracts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Balance Sheet Details</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetails</Role>
      <ShortName>Balance Sheet Details</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureFinancialInstruments</Role>
      <ShortName>Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Share-Based Compensation and Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureShareBasedCompensationAndEmployeeBenefitPlans</Role>
      <ShortName>Share-Based Compensation and Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Segment and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureSegmentAndGeographicInformation</Role>
      <ShortName>Segment and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Major Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureMajorCustomers</Role>
      <ShortName>Major Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Other Income (Expense), Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOtherIncomeExpenseNet</Role>
      <ShortName>Other Income (Expense), Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Business Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitionsTables</Role>
      <ShortName>Business Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitions</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureRelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureRelatedPartyTransactions</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Balance Sheet Details (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsTables</Role>
      <ShortName>Balance Sheet Details (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetails</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureIncomeTaxes</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebt</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureFinancialInstrumentsTables</Role>
      <ShortName>Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureFinancialInstruments</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Share-Based Compensation and Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureShareBasedCompensationAndEmployeeBenefitPlansTables</Role>
      <ShortName>Share-Based Compensation and Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureShareBasedCompensationAndEmployeeBenefitPlans</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Segment and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureSegmentAndGeographicInformationTables</Role>
      <ShortName>Segment and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureSegmentAndGeographicInformation</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Major Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureMajorCustomersTables</Role>
      <ShortName>Major Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureMajorCustomers</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureEarningsPerShare</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Other Income (Expense), Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOtherIncomeExpenseNetTables</Role>
      <ShortName>Other Income (Expense), Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureOtherIncomeExpenseNet</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Summary of Gross Billings to Customers and Net Sales for Services and Products (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesSummaryOfGrossBillingsToCustomersAndNetSalesForServicesAndProductsDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Summary of Gross Billings to Customers and Net Sales for Services and Products (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Schedule of Changes in Accounts Receivable, Contract Assets and Deferred Revenues Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesScheduleOfChangesInAccountsReceivableContractAssetsAndDeferredRevenuesBalancesDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Schedule of Changes in Accounts Receivable, Contract Assets and Deferred Revenues Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Summary of Revenue Recognize on Remaining Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesSummaryOfRevenueRecognizeOnRemainingPerformanceObligationsDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Summary of Revenue Recognize on Remaining Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Summary of Revenue Recognize on Remaining Performance Obligations (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesSummaryOfRevenueRecognizeOnRemainingPerformanceObligationsDetails1</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Summary of Revenue Recognize on Remaining Performance Obligations (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Estimated Useful Lives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesEstimatedUsefulLivesDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Estimated Useful Lives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Estimated Useful Lives (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesEstimatedUsefulLivesParentheticalDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Estimated Useful Lives (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Changes in Carrying Amount of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesChangesInCarryingAmountOfGoodwillDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Changes in Carrying Amount of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Summary of Gross Amounts and Accumulated Amortization of Intangible Assets from Acquisition by Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesSummaryOfGrossAmountsAndAccumulatedAmortizationOfIntangibleAssetsFromAcquisitionByTypeDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Summary of Gross Amounts and Accumulated Amortization of Intangible Assets from Acquisition by Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Amortization of Intangible Assets Classification (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesAmortizationOfIntangibleAssetsClassificationDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Amortization of Intangible Assets Classification (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Summary of Estimated Amortization Expense of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesSummaryOfEstimatedAmortizationExpenseOfIntangibleAssetsDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Summary of Estimated Amortization Expense of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Share-Based Compensation Expense by Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesShareBasedCompensationExpenseByCategoryDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Share-Based Compensation Expense by Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Business Acquisitions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitionsAdditionalInformationDetails</Role>
      <ShortName>Business Acquisitions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Business Acquisitions - Summary of Preliminary Estimated Purchase Price (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPreliminaryEstimatedPurchasePriceDetails</Role>
      <ShortName>Business Acquisitions - Summary of Preliminary Estimated Purchase Price (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Business Acquisitions - Summary of Preliminary Estimated Purchase Price (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfPreliminaryEstimatedPurchasePriceParentheticalDetails</Role>
      <ShortName>Business Acquisitions - Summary of Preliminary Estimated Purchase Price (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Business Acquisitions - Summary of Assets Acquired and Liabilities Assumed at the Acquisition Date (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfAssetsAcquiredAndLiabilitiesAssumedAtAcquisitionDateDetails</Role>
      <ShortName>Business Acquisitions - Summary of Assets Acquired and Liabilities Assumed at the Acquisition Date (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Business Acquisitions - Summary of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfIntangibleAssetsDetails</Role>
      <ShortName>Business Acquisitions - Summary of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Business Acquisitions - Summary of Unudited Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitionsSummaryOfUnuditedProFormaInformationDetails</Role>
      <ShortName>Business Acquisitions - Summary of Unudited Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Business Acquisitions - Reconciliation of Net Cash Exchanged in Accordance with the Purchase Agreement to the Total Purchase Price (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBusinessAcquisitionsReconciliationOfNetCashExchangedInAccordanceWithPurchaseAgreementToTotalPurchasePriceDetails</Role>
      <ShortName>Business Acquisitions - Reconciliation of Net Cash Exchanged in Accordance with the Purchase Agreement to the Total Purchase Price (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Related Party Transactions - Schedule of Related Party Transactions With Affiliates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyTransactionsWithAffiliatesDetails</Role>
      <ShortName>Related Party Transactions - Schedule of Related Party Transactions With Affiliates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Related Party Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Related Party Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Foreign Currency Exchange Contracts - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureForeignCurrencyExchangeContractsAdditionalInformationDetails</Role>
      <ShortName>Foreign Currency Exchange Contracts - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Balance Sheet Details - Schedule of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsScheduleOfInventoriesDetails</Role>
      <ShortName>Balance Sheet Details - Schedule of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Balance Sheet Details - Schedule of Inventories (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsScheduleOfInventoriesParentheticalDetails</Role>
      <ShortName>Balance Sheet Details - Schedule of Inventories (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Balance Sheet Details - Schedule of Prepaid Expenses and Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails</Role>
      <ShortName>Balance Sheet Details - Schedule of Prepaid Expenses and Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Balance Sheet Details - Schedule of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsScheduleOfPropertyAndEquipmentDetails</Role>
      <ShortName>Balance Sheet Details - Schedule of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Balance Sheet Details - Property and Equipment, Net - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsPropertyAndEquipmentNetAdditionalInformationDetails</Role>
      <ShortName>Balance Sheet Details - Property and Equipment, Net - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Balance Sheet Details - Schedule of Other Noncurrent Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsScheduleOfOtherNoncurrentAssetsDetails</Role>
      <ShortName>Balance Sheet Details - Schedule of Other Noncurrent Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Balance Sheet Details - Schedule of Other Current Liabilites (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsScheduleOfOtherCurrentLiabilitesDetails</Role>
      <ShortName>Balance Sheet Details - Schedule of Other Current Liabilites (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Balance Sheet Details - Components of Lease Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsComponentsOfLeaseCostsDetails</Role>
      <ShortName>Balance Sheet Details - Components of Lease Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Balance Sheet Details - Schedule of Future Minimum Undiscounted Payments under Non-Cancelable Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsScheduleOfFutureMinimumUndiscountedPaymentsUnderNonCancelableOperatingLeasesDetails</Role>
      <ShortName>Balance Sheet Details - Schedule of Future Minimum Undiscounted Payments under Non-Cancelable Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Balance Sheet Details - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureBalanceSheetDetailsLeasesAdditionalInformationDetails</Role>
      <ShortName>Balance Sheet Details - Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Income Taxes - Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureIncomeTaxesProvisionForIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Long-Term Debt - Convertible Senior Notes Due 2026 - Additional Information (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtConvertibleSeniorNotesDue2026AdditionalInformationDetails</Role>
      <ShortName>Long-Term Debt - Convertible Senior Notes Due 2026 - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Long-Term Debt - Schedule of Carrying Value of Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtScheduleOfCarryingValueOfNotesDetails</Role>
      <ShortName>Long-Term Debt - Schedule of Carrying Value of Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Long-Term Debt - Schedule of Interest Expense Recognized Related to Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtScheduleOfInterestExpenseRecognizedRelatedToNotesDetails</Role>
      <ShortName>Long-Term Debt - Schedule of Interest Expense Recognized Related to Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Long-Term Debt - Capped Calls - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtCappedCallsAdditionalInformationDetails</Role>
      <ShortName>Long-Term Debt - Capped Calls - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Long-Term Debt - Purchase Price Note - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtPurchasePriceNoteAdditionalInformationDetails</Role>
      <ShortName>Long-Term Debt - Purchase Price Note - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Long-Term Debt - Amended Credit Agreement - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtAmendedCreditAgreementAdditionalInformationDetails</Role>
      <ShortName>Long-Term Debt - Amended Credit Agreement - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Long-Term Debt - ABL Credit Agreement - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtABLCreditAgreementAdditionalInformationDetails</Role>
      <ShortName>Long-Term Debt - ABL Credit Agreement - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Long-Term Debt - FINEP Credit Agreement - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtFINEPCreditAgreementAdditionalInformationDetails</Role>
      <ShortName>Long-Term Debt - FINEP Credit Agreement - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Long-Term Debt - BNDES Credit Agreements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtBNDESCreditAgreementsAdditionalInformationDetails</Role>
      <ShortName>Long-Term Debt - BNDES Credit Agreements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Long-Term Debt - Summary of Convertible Senior Notes, due 2026,Seller Note, due 2023, FINEP Credit Agreement and ABL Credit Agreement (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtSummaryOfConvertibleSeniorNotesDue2026SellerNoteDue2023FINEPCreditAgreementAndABLCreditAgreementDetails</Role>
      <ShortName>Long-Term Debt - Summary of Convertible Senior Notes, due 2026,Seller Note, due 2023, FINEP Credit Agreement and ABL Credit Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Long-Term Debt - Summary of Future Minimum Principal Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureLongTermDebtSummaryOfFutureMinimumPrincipalPaymentsDetails</Role>
      <ShortName>Long-Term Debt - Summary of Future Minimum Principal Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100830 - Disclosure - Financial Instruments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureFinancialInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Financial Instruments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100840 - Disclosure - Financial Instruments - Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureFinancialInstrumentsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails</Role>
      <ShortName>Financial Instruments - Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100850 - Disclosure - Share-Based Compensation and Employee Benefit Plans - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureShareBasedCompensationAndEmployeeBenefitPlansAdditionalInformationDetails</Role>
      <ShortName>Share-Based Compensation and Employee Benefit Plans - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100860 - Disclosure - Share-Based Compensation and Employee Benefit Plans - Assumptions Used to Value Stock Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureShareBasedCompensationAndEmployeeBenefitPlansAssumptionsUsedToValueStockOptionsDetails</Role>
      <ShortName>Share-Based Compensation and Employee Benefit Plans - Assumptions Used to Value Stock Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100870 - Disclosure - Share-Based Compensation and Employee Benefit Plans - Summary of Options Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureShareBasedCompensationAndEmployeeBenefitPlansSummaryOfOptionsActivityDetails</Role>
      <ShortName>Share-Based Compensation and Employee Benefit Plans - Summary of Options Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100880 - Disclosure - Share-Based Compensation and Employee Benefit Plans - Summary of Changes in RSAs and RSUs Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureShareBasedCompensationAndEmployeeBenefitPlansSummaryOfChangesInRsasAndRsusOutstandingDetails</Role>
      <ShortName>Share-Based Compensation and Employee Benefit Plans - Summary of Changes in RSAs and RSUs Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100890 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100900 - Disclosure - Commitments and Contingencies - Reconcile Changes in Accrued Warranty (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureCommitmentsAndContingenciesReconcileChangesInAccruedWarrantyDetails</Role>
      <ShortName>Commitments and Contingencies - Reconcile Changes in Accrued Warranty (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>100910 - Disclosure - Segment and Geographic Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureSegmentAndGeographicInformationAdditionalInformationDetails</Role>
      <ShortName>Segment and Geographic Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>100920 - Disclosure - Segment and Geographic Information - Summary of Operating Results Net of Inter-Segment Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureSegmentAndGeographicInformationSummaryOfOperatingResultsNetOfInterSegmentRevenuesDetails</Role>
      <ShortName>Segment and Geographic Information - Summary of Operating Results Net of Inter-Segment Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>100930 - Disclosure - Segment and Geographic Information - Summary of Operating Results Net of Inter-Segment Revenues (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureSegmentAndGeographicInformationSummaryOfOperatingResultsNetOfInterSegmentRevenuesParentheticalDetails</Role>
      <ShortName>Segment and Geographic Information - Summary of Operating Results Net of Inter-Segment Revenues (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>100940 - Disclosure - Segment and Geographic Information - Summary of Net Sales and Property and Equipment by Geographic Area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureSegmentAndGeographicInformationSummaryOfNetSalesAndPropertyAndEquipmentByGeographicAreaDetails</Role>
      <ShortName>Segment and Geographic Information - Summary of Net Sales and Property and Equipment by Geographic Area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>100950 - Disclosure - Major Customers - Summary of Net Sales to Major Customer (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureMajorCustomersSummaryOfNetSalesToMajorCustomerDetails</Role>
      <ShortName>Major Customers - Summary of Net Sales to Major Customer (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>100960 - Disclosure - Major Customers - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureMajorCustomersAdditionalInformationDetails</Role>
      <ShortName>Major Customers - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>100970 - Disclosure - Earnings Per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureEarningsPerShareAdditionalInformationDetails</Role>
      <ShortName>Earnings Per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>100980 - Disclosure - Earnings Per Share - Schedule of Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureEarningsPerShareScheduleOfBasicAndDilutedEarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="sgh-10q_20210528.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>100990 - Disclosure - Other Income (Expense), Net - Detail of Other Expense, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.smartm.com/20210528/taxonomy/role/DisclosureOtherIncomeExpenseNetDetailOfOtherExpenseNetDetails</Role>
      <ShortName>Other Income (Expense), Net - Detail of Other Expense, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.smartm.com/20210528/taxonomy/role/DisclosureOtherIncomeExpenseNetTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="sgh-10q_20210528.htm">sgh-10q_20210528.htm</File>
    <File>sgh-20210528.xsd</File>
    <File>sgh-20210528_cal.xml</File>
    <File>sgh-20210528_def.xml</File>
    <File>sgh-20210528_lab.xml</File>
    <File>sgh-20210528_pre.xml</File>
    <File>sgh-ex311_11.htm</File>
    <File>sgh-ex312_8.htm</File>
    <File>sgh-ex321_6.htm</File>
    <File>sgh-ex322_9.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2020-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
