<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2024q2"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2024q2/ffd-2024q2.xsd"
      xlink:type="simple"/>
    <context id="P11_15_2024To11_15_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000931584</identifier>
        </entity>
        <period>
            <startDate>2024-11-15</startDate>
            <endDate>2024-11-15</endDate>
        </period>
    </context>
    <context id="P11_15_2024To11_15_2024_1TypedMemberffdOfferingAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000931584</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-11-15</startDate>
            <endDate>2024-11-15</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Unit_pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P11_15_2024To11_15_2024" id="ixv-182">0000931584</dei:EntityCentralIndexKey>
    <ffd:FormTp contextRef="P11_15_2024To11_15_2024" id="hidden124985822">SC 14A</ffd:FormTp>
    <ffd:SubmissnTp contextRef="P11_15_2024To11_15_2024" id="ixv-184">PREM14A</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="P11_15_2024To11_15_2024" id="ixv-185">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName contextRef="P11_15_2024To11_15_2024" id="ixv-208">Universal Stainless &amp; Alloy Products, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg
      contextRef="P11_15_2024To11_15_2024_1TypedMemberffdOfferingAxis"
      id="ixv-209">false</ffd:PrevslyPdFlg>
    <ffd:TxValtn
      contextRef="P11_15_2024To11_15_2024_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-210"
      unitRef="Unit_USD">457100086.68</ffd:TxValtn>
    <ffd:FeeRate
      contextRef="P11_15_2024To11_15_2024_1TypedMemberffdOfferingAxis"
      decimals="8"
      id="ixv-211"
      unitRef="Unit_pure">0.0001531</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="P11_15_2024To11_15_2024_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-212"
      unitRef="Unit_USD">69982.02</ffd:FeeAmt>
    <ffd:TtlTxValtn
      contextRef="P11_15_2024To11_15_2024"
      decimals="2"
      id="ixv-213"
      unitRef="Unit_USD">457100086.68</ffd:TtlTxValtn>
    <ffd:TtlFeeAmt
      contextRef="P11_15_2024To11_15_2024"
      decimals="2"
      id="ixv-214"
      unitRef="Unit_USD">69982.02</ffd:TtlFeeAmt>
    <ffd:NetFeeAmt
      contextRef="P11_15_2024To11_15_2024"
      decimals="2"
      id="ixv-215"
      unitRef="Unit_USD">69982.02</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="P11_15_2024To11_15_2024_1TypedMemberffdOfferingAxis"
      id="ixv-150">
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left;"&gt;(i)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left;"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Title of each class of securities to which transaction applies: &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;Common Stock, par value $0.001 per share, of the Registrant (each, a &#x201c;Share&#x201d; and collectively, the &#x201c;Shares&#x201d;). &lt;/div&gt;&lt;div style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;&#160;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left;"&gt;(ii)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left;"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Aggregate number of securities to which transaction applies: &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;As of the close of business on November&#160;12, 2024, the maximum number of Shares to which this transaction applies is estimated to be 10,334,796, which consists of (a) 9,342,866 outstanding Shares; (b) 573,953 Shares underlying outstanding stock options (the &#x201c;Options&#x201d;), with exercise prices below $45.00 per Share; (c) 336,505 Shares underlying outstanding restricted stock units (the &#x201c;RSUs&#x201d;); and (d) 81,472 Shares underlying outstanding performance-based restricted stock unit awards (the &#x201c;PSUs&#x201d;). &lt;/div&gt;&lt;div style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;&#160;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left;"&gt;(iii)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left;"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Per unit price of other underlying value of transaction computed pursuant to Rule &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;0-11&lt;/div&gt; under the Securities Exchange Act of 1934, as amended (the &#x201c;Exchange Act&#x201d;): &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;Solely for the purpose of calculating the filing fee pursuant to Exchange Act Rule &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;0-11(c),&lt;/div&gt; the underlying value of the transaction was calculated based on the sum of (a)&#160;the product of 9,342,866 outstanding Shares and the per share merger consideration of $45.00; (b) the product of 573,953 Shares subject to outstanding Options and $31.12 (which is the difference between the per share merger consideration of $45.00 and the weighted average exercise price of $13.88 for the outstanding Options); (c) the product of 336,505 Shares subject to outstanding RSUs and the per share merger consideration of $45.00; and (d)&#160;the product of 81,472 Shares subject to outstanding PSUs (which assumes maximum performance solely for purposes of calculating the filing fee pursuant to Exchange Act Rule 0-11(c)) and the per share merger consideration of $45.00 (such sum of the foregoing (a)&#160;through (d), the &#x201c;Total Consideration&#x201d;). Pursuant to Exchange Act Rule &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;0-11(c)&lt;/div&gt; and Section&#160;14(g) of the Exchange Act, the filing fee equals the product of 0.00015310 multiplied by the Total Consideration. &lt;/div&gt;</ffd:OfferingNote>
</xbrl>
