<?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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001717115</identifier>
        </entity>
        <period>
            <startDate>2026-08-31</startDate>
            <endDate>2026-08-31</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001717115</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-31</startDate>
            <endDate>2026-08-31</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-351">S-4</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-352">S-4</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-353">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-354">0001717115</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-355">Tempus AI, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="rc" id="ixv-383">S-4</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-384">Tempus AI, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-385">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-386">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-387">Class A Common Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-388">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-389"
      unitRef="Shares">36679941</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-390"
      unitRef="USD">1849298539.70</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-391"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-392"
      unitRef="USD">255388.13</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-393" unitRef="USD">1849298539.70</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-394" unitRef="USD">255388.13</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-395" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-396" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-397" unitRef="USD">255388.13</ffd:NetFeeAmt>
    <ffd:Rule457fFlg contextRef="offrl_1" id="ixv-398">true</ffd:Rule457fFlg>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-399">Capitalized terms used below but not defined herein shall have the meanings assigned to such terms in the Agreement and Plan of Merger, dated as of July 20, 2026 (as it may be amended from time to time, the "Merger Agreement"), by and among Personalis, Inc., a Delaware corporation ("Personalis"), Tempus AI, Inc., Aviary Development, Inc. and Toucan Development, LLC. 1(a) Amount Registered represents the estimated maximum number of shares of Class A common stock, par value $0.0001 per share, of the registrant ("Tempus Class A Common Stock") expected to be issued or issuable upon completion of the First Merger and is equal to the product of (a) the maximum Exchange Ratio under the Merger Agreement of 0.3356 and (b) 109,296,604 shares of common stock, par value $0.0001 per share, of Personalis ("Personalis Common Stock"), which is the sum of (i) 93,836,923 shares of Personalis Common Stock issued and outstanding as of August 15, 2026 (other than the Cancelled Shares and any Dissenting Shares), (ii) 14,198,119 shares of Personalis Common Stock issuable upon exercise of Company Options outstanding as of August 15, 2026, (iii) 686,562 shares of Personalis Common Stock issuable upon vesting or settlement of Company RSU awards outstanding as of August 15, 2026 and (iv) 575,000 shares of Personalis Common Stock issuable upon vesting or settlement, at maximum-level performance, of Company PSU awards outstanding as of August 15, 2026. The foregoing assumes (x) that no Parent Cash Election is made, such that all holders of Personalis Common Stock receive Cash Consideration, and (y) that the maximum Exchange Ratio of 0.3356 applies. In accordance with Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), this registration statement shall be deemed to cover any additional securities that may from time to time be offered or issued resulting from forward or reverse stock splits, stock dividends or similar transactions. 1(b) Maximum Aggregate Offering Price calculated pursuant to Rules 457(f)(1) and 457(c) under the Securities Act, solely for the purpose of calculating the registration fee required by Section 6(b) of the Securities Act. Such amount equals the product of (a) $16.92, the average of the high and the low prices per share of Personalis Common Stock, as reported on the Nasdaq Global Select Market on August 28, 2026, which is within five business days prior to the filing of this Registration Statement on Form S-4, and (b) 109,296,604, which is the estimated maximum number of shares of Personalis Common Stock, as calculated in accordance with footnote (1) above, to be cancelled and exchanged for shares of Tempus Class A Common Stock upon completion of the transactions contemplated by the Merger Agreement.</ffd:OfferingNote>
    <ffd:AmtSctiesRcvd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-400"
      unitRef="Shares">109296604</ffd:AmtSctiesRcvd>
    <ffd:ValSctiesRcvdPerShr
      contextRef="offrl_1"
      decimals="2"
      id="ixv-401"
      unitRef="USD">16.92</ffd:ValSctiesRcvdPerShr>
    <ffd:ValSctiesRcvd
      contextRef="offrl_1"
      decimals="2"
      id="ixv-402"
      unitRef="USD">1849298539.70</ffd:ValSctiesRcvd>
    <ffd:FeeNoteMaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-403"
      unitRef="USD">1849298539.70</ffd:FeeNoteMaxAggtOfferingPric>
</xbrl>
