<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000704532</identifier>
        </entity>
        <period>
            <startDate>2025-11-25</startDate>
            <endDate>2025-11-25</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000704532</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-25</startDate>
            <endDate>2025-11-25</endDate>
        </period>
    </context>
    <context id="ofst_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000704532</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-25</startDate>
            <endDate>2025-11-25</endDate>
        </period>
    </context>
    <context id="ofst_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000704532</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-25</startDate>
            <endDate>2025-11-25</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-352">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-353">S-3ASR</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-354">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-355">0000704532</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-356">ONTO INNOVATION INC.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa" xsi:nil="true"/>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetClmdInd contextRef="ofst_1" id="ixv-360">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="ofst_2" id="ixv-361">false</ffd:OffsetClmdInd>
    <ffd:FormTp contextRef="rc" id="ixv-404">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-405">ONTO INNOVATION INC.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-406">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-407">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-408">common stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-409">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-410"
      unitRef="Shares">641771</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-411"
      unitRef="USD">125.13</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-412"
      unitRef="USD">80304805.23</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-413"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-414"
      unitRef="USD">11090.09</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="INF" id="ixv-415" unitRef="USD">80304805.23</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="INF" id="ixv-416" unitRef="USD">11090.09</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="INF" id="ixv-417" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="INF" id="ixv-418" unitRef="USD">11090.09</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="INF" id="ixv-419" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-420">Pursuant to Rule 457(c) under the Securities Act of 1933, as amended (the "Securities Act"), the proposed maximum offering price per share and the maximum aggregate offering price are estimated solely for the purpose of calculating the registration fee and are based on the average of the high and low prices per share of the common stock, par value $0.001 per share, of Onto Innovation Inc., as reported on the New York Stock Exchange on November 21, 2025. </ffd:OfferingNote>
    <ffd:Rule457pOffsetFlg contextRef="ofst_1" id="ixv-421">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_1" id="ixv-422">Onto Innovation Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_1" id="ixv-423">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_1" id="ixv-424">333-291695</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="ofst_1" id="ixv-425">2025-11-21</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt
      contextRef="ofst_1"
      decimals="INF"
      id="ixv-426"
      unitRef="USD">11090.09</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="ofst_1" id="ixv-427">Equity</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="ofst_1" id="ixv-428">common stock, par value $0.001 per share</ffd:OffsetPrrSctyTitl>
    <ffd:OffsetPrrNbOfUnsoldScties
      contextRef="ofst_1"
      decimals="0"
      id="ixv-429"
      unitRef="Shares">641771</ffd:OffsetPrrNbOfUnsoldScties>
    <ffd:OffsetPrrUnsoldOfferingAmt
      contextRef="ofst_1"
      decimals="INF"
      id="ixv-430"
      unitRef="USD">80304805.23</ffd:OffsetPrrUnsoldOfferingAmt>
    <ffd:Rule457pOffsetFlg contextRef="ofst_2" id="ixv-431">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_2" id="ixv-432">Onto Innovation Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_2" id="ixv-433">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_2" id="ixv-434">333-291695</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="ofst_2" id="ixv-435">2025-11-21</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt
      contextRef="ofst_2"
      decimals="INF"
      id="ixv-436"
      unitRef="USD">11090.09</ffd:OffsetPrrFeeAmt>
    <ffd:TermntnCmpltnWdrwl contextRef="ofst_1" id="ixv-437">A filing fee of $11,129.09 was previously paid in connection with the Registration Statement on Form S-3 (No. 333-291695) (the "Withdrawn Registration Statement") filed by the registrant on November 21, 2025. The registrant withdrew the Withdrawn Registration Statement by filing a Form RW on November 26, 2025. As the Withdrawn Registration Statement was not declared effective, no securities were sold thereunder. In accordance with Rule 457(p) of the Securities Act, such previously paid filing fee will offset the filing fee payable in connection with this filing.</ffd:TermntnCmpltnWdrwl>
</xbrl>
