<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  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/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <startDate>2026-10-30</startDate>
            <endDate>2026-10-30</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-30</startDate>
            <endDate>2026-10-30</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-45">VIATRIS INC.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c1" id="ixv-153">false</ffd:PrevslyPdFlg>
    <ffd:TxValtn contextRef="c1" decimals="INF" id="ixv-154" unitRef="usd">1649844742.34</ffd:TxValtn>
    <ffd:FeeRate contextRef="c1" decimals="INF" id="ixv-155" unitRef="pure">0.000087</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c1" decimals="2" id="ixv-156" unitRef="usd">143536.49</ffd:FeeAmt>
    <ffd:TtlTxValtn contextRef="c0" decimals="INF" id="ixv-157" unitRef="usd">1649844742.34</ffd:TtlTxValtn>
    <ffd:TtlFeeAmt contextRef="c0" decimals="2" id="ixv-158" unitRef="usd">143536.49</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="c0" decimals="0" id="ixv-159" unitRef="usd">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="c0" decimals="0" id="ixv-160" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c0" decimals="2" id="ixv-161" unitRef="usd">143536.49</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c1" id="ixv-132">&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%; margin-left: auto; margin-right: auto;"&gt; &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt; &lt;td style="padding: 0px 0pt; text-align: left;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;1&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;Estimated for purposes of
calculating the filing fee only. The transaction valuation was calculated as
the sum of (i) 39,957,678 outstanding shares of common stock, par value $0.001
per share (the &#x201c;&lt;span style="text-decoration:underline"&gt;Shares&lt;/span&gt;&#x201d;), of Pacira BioSciences, Inc. (&#x201c;&lt;span style="text-decoration:underline"&gt;Pacira&lt;/span&gt;&#x201d;)
multiplied by $36.50 per Share (the &#x201c;&lt;span style="text-decoration:underline"&gt;Offer Price&lt;/span&gt;&#x201d;), (ii) 2,204,571
Shares subject to issuance pursuant to &#x201c;in-the-money&#x201d; stock options to purchase
Shares multiplied by $9.04 (which is the Offer Price minus the weighted average
exercise price for such options of $27.46 per Share), (iii) 198,257 Shares
subject to issuance pursuant to granted and outstanding performance share units
in respect of Shares (assuming target level of performance) multiplied by the
Offer Price, (iv) 4,463,236 Shares subject to issuance pursuant to granted and
outstanding restricted stock units in respect of Shares multiplied by the Offer
Price and (v) 36,046 Shares subject to issuance pursuant to outstanding
purchase rights under Pacira&#x2019;s Amended and Restated 2014 Employee Stock
Purchase Plan (based on accumulated contributions through October 23, 2026)
multiplied by the Offer Price. The calculation of the filing fee is based on
information provided by Pacira as of October 23, 2026.&lt;br/&gt;&lt;br/&gt;The filing fee was
calculated in accordance with Rule 0-11 under the Securities Exchange Act of
1934, as amended, and Fee Rate Advisory for Fiscal Year 2027, effective on
October 1, 2026, by multiplying the transaction valuation by 0.000087.&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</ffd:OfferingNote>
    <ffd:FormTp contextRef="c0" id="hidden-fact-0">SC TO</ffd:FormTp>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-165">0001792044</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c0" id="ixv-166">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c0" id="ixv-167">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp contextRef="c0" id="ixv-168">SC TO-T</ffd:SubmissnTp>
</xbrl>
