{
 "version": "2.2",
 "instance": {
  "c485bpos.htm": {
   "nsprefix": "cik0000853437",
   "nsuri": "http://troweprice.com/20230501",
   "dts": {
    "schema": {
     "local": [
      "c485bpos-20230928.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/rr/2022/rr-2022.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "c485bpos-20230928_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "c485bpos-20230928_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "c485bpos-20230928_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "c485bpos-20230928_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "c485bpos.htm"
     ]
    }
   },
   "keyStandard": 83,
   "keyCustom": 0,
   "axisStandard": 3,
   "axisCustom": 0,
   "memberStandard": 2,
   "memberCustom": 26,
   "hidden": {
    "total": 52,
    "http://xbrl.sec.gov/dei/2022": 7,
    "http://xbrl.sec.gov/rr/2022": 45
   },
   "contextCount": 32,
   "entityCount": 1,
   "segmentCount": 28,
   "elementCount": 140,
   "unitCount": 3,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/rr/2022": 331,
    "http://xbrl.sec.gov/dei/2022": 8
   },
   "report": {
    "S1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "true",
     "longName": "000163834 - Disclosure - Document and Entity Information",
     "section": 0,
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S2": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context_S000002167Member_S000002167Summary1Member",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000163836 - Disclosure - T. Rowe Price U.S. Treasury Intermediate Index Fund",
     "section": 1,
     "shortName": "T. Rowe Price U.S. Treasury Intermediate Index Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context_S000002167Member_S000002167Summary1Member",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S3": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context_S000002168Member_S000002168Summary2Member",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000163928 - Disclosure - T. Rowe Price U.S. Treasury Long-Term Index Fund",
     "section": 2,
     "shortName": "T. Rowe Price U.S. Treasury Long-Term Index Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context_S000002168Member_S000002168Summary2Member",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S4": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context_S000002169Member_S000002169Summary3Member",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000164020 - Disclosure - T. Rowe Price U.S. Treasury Money Fund",
     "section": 3,
     "shortName": "T. Rowe Price U.S. Treasury Money Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context_S000002169Member_S000002169Summary3Member",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R1": {
     "role": "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
     "longName": "01001 - Document - Document and Entity Information {Elements}",
     "shortName": "Document and Entity Information",
     "isDefault": "false",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "1",
     "firstAnchor": {
      "contextRef": "Context",
      "name": "dei:EntityRegistrantName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Context",
      "name": "dei:EntityRegistrantName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://troweprice.com/20230501/role/RRSummary2",
     "longName": "01002 - Document - Risk/Return Summary (T. Rowe Price U.S. Treasury Intermediate Index Fund) {Unlabeled}",
     "shortName": "Risk/Return Summary (T. Rowe Price U.S. Treasury Intermediate Index Fund)",
     "isDefault": "false",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "2",
     "firstAnchor": {
      "contextRef": "Context_S000002167Member_S000002167Summary1Member",
      "name": "rr:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R3": {
     "role": "http://troweprice.com/20230501/role/RRDetailData3",
     "longName": "01003 - Disclosure - Risk/Return Detail Data (T. Rowe Price U.S. Treasury Intermediate Index Fund) {Elements}",
     "shortName": "Risk/Return Detail Data (T. Rowe Price U.S. Treasury Intermediate Index Fund)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "3",
     "firstAnchor": {
      "contextRef": "Context_S000002167Member_S000002167Summary1Member",
      "name": "rr:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Context_S000002167Member_S000002167Summary1Member",
      "name": "rr:PortfolioTurnoverRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "rr:PortfolioTurnoverTextBlock",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "unique": true
     }
    },
    "R9": {
     "role": "http://troweprice.com/20230501/role/RRSummary9",
     "longName": "01009 - Document - Risk/Return Summary (T. Rowe Price U.S. Treasury Long-Term Index Fund) {Unlabeled}",
     "shortName": "Risk/Return Summary (T. Rowe Price U.S. Treasury Long-Term Index Fund)",
     "isDefault": "false",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "4",
     "firstAnchor": {
      "contextRef": "Context_S000002168Member_S000002168Summary2Member",
      "name": "rr:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R10": {
     "role": "http://troweprice.com/20230501/role/RRDetailData10",
     "longName": "01010 - Disclosure - Risk/Return Detail Data (T. Rowe Price U.S. Treasury Long-Term Index Fund) {Elements}",
     "shortName": "Risk/Return Detail Data (T. Rowe Price U.S. Treasury Long-Term Index Fund)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "5",
     "firstAnchor": {
      "contextRef": "Context_S000002168Member_S000002168Summary2Member",
      "name": "rr:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Context_S000002168Member_S000002168Summary2Member",
      "name": "rr:PortfolioTurnoverRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "rr:PortfolioTurnoverTextBlock",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "unique": true
     }
    },
    "R16": {
     "role": "http://troweprice.com/20230501/role/RRSummary16",
     "longName": "01016 - Document - Risk/Return Summary (T. Rowe Price U.S. Treasury Money Fund) {Unlabeled}",
     "shortName": "Risk/Return Summary (T. Rowe Price U.S. Treasury Money Fund)",
     "isDefault": "false",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "6",
     "firstAnchor": {
      "contextRef": "Context_S000002169Member_S000002169Summary3Member",
      "name": "rr:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R17": {
     "role": "http://troweprice.com/20230501/role/RRDetailData17",
     "longName": "01017 - Disclosure - Risk/Return Detail Data (T. Rowe Price U.S. Treasury Money Fund) {Elements}",
     "shortName": "Risk/Return Detail Data (T. Rowe Price U.S. Treasury Money Fund)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "7",
     "firstAnchor": {
      "contextRef": "Context_S000002169Member_S000002169Summary3Member",
      "name": "rr:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Context_S000002169Member_S000002169Summary3Member",
      "name": "rr:RiskLoseMoney",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "rr:RiskNarrativeTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "rr_HighestQuarterlyReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "HighestQuarterlyReturnLabel",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return, Label",
        "terseLabel": "Label",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "cik0000853437_LipperUSTreasuryMoneyMarketFundsIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "LipperUSTreasuryMoneyMarketFundsIndexMember",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRSchedule22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_LipperUSTreasuryMoneyMarketFundsIndexMember [Member]",
        "terseLabel": "Lipper US Treasury Money Market Funds Index",
        "documentation": "Lipper US Treasury Money Market Funds Index"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000853437_C000005566Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000005566Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000005566 [Member]",
        "terseLabel": "Investor Class",
        "documentation": "Investor Class"
       }
      }
     },
     "auth_ref": []
    },
    "rr_AnnualReturn2016": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2016",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2016",
        "terseLabel": "Annual Return 2016",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "cik0000853437_C000190631Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000190631Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000190631 [Member]",
        "terseLabel": "I Class",
        "documentation": "I Class"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series [Axis]",
        "terseLabel": "Series [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "cik0000853437_C000219346Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000219346Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000219346 [Member]",
        "terseLabel": "Z Class",
        "documentation": "Z Class"
       }
      }
     },
     "auth_ref": []
    },
    "rr_ExpenseExampleNoRedemptionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseExampleNoRedemptionTableTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption [Table]",
        "terseLabel": "Expense Example, No Redemption [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ExpenseExampleNoRedemption."
       }
      }
     },
     "auth_ref": []
    },
    "rr_BarChartHighestQuarterlyReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartHighestQuarterlyReturn",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return",
        "terseLabel": "Highest Quarterly Return",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_MarketIndexPerformanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "MarketIndexPerformanceTableTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Market Index Performance [Table]",
        "terseLabel": "Market Index Performance [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to MarketIndexPerformanceData."
       }
      }
     },
     "auth_ref": []
    },
    "rr_BarChartHighestQuarterlyReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartHighestQuarterlyReturnDate",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return, Date",
        "terseLabel": "Highest Quarterly Return, Date",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_PerformanceMeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceMeasureAxis",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Measure [Axis]",
        "terseLabel": "Performance Measure [Axis]",
        "documentation": "The Performance Measure Axis has members that distinguish different returns according to whether they are Before Taxes (the default), After Taxes on Distributions, After Taxes on Distributions and Sales, or are a pre-tax measure of returns based on a broadly available market index."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentEffectiveDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "DocumentEffectiveDate",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Effective Date",
        "terseLabel": "Document Effective Date",
        "documentation": "The date when a document, upon receipt and acceptance, becomes officially effective, in YYYY-MM-DD format. Usually it is a system-assigned date time value, but it may be declared by the submitter in some cases."
       }
      }
     },
     "auth_ref": []
    },
    "rr_BarChartLowestQuarterlyReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartLowestQuarterlyReturn",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return",
        "terseLabel": "Lowest Quarterly Return",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_YearToDateReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "YearToDateReturnLabel",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year to Date Return, Label",
        "terseLabel": "Year to Date Return, Label",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registrant Name",
        "terseLabel": "Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "rr_LowestQuarterlyReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "LowestQuarterlyReturnLabel",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return, Label",
        "terseLabel": "Label",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_PerformanceMeasureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceMeasureDomain",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Before Taxes",
        "terseLabel": "Before Taxes",
        "documentation": "The default member of the Performance Measure axis. It represents any return that is measured before taxes."
       }
      }
     },
     "auth_ref": []
    },
    "rr_BarChartLowestQuarterlyReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartLowestQuarterlyReturnDate",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return, Date",
        "terseLabel": "Lowest Quarterly Return, Date",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "dei_DocumentCreationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "DocumentCreationDate",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Creation Date",
        "terseLabel": "Document Creation Date",
        "documentation": "The date the document was made available and submitted, in YYYY-MM-DD format. The date of submission, date of acceptance by the recipient, and the document effective date are all potentially different."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AfterTaxesOnDistributionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AfterTaxesOnDistributionsMember",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "After Taxes on Distributions",
        "terseLabel": "After Taxes on Distributions",
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law."
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceTableHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceTableHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Heading",
        "terseLabel": "Performance Table Heading",
        "documentation": "This item represents Average Annual Total Returns. If a Multiple Class Fund offers a Class in the prospectus that converts into another Class after a stated period, compute average annual total returns in the table by using the returns of the other Class for the period after conversion."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "rr_AfterTaxesOnDistributionsAndSalesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AfterTaxesOnDistributionsAndSalesMember",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "After Taxes on Distributions and Sales",
        "terseLabel": "After Taxes on Distributions and Sales",
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law."
       }
      }
     },
     "auth_ref": []
    },
    "rr_BarChartClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartClosingTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Closing [Text Block]",
        "terseLabel": "Bar Chart Closing [Text Block]",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "cik0000853437_S000002167Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "S000002167Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8",
      "http://troweprice.com/20230501/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S 000002167 [Member]",
        "terseLabel": "T. Rowe Price U.S. Treasury Intermediate Index Fund",
        "documentation": "T. Rowe Price U.S. Treasury Intermediate Index Fund"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000853437_C000005565Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000005565Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000005565 [Member]",
        "terseLabel": "Investor Class",
        "documentation": "Investor Class"
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationDocumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "DocumentInformationDocumentAxis",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document [Axis]",
        "terseLabel": "Document [Axis]",
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "DocumentDomain",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus",
        "terseLabel": "Prospectus",
        "documentation": "Type of the document as assigned by the filer, corresponding to SEC document naming convention standards."
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceTableNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceTableNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Narrative",
        "terseLabel": "Performance Table Narrative",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a table showing the Fund's (A) average annual total return; (B) average annual total return (after taxes on distributions); and (C) average annual total return (after taxes on distributions and redemption). A Money Market Fund should show only the returns described in clause (A) of the preceding sentence. All returns should be shown for 1-, 5-, and 10- calendar year periods ending on the date of the most recently completed calendar year (or for the life of the Fund, if shorter), but only for periods subsequent to the effective date of the Fund's registration statement. The table also should show the returns of an appropriate broad-based securities market index as defined in Instruction 5 to Item 22(b)(7) for the same periods. A Fund that has been in existence for more than 10 years also may include returns for the life of the Fund. A Money Market Fund may provide the Fund's 7-day yield ending on the date of the most recent calendar year or disclose a toll-free (or collect) telephone number that investors can use to obtain the Fund's current 7-day yield. For a Fund (other than a Money Market Fund or a Fund described in General Instruction C.3.(d)(iii)), provide the information in the following table with the specified captions AVERAGE ANNUAL TOTAL RETURNS (For the periods ended December 31, _____). For a Fund that provides annual total returns for only one calendar year or for a Fund that does not include the bar chart because it does not have annual returns for a full calendar year, modify, as appropriate, the narrative explanation required by paragraph (c)(2)(i) (e.g., by stating that the information gives some indication of the risks of an investment in the Fund by comparing the Fund's performance with a broad measure of market performance)."
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "dei_EntityInvCompanyType": {
     "xbrltype": "invCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "EntityInvCompanyType",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EntityInvCompanyType",
        "terseLabel": "EntityInvCompanyType",
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product)."
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "rr_RiskReturnHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskReturnHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return [Heading]",
        "terseLabel": "Risk/Return [Heading]",
        "documentation": "Risk/Return Summary Investment Objectives/Goals Include the following information, in plain English under rule 421(d) under the Securities Act, in the order and subject matter indicated"
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "rr_PerformanceTableUsesHighestFederalRate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceTableUsesHighestFederalRate",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Uses Highest Federal Rate",
        "terseLabel": "Performance Table Uses Highest Federal Rate",
        "documentation": "Provide a brief explanation that after-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes."
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "DocumentType",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "terseLabel": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceTableNotRelevantToTaxDeferred": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceTableNotRelevantToTaxDeferred",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Not Relevant to Tax Deferred",
        "terseLabel": "Performance Table Not Relevant to Tax Deferred",
        "documentation": "Provide a brief explanation that the actual after-tax returns depend on an investor's tax situation and may differ from those shown, and after-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "cik0000853437_S000002169Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "S000002169Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSummary16"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S 000002169 [Member]",
        "terseLabel": "T. Rowe Price U.S. Treasury Money Fund",
        "documentation": "T. Rowe Price U.S. Treasury Money Fund"
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceTableExplanationAfterTaxHigher": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceTableExplanationAfterTaxHigher",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Explanation after Tax Higher",
        "terseLabel": "Performance Table Explanation after Tax Higher",
        "documentation": "If average annual total return (after taxes on distributions and redemption) is higher than average annual total return, the reason for this result may be explained."
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "rr_AverageAnnualReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AverageAnnualReturnLabel",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Label",
        "terseLabel": "Label",
        "documentation": "This item represents Average Annual Total Returns. If a Multiple Class Fund offers a Class in the prospectus that converts into another Class after a stated period, compute average annual total returns in the table by using the returns of the other Class for the period after conversion."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "rr_ObjectiveHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ObjectiveHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective [Heading]",
        "terseLabel": "Objective [Heading]",
        "documentation": "Investment Objectives/Goals. Disclose the Fund's investment objectives or goals. A Fund also may identify its type or category (e.g., that it is a Money Market Fund or a balanced fund)."
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "cik0000853437_C000005564Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000005564Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000005564 [Member]",
        "terseLabel": "Investor Class",
        "documentation": "Investor Class"
       }
      }
     },
     "auth_ref": []
    },
    "rr_ShareholderFeesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ShareholderFeesTableTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees [Table]",
        "terseLabel": "Shareholder Fees [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ShareholderFeesData."
       }
      }
     },
     "auth_ref": []
    },
    "rr_ObjectivePrimaryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ObjectivePrimaryTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective, Primary [Text Block]",
        "terseLabel": "Objective, Primary [Text Block]",
        "documentation": "Investment Objectives/Goals. Disclose the Fund's investment objectives or goals. A Fund also may identify its type or category (e.g., that it is a Money Market Fund or a balanced fund)."
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AverageAnnualReturnYear01": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AverageAnnualReturnYear01",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "1 Year",
        "terseLabel": "1 Year",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "rr_AnnualFundOperatingExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualFundOperatingExpensesTableTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Fund Operating Expenses [Table]",
        "terseLabel": "Annual Fund Operating Expenses [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to OperatingExpensesData."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "rr_AnnualReturn2020": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2020",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2020",
        "terseLabel": "Annual Return 2020",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_BarChartTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartTableTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart [Table]",
        "terseLabel": "Bar Chart [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to BarChartData."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AnnualReturn2017": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2017",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2017",
        "terseLabel": "Annual Return 2017",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_AnnualReturn2019": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2019",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2019",
        "terseLabel": "Annual Return 2019",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_ExpenseExampleWithRedemptionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseExampleWithRedemptionTableTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, With Redemption [Table]",
        "terseLabel": "Expense Example, With Redemption [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ExpenseExample."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AverageAnnualReturnYear05": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AverageAnnualReturnYear05",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "5 Years",
        "terseLabel": "5 Years",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "rr_BarChartYearToDateReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartYearToDateReturn",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Year to Date Return",
        "terseLabel": "Bar Chart, Year to Date Return",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_PerformanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceTableTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance [Table]",
        "terseLabel": "Performance [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to PerformanceTableData."
       }
      }
     },
     "auth_ref": []
    },
    "cik0000853437_LipperUSTreasuryMoneyMarketFundsIndex11Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "LipperUSTreasuryMoneyMarketFundsIndex11Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRSchedule22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_LipperUSTreasuryMoneyMarketFundsIndex11Member [Member]",
        "terseLabel": "Lipper US Treasury Money Market Funds Index",
        "documentation": "Lipper US Treasury Money Market Funds Index"
       }
      }
     },
     "auth_ref": []
    },
    "rr_AverageAnnualReturnYear10": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AverageAnnualReturnYear10",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "10 Years",
        "terseLabel": "10 Years",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "FeeWaiverOrReimbursementOverAssetsDateOfTermination",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Waiver or Reimbursement over Assets, Date of Termination",
        "terseLabel": "Fee Waiver or Reimbursement over Assets, Date of Termination",
        "documentation": "This element represents the date of expected termination of any expense reimbursement or fee waiver arrangements that reduce any Fund operating expenses (SEC Form N-1A 2006-09-14 A.3.table.1.11 Total Annual Fund Operating Expenses A.3.instructions.3.e)."
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "cik0000853437_BloombergUSLongTreasuryBondIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "BloombergUSLongTreasuryBondIndexMember",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_BloombergUSLongTreasuryBondIndexMember [Member]",
        "terseLabel": "Bloomberg U.S. Long Treasury Bond Index",
        "documentation": "Bloomberg U.S. Long Treasury Bond Index"
       }
      }
     },
     "auth_ref": []
    },
    "rr_ShareClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ShareClassDomain",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All members of this domain must be elements with name starting with \"C\" and consisting of a 9-digit Fund share class CIK."
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "rr_RiskLoseMoney": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskLoseMoney",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Lose Money [Text]",
        "terseLabel": "Risk Lose Money [Text]",
        "documentation": "Summarize the principal risks of investing in the Fund, including the risks to which the Fund's portfolio as a whole is subject and the circumstances reasonably likely to affect adversely the Fund's net asset value, yield, and total return. Unless the Fund is a Money Market Fund, disclose that loss of money is a risk of investing in the Fund. If the Fund is a Money Market Fund, include the following statement: \"You could lose money by investing in the Fund.\""
       }
      }
     },
     "auth_ref": [
      "r27",
      "r29",
      "r30",
      "r31"
     ]
    },
    "cik0000853437_C000225819Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000225819Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000225819 [Member]",
        "terseLabel": "Z Class",
        "documentation": "Z Class"
       }
      }
     },
     "auth_ref": []
    },
    "rr_StrategyHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "StrategyHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy [Heading]",
        "terseLabel": "Strategy [Heading]",
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries."
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "cik0000853437_S000002168Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "S000002168Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S 000002168 [Member]",
        "terseLabel": "T. Rowe Price U.S. Treasury Long-Term Index Fund",
        "documentation": "T. Rowe Price U.S. Treasury Long-Term Index Fund"
       }
      }
     },
     "auth_ref": []
    },
    "rr_RiskMoneyMarketFundMayImposeFeesOrSuspendSales": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskMoneyMarketFundMayImposeFeesOrSuspendSales",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund May Impose Fees or Suspend Sales [Text]",
        "terseLabel": "Risk Money Market Fund May Impose Fees or Suspend Sales [Text]",
        "documentation": "Include the statement \"The Fund may impose a fee upon sale of your shares or may temporarily suspend your ability to sell shares if the Fund's liquidity falls below required minimums because of market conditions or other factors.\""
       }
      }
     },
     "auth_ref": [
      "r29",
      "r30"
     ]
    },
    "rr_ExpenseExampleNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseExampleNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example Narrative [Text Block]",
        "terseLabel": "Expense Example Narrative [Text Block]",
        "documentation": "The Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "rr_PortfolioTurnoverRate": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PortfolioTurnoverRate",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover, Rate",
        "terseLabel": "Portfolio Turnover, Rate",
        "documentation": "This element represents the rate of portfolio turnover presented as a percentage (SEC Form N-1A 2006-09-14 A.3.example.3 Portfolio Turnover  A.3.instructions.5 Portfolio Turnover)."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "cik0000853437_S000002169Summary3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "S000002169Summary3Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSummary16"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S 000002169 Summary3 [Member]",
        "terseLabel": "Prospectus Summary",
        "documentation": "Prospectus Summary"
       }
      }
     },
     "auth_ref": []
    },
    "rr_AverageAnnualReturnSinceInception": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AverageAnnualReturnSinceInception",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Since Inception",
        "terseLabel": "Since Inception",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "rr_StrategyNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "StrategyNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy Narrative [Text Block]",
        "terseLabel": "Strategy Narrative [Text Block]",
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries."
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "rr_ExpenseExampleHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseExampleHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Heading]",
        "terseLabel": "Expense Example [Heading]",
        "documentation": "Heading for Expense Example."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "cik0000853437_BloombergUSLongTreasuryBondIndex6Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "BloombergUSLongTreasuryBondIndex6Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_BloombergUSLongTreasuryBondIndex6Member [Member]",
        "terseLabel": "Bloomberg U.S. Long Treasury Bond Index",
        "documentation": "Bloomberg U.S. Long Treasury Bond Index"
       }
      }
     },
     "auth_ref": []
    },
    "rr_StrategyPortfolioConcentration": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "StrategyPortfolioConcentration",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy Portfolio Concentration [Text]",
        "terseLabel": "Strategy Portfolio Concentration [Text]",
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries."
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "rr_BarChartFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartFootnotesTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Footnotes [Text Block]",
        "terseLabel": "Bar Chart Footnotes [Text Block]",
        "documentation": "Multiple Class Funds."
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "rr_MaximumAccountFee": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "MaximumAccountFee",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum account fee",
        "documentation": "Include the caption \"Maximum Account Fees\" only if the Fund charges these fees. A Fund may omit other captions if the Fund does not charge the fees or expenses covered by the captions.  Disclose account fees that may be charged to a typical investor in the Fund; fees that apply to only a limited number of shareholders based on their particular circumstances need not be disclosed. Include a caption describing the maximum account fee (e.g., \"Maximum Account Maintenance Fee\" or \"Maximum Cash Management Fee\"). State the maximum annual account fee as either a fixed dollar amount or a percentage of assets. Include in a parenthetical to the caption the basis on which any percentage is calculated. If an account fee is charged only to accounts that do not meet a certain threshold (e.g., accounts under $5)"
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "rr_AverageAnnualReturnInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AverageAnnualReturnInceptionDate",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inception Date",
        "terseLabel": "Inception Date",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "rr_RiskMoneyMarketFundMayNotPreserveDollar": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskMoneyMarketFundMayNotPreserveDollar",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund May Not Preserve Dollar [Text]",
        "terseLabel": "Risk Money Market Fund May Not Preserve Dollar [Text]",
        "documentation": "Include the statement \"Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.\""
       }
      }
     },
     "auth_ref": [
      "r30",
      "r31"
     ]
    },
    "rr_RiskMoneyMarketFundSponsorMayNotProvideSupport": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskMoneyMarketFundSponsorMayNotProvideSupport",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund Sponsor May Not Provide Support [Text]",
        "terseLabel": "Risk Money Market Fund Sponsor May Not Provide Support [Text]",
        "documentation": "Include the statement \"The Fund's sponsor has no legal obligation to provide financial support to the Fund, and you should not expect that the sponsor will provide financial support to the Fund at any time.\""
       }
      }
     },
     "auth_ref": [
      "r29",
      "r30",
      "r31"
     ]
    },
    "rr_BarChartAndPerformanceTableHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartAndPerformanceTableHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart and Performance Table [Heading]",
        "terseLabel": "Bar Chart and Performance Table [Heading]",
        "documentation": "Risk/Return Bar Chart and Table."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "rr_PerformanceTableOneClassOfAfterTaxShown": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceTableOneClassOfAfterTaxShown",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table One Class of after Tax Shown [Text]",
        "terseLabel": "Performance Table One Class of after Tax Shown [Text]",
        "documentation": "Provide a brief explanation that if the Fund is a Multiple Class Fund that offers more than one Class in the prospectus, after-tax returns are shown for only one Class and after-tax returns for other Classes will vary."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r45"
     ]
    },
    "cik0000853437_BloombergUS4-10YearTreasuryBondIndex2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "BloombergUS4-10YearTreasuryBondIndex2Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_BloombergUS4-10YearTreasuryBondIndex2Member [Member]",
        "terseLabel": "Bloomberg U.S. 4-10 Year Treasury Bond Index",
        "documentation": "Bloomberg U.S. 4-10 Year Treasury Bond Index"
       }
      }
     },
     "auth_ref": []
    },
    "rr_RiskNotInsured": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskNotInsured",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Not Insured Depository Institution [Text]",
        "terseLabel": "Risk Not Insured Depository Institution [Text]",
        "documentation": "Include the statement \"An investment in the Fund is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.\""
       }
      }
     },
     "auth_ref": [
      "r29",
      "r30",
      "r31"
     ]
    },
    "rr_RiskReturnAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskReturnAbstract",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return:",
        "terseLabel": "Risk/Return:"
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Narrative [Text Block]",
        "terseLabel": "Performance Narrative [Text Block]",
        "documentation": "Risk/Return Bar Chart and Table."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "rr_PerformancePastDoesNotIndicateFuture": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformancePastDoesNotIndicateFuture",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Past Does Not Indicate Future [Text]",
        "terseLabel": "Performance Past Does Not Indicate Future [Text]",
        "documentation": "Include the bar chart and table required by paragraphs (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future."
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "rr_PortfolioTurnoverHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PortfolioTurnoverHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover [Heading]",
        "terseLabel": "Portfolio Turnover [Heading]",
        "documentation": "Disclose the portfolio turnover rate provided in response to Item 14(a) for the most recent fiscal year (or for such shorter period as the Fund has been in operation). Disclose the period for which the information is provided if less than a full fiscal year. A Fund that is a Money Market Fund may omit the portfolio turnover information required by this Item."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "rr_AnnualReturn2022": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2022",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2022",
        "terseLabel": "Annual Return 2022",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "cik0000853437_BloombergUS4-10YearTreasuryBondIndex1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "BloombergUS4-10YearTreasuryBondIndex1Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_BloombergUS4-10YearTreasuryBondIndex1Member [Member]",
        "terseLabel": "Bloomberg U.S. 4-10 Year Treasury Bond Index",
        "documentation": "Bloomberg U.S. 4-10 Year Treasury Bond Index"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000853437_S000002167Summary1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "S000002167Summary1Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8",
      "http://troweprice.com/20230501/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S 000002167 Summary1 [Member]",
        "terseLabel": "Prospectus Summary",
        "documentation": "Prospectus Summary"
       }
      }
     },
     "auth_ref": []
    },
    "rr_ExpenseExampleYear01": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseExampleYear01",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 1 Year",
        "terseLabel": "1 Year",
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "rr_PerformanceOneYearOrLess": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceOneYearOrLess",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance One Year or Less [Text]",
        "terseLabel": "Performance One Year or Less [Text]",
        "documentation": "For a Fund that provides annual total returns for only one calendar year or for a Fund that does not include the bar chart because it does not have annual returns for a full calendar year, modify, as appropriate, the narrative explanation required by stating that the information gives some indication of the risks of an investment in the Fund by comparing the Fund's performance with a broad measure of market performance). Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future."
       }
      }
     },
     "auth_ref": [
      "r34",
      "r39"
     ]
    },
    "rr_PerformanceInformationIllustratesVariabilityOfReturns": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceInformationIllustratesVariabilityOfReturns",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Information Illustrates Variability of Returns [Text]",
        "terseLabel": "Performance Information Illustrates Variability of Returns [Text]",
        "documentation": "Include the bar chart and table required by paragraphs (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future."
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "rr_OperatingExpensesCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "OperatingExpensesCaption",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses Caption [Text]",
        "terseLabel": "Operating Expenses Caption [Text]",
        "documentation": "Annual Fund Operating Expenses (ongoing expenses that you pay each year as a percentage of the value of your investment)"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "cik0000853437_LipperGeneralUSTreasuryFundsAverage9Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "LipperGeneralUSTreasuryFundsAverage9Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_LipperGeneralUSTreasuryFundsAverage9Member [Member]",
        "terseLabel": "Lipper General U.S. Treasury Funds Average",
        "documentation": "Lipper General U.S. Treasury Funds Average"
       }
      }
     },
     "auth_ref": []
    },
    "rr_PortfolioTurnoverTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PortfolioTurnoverTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover [Text Block]",
        "terseLabel": "Portfolio Turnover [Text Block]",
        "documentation": "Disclose the portfolio turnover rate provided in response to Item 14(a) for the most recent fiscal year (or for such shorter period as the Fund has been in operation). Disclose the period for which the information is provided if less than a full fiscal year. A Fund that is a Money Market Fund may omit the portfolio turnover information required by this Item."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "rr_IndexNoDeductionForFeesExpensesTaxes": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "IndexNoDeductionForFeesExpensesTaxes",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Index No Deduction for Fees, Expenses, Taxes [Text]",
        "terseLabel": "Index No Deduction for Fees, Expenses, Taxes [Text]",
        "documentation": "The Performance Table includes a parenthetical, indicating that the Index \"(reflects no deduction for fees, expenses or taxes)\".  This tag is used when this is reflected in a footnote."
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "cik0000853437_LipperUSTreasuryMoneyMarketFundsIndex10Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "LipperUSTreasuryMoneyMarketFundsIndex10Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRSchedule22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_LipperUSTreasuryMoneyMarketFundsIndex10Member [Member]",
        "terseLabel": "Lipper US Treasury Money Market Funds Index",
        "documentation": "Lipper US Treasury Money Market Funds Index"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000853437_C000190632Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000190632Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000190632 [Member]",
        "terseLabel": "I Class",
        "documentation": "I Class"
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceAvailabilityWebSiteAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceAvailabilityWebSiteAddress",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Availability Website Address [Text]",
        "terseLabel": "Performance Availability Website Address [Text]",
        "documentation": "If applicable, include a statement explaining that updated performance information is available and providing a Website address and/or toll-free (or collect) telephone number where the updated information may be obtained."
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "rr_ExpenseHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense [Heading]",
        "terseLabel": "Expense [Heading]",
        "documentation": "Risk/Return Summary Fee Table Includes the following information, in plain English under rule 421(d) under the Securities Act, after Item 2 Fees and expenses of the Fund This table describes the fees and expenses that you may pay if you buy and hold shared of the Fund. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $[_____] in [name of fund family] funds. Shareholder Fees (fees paid directly from your investment) Example This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be You would pay the following expenses if you did not redeem your shares The Example does not reflect sales charges (loads) on reinvested dividends [and other distributions]. If these sales charges (loads) were included, your costs would be higher. Portfolio Turnover The Fund pays transaction costs, such as commissions, when it buys and sells securities (or \"turns over\" its portfolio). A higher portfolio turnover may indicate higher transaction costs. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund's performance. During the most recent fiscal year, the Fund's portfolio turnover rate was __% of the average value of its whole portfolio. Instructions.  A.3.instructions.6 New Funds. For purposes of this Item, a \"New Fund\" is a Fund that does not include in Form N-1A financial statements reporting operating results or that includes financial statements for the Fund's initial fiscal year reporting operating results for a period of 6 months or less. The following Instructions apply to New Funds."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "cik0000853437_C000219345Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000219345Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000219345 [Member]",
        "terseLabel": "Z Class",
        "documentation": "Z Class"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000853437_C000190630Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "C000190630Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000190630 [Member]",
        "terseLabel": "I Class",
        "documentation": "I Class"
       }
      }
     },
     "auth_ref": []
    },
    "rr_BarChartDoesNotReflectSalesLoads": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartDoesNotReflectSalesLoads",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Does Not Reflect Sales Loads [Text]",
        "terseLabel": "Bar Chart Does Not Reflect Sales Loads [Text]",
        "documentation": "Include the bar chart and table required by Item 4 (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future.  Provide annual total returns beginning with the earliest calendar year. Calculate annual returns using the Instructions to Item 8(a), except that the calculations should be based on calendar years. If a Fund's shares are sold subject to a sales load or account fees, state that sales loads or account fees are not reflected in the bar chart and that, if these amounts were reflected, returns would be less than those shown."
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "rr_ExpenseExampleYear03": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseExampleYear03",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 3 Years",
        "terseLabel": "3 Years",
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "rr_ExpenseNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Narrative [Text Block]",
        "terseLabel": "Expense Narrative [Text Block]",
        "documentation": "This table describes the fees and expenses that you may pay if you buy, hold, and sell shares of the Fund. You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the tables and examples below. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $[ ] in [name of fund family] funds. More information about these and other discounts is available from your financial intermediary and in [identify section heading and page number] of the Fund's prospectus and [identify section heading and page number] of the Fund's statement of additional information"
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "rr_BarChartHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart [Heading]",
        "terseLabel": "Bar Chart [Heading]",
        "documentation": "Risk/Return Bar Chart and Table."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "rr_ExpenseExampleYear05": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseExampleYear05",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 5 Years",
        "terseLabel": "5 Years",
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "rr_ManagementFeesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ManagementFeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management fees",
        "documentation": "Management Fees include investment advisory fees (including any fees based on the Fund's performance), any other management fees payable to the investment adviser or its affiliates, and administrative fees payable to the investment adviser or its affiliates that are not included as \"Other Expenses.\""
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "rr_AnnualReturn2018": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2018",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2018",
        "terseLabel": "Annual Return 2018",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "cik0000853437_LipperGeneralUSTreasuryFundsAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "LipperGeneralUSTreasuryFundsAverageMember",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_LipperGeneralUSTreasuryFundsAverageMember [Member]",
        "terseLabel": "Lipper General U.S. Treasury Funds Average",
        "documentation": "Lipper General U.S. Treasury Funds Average"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "EntityDomain",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AnnualReturn2021": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2021",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2021",
        "terseLabel": "Annual Return 2021",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_ExpenseExampleYear10": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpenseExampleYear10",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 10 Years",
        "terseLabel": "10 Years",
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "rr_DistributionAndService12b1FeesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "DistributionAndService12b1FeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution [and/or Service] (12b-1) Fees\" include all distribution or other expenses incurred during the most recent fiscal year under a plan adopted pursuant to rule 12b-1 [17 CFR 270.12b-1]. Under an appropriate caption or a subcaption of \"Other Expenses,\" disclose the amount of any distribution or similar expenses deducted from the Fund's assets other than pursuant to a rule 12b-1 plan."
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "rr_ShareholderFeesCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ShareholderFeesCaption",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees Caption [Text]",
        "terseLabel": "Shareholder Fees Caption [Text]",
        "documentation": "Shareholder Fees (fees paid directly from your investment)."
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "rr_OtherExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other expenses",
        "documentation": "\"Other Expenses\" include all expenses not otherwise disclosed in the table that are deducted from the Fund's assets or charged to all shareholder accounts. The amount of expenses deducted from the Fund's assets are the amounts shown as expenses in the Fund's statement of operations (including increases resulting from complying with paragraph 2(g) of rule 6-07 of Regulation S-X [17 CFR 210.6-07]).  \"Other Expenses\" do not include extraordinary expenses as determined under generally accepted accounting principles (see Accounting Principles Board Opinion No. 30). If extraordinary expenses were incurred that materially affected the Fund's \"Other Expenses,\" disclose in a footnote to the table what \"Other Expenses\" would have been had the extraordinary expenses been included."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "cik0000853437_LipperGeneralUSTreasuryFundsAverage5Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "LipperGeneralUSTreasuryFundsAverage5Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_LipperGeneralUSTreasuryFundsAverage5Member [Member]",
        "terseLabel": "Lipper General U.S. Treasury Funds Average",
        "documentation": "Lipper General U.S. Treasury Funds Average"
       }
      }
     },
     "auth_ref": []
    },
    "rr_DistributionOrSimilarNon12b1FeesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "DistributionOrSimilarNon12b1FeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution [and/or Service] (12b-1) Fees\" include all distribution or other expenses incurred during the most recent fiscal year under a plan adopted pursuant to rule 12b-1 [17 CFR 270.12b-1]. Under an appropriate caption or a subcaption of \"Other Expenses,\" disclose the amount of any distribution or similar expenses deducted from the Fund's assets other than pursuant to a rule 12b-1 plan."
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AnnualReturn2013": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2013",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2013",
        "terseLabel": "Annual Return 2013",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "cik0000853437_LipperGeneralUSTreasuryFundsAverage4Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "LipperGeneralUSTreasuryFundsAverage4Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_LipperGeneralUSTreasuryFundsAverage4Member [Member]",
        "terseLabel": "Lipper General U.S. Treasury Funds Average",
        "documentation": "Lipper General U.S. Treasury Funds Average"
       }
      }
     },
     "auth_ref": []
    },
    "rr_Component1OtherExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "Component1OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "rr_ProspectusDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ProspectusDate",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus Date",
        "terseLabel": "Prospectus Date",
        "documentation": "The date of the prospectus."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "rr_PerformanceTableClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "PerformanceTableClosingTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Closing [Text Block]",
        "terseLabel": "Performance Table Closing [Text Block]",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a table showing the Fund's (A) average annual total return; (B) average annual total return (after taxes on distributions); and (C) average annual total return (after taxes on distributions and redemption). A Money Market Fund should show only the returns described in clause (A) of the preceding sentence. All returns should be shown for 1-, 5-, and 10- calendar year periods ending on the date of the most recently completed calendar year (or for the life of the Fund, if shorter), but only for periods subsequent to the effective date of the Fund's registration statement. The table also should show the returns of an appropriate broad-based securities market index as defined in Instruction 5 to Item 22(b)(7) for the same periods. A Fund that has been in existence for more than 10 years also may include returns for the life of the Fund. A Money Market Fund may provide the Fund's 7-day yield ending on the date of the most recent calendar year or disclose a toll-free (or collect) telephone number that investors can use to obtain the Fund's current 7-day yield. For a Fund (other than a Money Market Fund or a Fund described in General Instruction C.3.(d)(iii)), provide the information in the following table with the specified captions AVERAGE ANNUAL TOTAL RETURNS (For the periods ended December 31, _____)"
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "rr_AnnualReturn2014": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2014",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2014",
        "terseLabel": "Annual Return 2014",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_Component3OtherExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "Component3OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "rr_RiskHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskHeading",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Heading]",
        "terseLabel": "Risk [Heading]",
        "documentation": "Narrative Risk Disclosure."
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "rr_Component2OtherExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "Component2OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption."
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "rr_FeeWaiverOrReimbursementOverAssets": {
     "xbrltype": "NonPositivePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "FeeWaiverOrReimbursementOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_NetExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee waiver/expense reimbursement",
        "documentation": "Total Annual Fund Operating Expenses. If there were expense reimbursement or fee waiver arrangements that reduced any Fund operating expenses and will continue to reduce them for no less than one year from the effective date of the Fund's registration statement, a Fund may add two captions to the table one caption showing the amount of the expense reimbursement or fee waiver, and a second caption showing the Fund's net expenses after subtracting the fee reimbursement or expense waiver from the total fund operating expenses. The Fund should place these additional captions directly below the \"Total Annual Fund Operating Expenses\" caption of the table and should use appropriate descriptive captions, such as \"Fee Waiver [and/or Expense Reimbursement]\" and \"Total Annual Fund Operating Expenses After Fee Waiver [and/or Expense Reimbursement],\" respectively. If the Fund provides this disclosure, also disclose the period for which the expense reimbursement or fee waiver arrangement is expected to continue, and briefly describe who can terminate the arrangement and under what circumstances."
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "cik0000853437_LipperGeneralUSTreasuryFundsAverage8Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "LipperGeneralUSTreasuryFundsAverage8Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_LipperGeneralUSTreasuryFundsAverage8Member [Member]",
        "terseLabel": "Lipper General U.S. Treasury Funds Average",
        "documentation": "Lipper General U.S. Treasury Funds Average"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000853437_BloombergUSLongTreasuryBondIndex7Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "BloombergUSLongTreasuryBondIndex7Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_BloombergUSLongTreasuryBondIndex7Member [Member]",
        "terseLabel": "Bloomberg U.S. Long Treasury Bond Index",
        "documentation": "Bloomberg U.S. Long Treasury Bond Index"
       }
      }
     },
     "auth_ref": []
    },
    "rr_AcquiredFundFeesAndExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AcquiredFundFeesAndExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Annual Fund Operating Expenses."
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "rr_ExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_NetExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total annual fund operating expenses",
        "documentation": "Total Annual Fund Operating Expenses. If the Fund is a Feeder Fund, reflect the aggregate expenses of the Feeder Fund and the Master Fund in a single fee table using the captions provided. In a footnote to the fee table, state that the table and Example reflect the expenses of both the Feeder and Master Funds. If the prospectus offers more than one Class of a Multiple Class Fund or more than one Feeder Fund that invests in the same Master Fund, provide a separate response for each Class or Feeder Fund.  Base the percentages of \"Annual Fund Operating Expenses\" on amounts incurred during the Fund's most recent fiscal year, but include in expenses amounts that would have been incurred absent expense reimbursement or fee waiver arrangements. If the Fund has changed its fiscal year and, as a result, the most recent fiscal year is less than three months, use the fiscal year prior to the most recent fiscal year as the basis for determining \"Annual Fund Operating Expenses.\""
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "rr_AnnualReturn2015": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "AnnualReturn2015",
     "presentation": [
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2015",
        "terseLabel": "Annual Return 2015",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "cik0000853437_BloombergUS4-10YearTreasuryBondIndex3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "BloombergUS4-10YearTreasuryBondIndex3Member",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000853437_BloombergUS4-10YearTreasuryBondIndex3Member [Member]",
        "terseLabel": "Bloomberg U.S. 4-10 Year Treasury Bond Index",
        "documentation": "Bloomberg U.S. 4-10 Year Treasury Bond Index"
       }
      }
     },
     "auth_ref": []
    },
    "rr_RiskNondiversifiedStatus": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskNondiversifiedStatus",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Nondiversified Status [Text]",
        "terseLabel": "Risk Nondiversified Status [Text]",
        "documentation": "If applicable, state that the Fund is non-diversified, describe the effect of non-diversification (e.g., disclose that, compared with other funds, the Fund may invest a greater percentage of its assets in a particular issuer), and summarize the risks of investing in a non-diversified fund."
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "rr_RiskNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "RiskNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSummary16",
      "http://troweprice.com/20230501/role/RRSummary2",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Narrative [Text Block]",
        "terseLabel": "Risk Narrative [Text Block]",
        "documentation": "Narrative Risk Disclosure. A Fund may, in responding to this Item, describe the types of investors for whom the Fund is intended or the types of investment goals that may be consistent with an investment in the Fund."
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "cik0000853437_S000002168Summary2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20230501",
     "localname": "S000002168Summary2Member",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSummary9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S 000002168 Summary2 [Member]",
        "terseLabel": "Prospectus Summary",
        "documentation": "Prospectus Summary"
       }
      }
     },
     "auth_ref": []
    },
    "rr_ProspectusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ProspectusTable",
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:",
        "terseLabel": "Prospectus:",
        "documentation": "Prospectus Table."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "rr_BarChartYearToDateReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "BarChartYearToDateReturnDate",
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Year to Date Return, Date",
        "terseLabel": "Bar Chart, Year to Date Return, Date",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "rr_NetExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "NetExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total annual fund operating expenses after fee waiver/expense reimbursement",
        "documentation": "Total Annual Fund Operating Expenses."
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "rr_ProspectusShareClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2022",
     "localname": "ProspectusShareClassAxis",
     "presentation": [
      "http://troweprice.com/20230501/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20230501/role/RRBarChart14",
      "http://troweprice.com/20230501/role/RRBarChart21",
      "http://troweprice.com/20230501/role/RRBarChart7",
      "http://troweprice.com/20230501/role/RRDetailData10",
      "http://troweprice.com/20230501/role/RRDetailData17",
      "http://troweprice.com/20230501/role/RRDetailData3",
      "http://troweprice.com/20230501/role/RRSchedule11",
      "http://troweprice.com/20230501/role/RRSchedule12",
      "http://troweprice.com/20230501/role/RRSchedule13",
      "http://troweprice.com/20230501/role/RRSchedule15",
      "http://troweprice.com/20230501/role/RRSchedule18",
      "http://troweprice.com/20230501/role/RRSchedule19",
      "http://troweprice.com/20230501/role/RRSchedule20",
      "http://troweprice.com/20230501/role/RRSchedule22",
      "http://troweprice.com/20230501/role/RRSchedule4",
      "http://troweprice.com/20230501/role/RRSchedule5",
      "http://troweprice.com/20230501/role/RRSchedule6",
      "http://troweprice.com/20230501/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Class [Axis]",
        "terseLabel": "Share Class [Axis]",
        "documentation": "Prospectus Share Class Axis."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "3"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "2"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "2",
   "Subsection": "a"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "example",
   "Paragraph": "1",
   "Subparagraph": "1"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "example",
   "Paragraph": "1",
   "Subparagraph": "2"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "example",
   "Paragraph": "3"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "1",
   "Subparagraph": "b"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "1",
   "Subparagraph": "c"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "1",
   "Subparagraph": "d"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "a"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "b"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Clause": "i"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Clause": "iii"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "d"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "e"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "4"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "5"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1",
   "Subparagraph": "10"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1",
   "Subparagraph": "11"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1",
   "Subparagraph": "7"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1",
   "Subparagraph": "9"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "a"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Clause": "instruction"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii",
   "Clause": "A"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii",
   "Clause": "B"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii",
   "Clause": "C"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iv"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Clause": "1",
   "Exhibit": "2"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Clause": "1",
   "Exhibit": "5"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instructions",
   "Clause": "1",
   "Exhibit": "b"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instructions",
   "Clause": "3"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instructions",
   "Clause": "3",
   "Exhibit": "c"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instructions",
   "Clause": "4"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "B"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "C"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form",
   "Number": "N-1A",
   "Chapter": "A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "D"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  }
 }
}
