<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>191</ContextCount>
  <ElementCount>439</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>80</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/StatementCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/StatementCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - CONSOLIDATED STATEMENT OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENT OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - The Company and its Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureTheCompanyAndItsSignificantAccountingPolicies</Role>
      <ShortName>The Company and its Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Fair Value Measurement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureFairValueMeasurement</Role>
      <ShortName>Fair Value Measurement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Significant Balance Sheet Components</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponents</Role>
      <ShortName>Significant Balance Sheet Components</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Accounts Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureAccountsReceivable</Role>
      <ShortName>Accounts Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureBorrowings</Role>
      <ShortName>Borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Convertible Preferred Stock and Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureConvertiblePreferredStockAndStockholdersEquity</Role>
      <ShortName>Convertible Preferred Stock and Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Stock-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Net Loss Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureNetLossPerShare</Role>
      <ShortName>Net Loss Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Entity Level Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureEntityLevelInformation</Role>
      <ShortName>Entity Level Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Restructuring Costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRestructuringCosts</Role>
      <ShortName>Restructuring Costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - The Company and its Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureTheCompanyAndItsSignificantAccountingPoliciesPolicies</Role>
      <ShortName>The Company and its Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureTheCompanyAndItsSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - The Company and its Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureTheCompanyAndItsSignificantAccountingPoliciesTables</Role>
      <ShortName>The Company and its Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureTheCompanyAndItsSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRevenueRecognition</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Fair Value Measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureFairValueMeasurementTables</Role>
      <ShortName>Fair Value Measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureFairValueMeasurement</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Significant Balance Sheet Components (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponentsTables</Role>
      <ShortName>Significant Balance Sheet Components (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponents</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Accounts Receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureAccountsReceivableTables</Role>
      <ShortName>Accounts Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureAccountsReceivable</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Borrowings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureBorrowingsTables</Role>
      <ShortName>Borrowings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureBorrowings</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Convertible Preferred Stock and Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureConvertiblePreferredStockAndStockholdersEquityTables</Role>
      <ShortName>Convertible Preferred Stock and Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureConvertiblePreferredStockAndStockholdersEquity</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Stock-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxes</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Net Loss Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureNetLossPerShareTables</Role>
      <ShortName>Net Loss Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureNetLossPerShare</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Entity Level Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureEntityLevelInformationTables</Role>
      <ShortName>Entity Level Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureEntityLevelInformation</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Restructuring Costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRestructuringCostsTables</Role>
      <ShortName>Restructuring Costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRestructuringCosts</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - The Company and its Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureTheCompanyAndItsSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>The Company and its Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - The Company and its Significant Accounting Policies - Schedule of Severance Liability Related to the Restructuring Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureTheCompanyAndItsSignificantAccountingPoliciesScheduleOfSeveranceLiabilityRelatedToRestructuringCostsDetails</Role>
      <ShortName>The Company and its Significant Accounting Policies - Schedule of Severance Liability Related to the Restructuring Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Revenue Recognition - Schedule of Net Revenue Disaggregate by Product Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRevenueRecognitionScheduleOfNetRevenueDisaggregateByProductCategoryDetails</Role>
      <ShortName>Revenue Recognition - Schedule of Net Revenue Disaggregate by Product Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Revenue Recognition - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRevenueRecognitionAdditionalInformationDetails</Role>
      <ShortName>Revenue Recognition - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Revenue Recognition - Summary of Contract Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRevenueRecognitionSummaryOfContractBalancesDetails</Role>
      <ShortName>Revenue Recognition - Summary of Contract Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Fair Value Measurement - Summary of Fair Value Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfFairValueAssetsAndLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurement - Summary of Fair Value Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Significant Balance Sheet Components - Schedule of Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponentsScheduleOfInventoryDetails</Role>
      <ShortName>Significant Balance Sheet Components - Schedule of Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Significant Balance Sheet Components - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponentsAdditionalInformationDetails</Role>
      <ShortName>Significant Balance Sheet Components - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Significant Balance Sheet Components - Schedule of Prepaid Expenses and Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponentsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails</Role>
      <ShortName>Significant Balance Sheet Components - Schedule of Prepaid Expenses and Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Significant Balance Sheet Components - Schedule of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponentsScheduleOfPropertyAndEquipmentDetails</Role>
      <ShortName>Significant Balance Sheet Components - Schedule of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Significant Balance Sheet Components - Schedule of Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponentsScheduleOfOtherAssetsDetails</Role>
      <ShortName>Significant Balance Sheet Components - Schedule of Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Significant Balance Sheet Components - Schedule of Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponentsScheduleOfAccruedExpensesDetails</Role>
      <ShortName>Significant Balance Sheet Components - Schedule of Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Significant Balance Sheet Components - Schedule of Warranty Liability Which is Included in Accrued Expenses on Consolidated Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSignificantBalanceSheetComponentsScheduleOfWarrantyLiabilityWhichIsIncludedInAccruedExpensesOnConsolidatedBalanceSheetDetails</Role>
      <ShortName>Significant Balance Sheet Components - Schedule of Warranty Liability Which is Included in Accrued Expenses on Consolidated Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Accounts Receivable - Schedule of Components of Company's Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureAccountsReceivableScheduleOfComponentsOfCompanySReceivableDetails</Role>
      <ShortName>Accounts Receivable - Schedule of Components of Company's Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Accounts Receivable - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureAccountsReceivableAdditionalInformationDetails</Role>
      <ShortName>Accounts Receivable - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Borrowings - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails</Role>
      <ShortName>Borrowings - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Borrowings - Schedule of Components of Long-term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureBorrowingsScheduleOfComponentsOfLongTermDebtDetails</Role>
      <ShortName>Borrowings - Schedule of Components of Long-term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Borrowings - Schedule of Future Aggregate Annual Principal Payment on All Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureBorrowingsScheduleOfFutureAggregateAnnualPrincipalPaymentOnAllLongTermDebtDetails</Role>
      <ShortName>Borrowings - Schedule of Future Aggregate Annual Principal Payment on All Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Convertible Preferred Stock and Stockholders' Equity - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureConvertiblePreferredStockAndStockholdersEquityAdditionalInformationDetails</Role>
      <ShortName>Convertible Preferred Stock and Stockholders' Equity - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Convertible Preferred Stock and Stockholders' Equity - Schedule of Common Stock Reserved (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureConvertiblePreferredStockAndStockholdersEquityScheduleOfCommonStockReservedDetails</Role>
      <ShortName>Convertible Preferred Stock and Stockholders' Equity - Schedule of Common Stock Reserved (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Stockholders' Equity - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationDetails</Role>
      <ShortName>Stockholders' Equity - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Stock-based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Stock-based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Stock-based Compensation - Schedule of Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockBasedCompensationScheduleOfStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-based Compensation - Schedule of Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Stock-based Compensation - Summary of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails</Role>
      <ShortName>Stock-based Compensation - Summary of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Stock-based Compensation - Summary of Fair Value of Options Grants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockBasedCompensationSummaryOfFairValueOfOptionsGrantsDetails</Role>
      <ShortName>Stock-based Compensation - Summary of Fair Value of Options Grants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Stock-based Compensation - Summary of Outstanding RSU's (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureStockBasedCompensationSummaryOfOutstandingRSUSDetails</Role>
      <ShortName>Stock-based Compensation - Summary of Outstanding RSU's (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Income Taxes - Schedule of Income (Loss) Before Income Taxes and Components of Provision (Benefit) for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfIncomeLossBeforeIncomeTaxesAndComponentsOfProvisionBenefitForIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Income (Loss) Before Income Taxes and Components of Provision (Benefit) for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Income Taxes - Schedule of Effective Tax Rate Differs from Federal Statutory Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveTaxRateDiffersFromFederalStatutoryRateDetails</Role>
      <ShortName>Income Taxes - Schedule of Effective Tax Rate Differs from Federal Statutory Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Income Taxes - Schedule of Estimate of Cumulative Foreign Earnings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfEstimateOfCumulativeForeignEarningsDetails</Role>
      <ShortName>Income Taxes - Schedule of Estimate of Cumulative Foreign Earnings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Income Taxes - Schedule of Net Operating Loss Carryovers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfNetOperatingLossCarryoversDetails</Role>
      <ShortName>Income Taxes - Schedule of Net Operating Loss Carryovers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Income Taxes - Schedule of Research and Development Credit Carryforwards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesScheduleOfResearchAndDevelopmentCreditCarryforwardsDetails</Role>
      <ShortName>Income Taxes - Schedule of Research and Development Credit Carryforwards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Income Taxes - Summary of Activity Related to Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureIncomeTaxesSummaryOfActivityRelatedToUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Summary of Activity Related to Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Commitments and Contingencies - Future Minimum Lease Payments under Noncancelable Operating Lease Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesFutureMinimumLeasePaymentsUnderNoncancelableOperatingLeaseCommitmentsDetails</Role>
      <ShortName>Commitments and Contingencies - Future Minimum Lease Payments under Noncancelable Operating Lease Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Net Loss Per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureNetLossPerShareAdditionalInformationDetails</Role>
      <ShortName>Net Loss Per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Net Loss Per Share - Schedule of Computation of Basic and Diluted Net Loss Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureNetLossPerShareScheduleOfComputationOfBasicAndDilutedNetLossPerShareDetails</Role>
      <ShortName>Net Loss Per Share - Schedule of Computation of Basic and Diluted Net Loss Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Net Loss Per Share - Summary of Potentially Dilutive Common Shares were Excluded from Calculation of Diluted Net Loss Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureNetLossPerShareSummaryOfPotentiallyDilutiveCommonSharesWereExcludedFromCalculationOfDilutedNetLossPerShareDetails</Role>
      <ShortName>Net Loss Per Share - Summary of Potentially Dilutive Common Shares were Excluded from Calculation of Diluted Net Loss Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Entity Level Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureEntityLevelInformationAdditionalInformationDetails</Role>
      <ShortName>Entity Level Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Entity Level Information - Summary of Revenue by Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureEntityLevelInformationSummaryOfRevenueByRegionDetails</Role>
      <ShortName>Entity Level Information - Summary of Revenue by Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Entity Level Information - Composition of Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureEntityLevelInformationCompositionOfRevenuesDetails</Role>
      <ShortName>Entity Level Information - Composition of Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Entity Level Information - Percentage of Total Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureEntityLevelInformationPercentageOfTotalRevenuesDetails</Role>
      <ShortName>Entity Level Information - Percentage of Total Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Restructuring Costs - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRestructuringCostsAdditionalInformationDetails</Role>
      <ShortName>Restructuring Costs - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Restructuring Costs - Summary of Restructuring Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureRestructuringCostsSummaryOfRestructuringCostsDetails</Role>
      <ShortName>Restructuring Costs - Summary of Restructuring Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="sonm-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Subsequent Events - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sonimtech.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails</Role>
      <ShortName>Subsequent Events - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</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-K" original="sonm-10k_20211231.htm">sonm-10k_20211231.htm</File>
    <File>sonm-20211231.xsd</File>
    <File>sonm-20211231_cal.xml</File>
    <File>sonm-20211231_def.xml</File>
    <File>sonm-20211231_lab.xml</File>
    <File>sonm-20211231_pre.xml</File>
    <File>sonm-ex211_221.htm</File>
    <File>sonm-ex231_6.htm</File>
    <File>sonm-ex311_9.htm</File>
    <File>sonm-ex321_7.htm</File>
    <File>sonm-ex322_11.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="684">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="40">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
