{
 "instance": {
  "uga-20210930x10q.htm": {
   "axisCustom": 1,
   "axisStandard": 14,
   "contextCount": 72,
   "dts": {
    "calculationLink": {
     "local": [
      "uga-20210930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "uga-20210930_def.xml"
     ]
    },
    "inline": {
     "local": [
      "uga-20210930x10q.htm"
     ]
    },
    "labelLink": {
     "local": [
      "uga-20210930_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "uga-20210930_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "uga-20210930.xsd"
     ],
     "remote": [
      "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",
      "https://xbrl.sec.gov/dei/2021/dei-2021.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd"
     ]
    }
   },
   "elementCount": 264,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 4,
    "http://xbrl.sec.gov/dei/2021": 5,
    "total": 9
   },
   "keyCustom": 47,
   "keyStandard": 176,
   "memberCustom": 17,
   "memberStandard": 16,
   "nsprefix": "uga",
   "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "00090 - Document - Document and Entity Information",
     "role": "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00505 - Statement - Condensed Statements of Cash Flows (Unaudited) (Parenthetical)",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical",
     "shortName": "Condensed Statements of Cash Flows (Unaudited) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10101 - Disclosure - ORGANIZATION AND BUSINESS",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusiness",
     "shortName": "ORGANIZATION AND BUSINESS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10201 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPolicies",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:FeesPaidAndRelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10301 - Disclosure - FEES PAID BY THE FUND AND RELATED PARTY TRANSACTIONS",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactions",
     "shortName": "FEES PAID BY THE FUND AND RELATED PARTY TRANSACTIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:FeesPaidAndRelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LongTermContractsOrProgramsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10401 - Disclosure - CONTRACTS AND AGREEMENTS",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreements",
     "shortName": "CONTRACTS AND AGREEMENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LongTermContractsOrProgramsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:DisclosureOfFairValueOffBalanceSheetTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10501 - Disclosure - FINANCIAL INSTRUMENTS, OFF-BALANCE SHEET RISKS AND CONTINGENCIES",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialInstrumentsOffBalanceSheetRisksAndContingencies",
     "shortName": "FINANCIAL INSTRUMENTS, OFF-BALANCE SHEET RISKS AND CONTINGENCIES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:DisclosureOfFairValueOffBalanceSheetTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:SupplementalFinancialInformationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10601 - Disclosure - FINANCIAL HIGHLIGHTS",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlights",
     "shortName": "FINANCIAL HIGHLIGHTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:SupplementalFinancialInformationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10701 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstruments",
     "shortName": "FAIR VALUE OF FINANCIAL INSTRUMENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10801 - Disclosure - RECENT ACCOUNTING PRONOUNCEMENTS",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureRecentAccountingPronouncements",
     "shortName": "RECENT ACCOUNTING PRONOUNCEMENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10901 - Disclosure - SUBSEQUENT EVENTS",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureSubsequentEvents",
     "shortName": "SUBSEQUENT EVENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00100 - Statement - Condensed Statements of Financial Condition",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition",
     "shortName": "Condensed Statements of Financial Condition",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_12_31_2020_ozjvq1BTy0O_rPZrpCLVjw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DueFromOfficersOrStockholders",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "20202 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:BrokerageCommissionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30403 - Disclosure - CONTRACTS AND AGREEMENTS (Tables)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsTables",
     "shortName": "CONTRACTS AND AGREEMENTS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:BrokerageCommissionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "uga:SupplementalFinancialInformationDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:PerUnitPerformanceDataAndOtherSupplementalFinancialDataTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30603 - Disclosure - FINANCIAL HIGHLIGHTS (Tables)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsTables",
     "shortName": "FINANCIAL HIGHLIGHTS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "uga:SupplementalFinancialInformationDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "uga:PerUnitPerformanceDataAndOtherSupplementalFinancialDataTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30703 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS (Tables)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsTables",
     "shortName": "FAIR VALUE OF FINANCIAL INSTRUMENTS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "uga:FeePaidPerOrder",
      "reportCount": 1,
      "unitRef": "Unit_Divide_USD_item_DWA5E3AZx0mCQsN8CxFIJw",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40101 - Disclosure - ORGANIZATION AND BUSINESS (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
     "shortName": "ORGANIZATION AND BUSINESS (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_11_1_2007_To_11_30_2007_xYzvUYOwqEmqdUKr03-2Cg",
      "decimals": "0",
      "lang": null,
      "name": "uga:NumberOfUnitsRegisteredInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_eyGCjjeW3UGq9cZos2zCCQ",
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "uga:FeePaidPerOrder",
      "reportCount": 1,
      "unitRef": "Unit_Divide_USD_item_DWA5E3AZx0mCQsN8CxFIJw",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40201 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:ManagementFeeDescription",
       "p",
       "uga:FeesPaidAndRelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "uga:FeePercentagePerAnnumOfAverageDailyTotalNetAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_8VFYrhN2IU2OqSccPPhVzQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40301 - Disclosure - FEES PAID BY THE FUND AND RELATED PARTY TRANSACTIONS (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails",
     "shortName": "FEES PAID BY THE FUND AND RELATED PARTY TRANSACTIONS (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:ManagementFeeDescription",
       "p",
       "uga:FeesPaidAndRelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "uga:FeePercentagePerAnnumOfAverageDailyTotalNetAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_8VFYrhN2IU2OqSccPPhVzQ",
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_7_1_2021_To_9_30_2021_nmSCO6T9MEmD2ttvWnK9bA",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FloorBrokerageExchangeAndClearanceFees",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40401 - Disclosure - CONTRACTS AND AGREEMENTS (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails",
     "shortName": "CONTRACTS AND AGREEMENTS (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "uga:BrokerageCommissionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_us-gaap_NatureOfExpenseAxis_uga_RebalancingInvestmentsTransactionMember_Xgz2fWna4UehRoybi9snjQ",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:FloorBrokerageExchangeAndClearanceFees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_srt_RangeAxis_srt_MaximumMember_vS5wcETTekCqOCh0vrlkBA",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "uga:CommissionsPaid",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Divide_USD_item_DWA5E3AZx0mCQsN8CxFIJw",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40402 - Disclosure - CONTRACTS AND AGREEMENTS - Additional Information (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
     "shortName": "CONTRACTS AND AGREEMENTS - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_srt_RangeAxis_srt_MaximumMember_vS5wcETTekCqOCh0vrlkBA",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "uga:CommissionsPaid",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Divide_USD_item_DWA5E3AZx0mCQsN8CxFIJw",
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositsMoneyMarketDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40501 - Disclosure - FINANCIAL INSTRUMENTS, OFF-BALANCE SHEET RISKS AND CONTINGENCIES (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialInstrumentsOffBalanceSheetRisksAndContingenciesDetails",
     "shortName": "FINANCIAL INSTRUMENTS, OFF-BALANCE SHEET RISKS AND CONTINGENCIES (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepositsMoneyMarketDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00105 - Statement - Condensed Statements of Financial Condition (Parenthetical)",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialConditionParenthetical",
     "shortName": "Condensed Statements of Financial Condition (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "uga:PerUnitPerformanceDataAndOtherSupplementalFinancialDataTableTextBlock",
       "uga:SupplementalFinancialInformationDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_6_30_2021_3fWik4_srkmPLdB8Km6Kxg",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "uga:NetAssetValuePerUnit",
      "reportCount": 1,
      "unitRef": "Unit_Divide_USD_shares_Ia4SPnLyEEiiwi5_sl6hvg",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40601 - Disclosure - FINANCIAL HIGHLIGHTS (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails",
     "shortName": "FINANCIAL HIGHLIGHTS (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "uga:PerUnitPerformanceDataAndOtherSupplementalFinancialDataTableTextBlock",
       "uga:SupplementalFinancialInformationDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_7_1_2021_To_9_30_2021_nmSCO6T9MEmD2ttvWnK9bA",
      "decimals": "2",
      "lang": null,
      "name": "uga:TotalIncomeLossPerUnit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Divide_USD_shares_Ia4SPnLyEEiiwi5_sl6hvg",
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_us-gaap_FinancialInstrumentAxis_us-gaap_ShortTermInvestmentsMember_u3Ao0MmLXU6JZPnl2_zk5w",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40701 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS - Valuation of securities using fair value hierarchy (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails",
     "shortName": "FAIR VALUE OF FINANCIAL INSTRUMENTS - Valuation of securities using fair value hierarchy (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_us-gaap_FinancialInstrumentAxis_us-gaap_ShortTermInvestmentsMember_u3Ao0MmLXU6JZPnl2_zk5w",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_7_1_2021_To_9_30_2021_nmSCO6T9MEmD2ttvWnK9bA",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfInvestments",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40702 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS - Effect of Derivative Instruments on the Condensed Statements of Operations (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
     "shortName": "FAIR VALUE OF FINANCIAL INSTRUMENTS - Effect of Derivative Instruments on the Condensed Statements of Operations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2020_To_6_30_2020_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FinancialInstrumentAxis_uga_ClosedPositionsMember_us-gaap_InvestmentTypeAxis_us-gaap_FutureMember_oJVKsKzCsEib7h1HF2ygRg",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "uga:UnrealizedGainLossOnOpenCommodityFuturesContracts",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40703 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS - Derivative instruments (Details)",
     "role": "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails",
     "shortName": "FAIR VALUE OF FINANCIAL INSTRUMENTS - Derivative instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_us-gaap_BalanceSheetLocationAxis_us-gaap_AssetsTotalMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_InvestmentTypeAxis_us-gaap_FutureMember_jLyekC-hGEKikw2Lwepq4A",
      "decimals": "0",
      "lang": null,
      "name": "uga:UnrealizedGainLossOnOpenCommodityFuturesContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_srt_StatementGeographicalAxis_country_US_us-gaap_DerivativeInstrumentRiskAxis_uga_NymexRbobGasolineFuturesRbNovember2021ContractsExpiringOctober2021Member_us-gaap_InvestmentTypeAxis_uga_OpenFuturesContractsLongMember_pXNfNvEOskeaNgyLEFFlgg",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00200 - Statement - Condensed Schedule of Investments (Unaudited)",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
     "shortName": "Condensed Schedule of Investments (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_srt_StatementGeographicalAxis_country_US_us-gaap_DerivativeInstrumentRiskAxis_uga_NymexRbobGasolineFuturesRbNovember2021ContractsExpiringOctober2021Member_us-gaap_InvestmentTypeAxis_uga_OpenFuturesContractsLongMember_pXNfNvEOskeaNgyLEFFlgg",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCollateralAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00205 - Statement - Condensed Schedule of Investments (Unaudited) (Parenthetical)",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical",
     "shortName": "Condensed Schedule of Investments (Unaudited) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_9_30_2021_DhSBFRUVyUKJj6jAbPYe0g",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCollateralAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_7_1_2021_To_9_30_2021_nmSCO6T9MEmD2ttvWnK9bA",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfInvestments",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00300 - Statement - Condensed Statements of Operations (Unaudited)",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited",
     "shortName": "Condensed Statements of Operations (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_7_1_2021_To_9_30_2021_nmSCO6T9MEmD2ttvWnK9bA",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:UnrealizedGainLossOnInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_12_31_2019_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember_z0WQkfMV4UW08tfICPlh4Q",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapital",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00400 - Statement - Condensed Statement of Changes in Partners' Capital (Unaudited)",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited",
     "shortName": "Condensed Statement of Changes in Partners' Capital (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "As_Of_12_31_2019_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember_z0WQkfMV4UW08tfICPlh4Q",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapital",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountUnitsContributed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_eyGCjjeW3UGq9cZos2zCCQ",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00405 - Statement - Condensed Statement of Changes in Partners' Capital (Unaudited) (Parenthetical)",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnauditedParenthetical",
     "shortName": "Condensed Statement of Changes in Partners' Capital (Unaudited) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountUnitsContributed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_eyGCjjeW3UGq9cZos2zCCQ",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00500 - Statement - Condensed Statements of Cash Flows (Unaudited)",
     "role": "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited",
     "shortName": "Condensed Statements of Cash Flows (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "uga-20210930x10q.htm",
      "contextRef": "Duration_1_1_2021_To_9_30_2021_XC-zeq2FC0is1pJMmyJ9zg",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseDueFromOfficersAndStockholders",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_Gb_DBkm1QU2atY8DZy8lwg",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 33,
   "tag": {
    "country_US": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "United States Contracts [Member]"
       }
      }
     },
     "localname": "US",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Document and Entity Information"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r337"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r338"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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'.",
        "label": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r347"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r124",
      "r129",
      "r150",
      "r152",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r219",
      "r240",
      "r282",
      "r285",
      "r333",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r124",
      "r129",
      "r150",
      "r152",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r219",
      "r240",
      "r282",
      "r285",
      "r333",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r124",
      "r129",
      "r141",
      "r150",
      "r152",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r219",
      "r240",
      "r282",
      "r285",
      "r333",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r124",
      "r129",
      "r141",
      "r150",
      "r152",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r219",
      "r240",
      "r282",
      "r285",
      "r333",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r50",
      "r151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario, Forecast [Member]"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r50",
      "r53",
      "r151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario, Unspecified [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r95"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r85",
      "r86",
      "r135",
      "r136",
      "r284",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r85",
      "r86",
      "r135",
      "r136",
      "r284",
      "r321",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r50",
      "r53",
      "r111",
      "r151",
      "r206"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_AmountPayableToAuthorizedParticipantsUponRedemptionOfShares": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable to Authorized Participants upon redemption of shares.",
        "label": "Amount Payable to Authorized Participants Upon Redemption of Shares",
        "terseLabel": "Payable for shares redeemed"
       }
      }
     },
     "localname": "AmountPayableToAuthorizedParticipantsUponRedemptionOfShares",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_AverageNetAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average Net Assets [Abstract]",
        "label": "Average Net Assets [Abstract]",
        "terseLabel": "Ratios to Average Net Assets"
       }
      }
     },
     "localname": "AverageNetAssetsAbstract",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_BaseFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base Fee Percentage",
        "label": "Base Fee Percentage",
        "terseLabel": "Fee percentage"
       }
      }
     },
     "localname": "BaseFeePercentage",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_BasisAmountForFeePercentage": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basis Amount for Fee Percentage",
        "label": "Basis Amount For Fee Percentage",
        "terseLabel": "Base amount for determining fee percentage"
       }
      }
     },
     "localname": "BasisAmountForFeePercentage",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_BrokerageCommissionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of fees earned by the broker commission.",
        "label": "Brokerage Commissions [Table Text Block]",
        "verboseLabel": "Schedule of brokerage commissions"
       }
      }
     },
     "localname": "BrokerageCommissionsTableTextBlock",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uga_ClosedPositionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Closed Positions [Member]",
        "label": "Realized gain (loss) on closed positions [Member]"
       }
      }
     },
     "localname": "ClosedPositionsMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_CommissionsPaid": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commissions Paid",
        "label": "Commissions Paid",
        "terseLabel": "Commissions per round-turn trade, including applicable exchange and NFA fees for Oil Futures Contracts and options on Oil Futures Contracts"
       }
      }
     },
     "localname": "CommissionsPaid",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "perUnitItemType"
    },
    "uga_CreationAndRedemptionActivityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commissions accrued as a result of creation and redemption activity [Member]"
       }
      }
     },
     "localname": "CreationAndRedemptionActivityMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_CreationBasketsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Creation Baskets [Member]",
        "label": "Creation Baskets [Member]"
       }
      }
     },
     "localname": "CreationBasketsMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_DisclosureOfFairValueOffBalanceSheetRisksAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FINANCIAL INSTRUMENTS, OFF-BALANCE SHEET RISKS AND CONTINGENCIES"
       }
      }
     },
     "localname": "DisclosureOfFairValueOffBalanceSheetRisksAbstract",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "xbrltype": "stringItemType"
    },
    "uga_DisclosureOfFairValueOffBalanceSheetTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of fair value, off-balance sheet risks.",
        "label": "Disclosure Of Fair Value Off Balance Sheet Risks [Text Block]",
        "verboseLabel": "FINANCIAL INSTRUMENTS, OFF-BALANCE SHEET RISKS AND CONTINGENCIES"
       }
      }
     },
     "localname": "DisclosureOfFairValueOffBalanceSheetTextBlock",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialInstrumentsOffBalanceSheetRisksAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uga_EquityInTradingAccountsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Equity in Trading Accounts:",
        "label": "Equity In Trading Accounts [Abstract]"
       }
      }
     },
     "localname": "EquityInTradingAccountsAbstract",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_ExchangeTradedFundTransactionFeesReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of exchange traded fund transaction fees receivable.",
        "label": "Exchange Traded Fund, Transaction Fees Receivable",
        "terseLabel": "ETF transaction fees receivable"
       }
      }
     },
     "localname": "ExchangeTradedFundTransactionFeesReceivable",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_ExpenseExcludingManagementFeePercentageNet": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expense Excluding Management Fee Percentage Net",
        "label": "Expense Excluding Management Fee Percentage Net",
        "terseLabel": "Net expense excluding management fees"
       }
      }
     },
     "localname": "ExpenseExcludingManagementFeePercentageNet",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_ExpenseWaiver": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 2.0,
       "parentTag": "uga_NetOperatingExpenses",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expense Waiver",
        "label": "Expense Waiver",
        "negatedTerseLabel": "Expense waiver (Note 3)",
        "terseLabel": "Expense Waivers"
       }
      }
     },
     "localname": "ExpenseWaiver",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_ExpensesExcludingManagementFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expenses, Excluding Management Fee Percentage",
        "label": "Expenses Excluding Management Fee Percentage",
        "terseLabel": "Total expenses excluding management fees"
       }
      }
     },
     "localname": "ExpensesExcludingManagementFeePercentage",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_FeePaidPerOrder": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of fee paid per order.",
        "label": "Fee Paid Per Order",
        "verboseLabel": "Fee paid by Authorized Purchasers for each order placed to create one or more Creation Baskets or to redeem one or more baskets"
       }
      }
     },
     "localname": "FeePaidPerOrder",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "perUnitItemType"
    },
    "uga_FeePercentagePerAnnumOfAverageDailyTotalNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fee percentage per annum of average daily total net assets.",
        "label": "Fee Percentage Per Annum Of Average Daily Total Net Assets",
        "terseLabel": "USCF Management Fee"
       }
      }
     },
     "localname": "FeePercentagePerAnnumOfAverageDailyTotalNetAssets",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_FeesPaidAndRelatedPartyTransactionsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FEES PAID BY THE FUND AND RELATED PARTY TRANSACTIONS"
       }
      }
     },
     "localname": "FeesPaidAndRelatedPartyTransactionsDisclosureAbstract",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "xbrltype": "stringItemType"
    },
    "uga_FeesPaidAndRelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of fees paid and related party transactions.",
        "label": "Fees Paid and Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "FEES PAID BY THE FUNDS AND RELATED PARTY TRANSACTIONS"
       }
      }
     },
     "localname": "FeesPaidAndRelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uga_FeesPaidAndRelatedPartyTransactionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fees Paid and Related Party Transactions [Line Items]",
        "label": "Fees Paid And Related Party Transactions [Line Items]",
        "terseLabel": "Fees Paid and Related Party Transactions [Line Items]"
       }
      }
     },
     "localname": "FeesPaidAndRelatedPartyTransactionsLineItems",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_FundTrustsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fund Trusts [Member]",
        "label": "UGA and the Related Public Funds [Member]"
       }
      }
     },
     "localname": "FundTrustsMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_GainLossOnCommodityFuturesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain (Loss) On Commodity Futures [Abstract]",
        "label": "Gain Loss On Commodity Futures [Abstract]",
        "verboseLabel": "Gain (loss) on trading of commodity futures contracts:"
       }
      }
     },
     "localname": "GainLossOnCommodityFuturesAbstract",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_GoldmanSachsFinancialSquareGovernmentFundInstitutionalShares0.03Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for Goldman Sachs Financial Square Government Fund - Institutional Shares, 0.03%.",
        "label": "Goldman Sachs Financial Square Government Fund - Institutional Shares, 0.03%#"
       }
      }
     },
     "localname": "GoldmanSachsFinancialSquareGovernmentFundInstitutionalShares0.03Member",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_GroupFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Group Four [Member]",
        "label": "Assets in excess of $3 billion [Member]"
       }
      }
     },
     "localname": "GroupFourMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_GroupNineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Group Nine [Member]",
        "label": "On and after October 20, 2011 [Member]"
       }
      }
     },
     "localname": "GroupNineMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_GroupThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Group Three [Member]",
        "label": "Assets up to $3 billion [Member]"
       }
      }
     },
     "localname": "GroupThreeMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_IncreaseDecreaseInEtfTransactionFeesReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This elements represents (Increase) decrease in ETF transaction fees receivable.",
        "label": "Increase Decrease In ETF Transaction Fees Receivable",
        "negatedLabel": "(Increase) decrease in ETF transaction fees receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInEtfTransactionFeesReceivable",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_IncreaseDecreaseInLicenseFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) in License Fees Payable.",
        "label": "Increase Decrease In License Fees Payable",
        "verboseLabel": "Increase (decrease) in license fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInLicenseFeesPayable",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_IncreaseDecreaseInNetAssetValuePerUnit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) In Net Asset Value Per Unit",
        "label": "Increase Decrease In Net Asset Value Per Unit",
        "verboseLabel": "Net increase (decrease) in net asset value"
       }
      }
     },
     "localname": "IncreaseDecreaseInNetAssetValuePerUnit",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "uga_IncreaseDecreaseInPayablesDueToCustomers": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The change during the period, either increase or decrease, in amounts payable due to Broker.",
        "label": "Increase Decrease In Payables Due To Customers",
        "verboseLabel": "Increase (decrease) in payable due to Broker"
       }
      }
     },
     "localname": "IncreaseDecreaseInPayablesDueToCustomers",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_IncreaseDecreaseInProfessionalFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) In Professional Fees Payable",
        "label": "Increase Decrease In Professional Fees Payable",
        "verboseLabel": "Increase (decrease) in professional fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInProfessionalFeesPayable",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_IncreaseDecreaseManagementFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) Management Fees Payable",
        "label": "Increase Decrease Management Fees Payable",
        "terseLabel": "Increase (decrease) in General Partner management fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseManagementFeesPayable",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_InvestmentSecuritiesClassesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A categorization of investments (securities, debt instruments, other instruments) according to the security class.",
        "label": "Investment Securities Classes [Axis]"
       }
      }
     },
     "localname": "InvestmentSecuritiesClassesAxis",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_InvestmentSecuritiesClassesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Securities Classes [Domain].",
        "label": "Investment Securities Classes [Domain]"
       }
      }
     },
     "localname": "InvestmentSecuritiesClassesDomain",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_LicenseFeesAndOtherOfferingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represent the value of license fees and other offering expenses.",
        "label": "License Fees And Other Offering Expenses",
        "terseLabel": "License fees",
        "verboseLabel": "Licensing fee incurred"
       }
      }
     },
     "localname": "LicenseFeesAndOtherOfferingExpenses",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_LicenseFeesPayableCurrentAndNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "License fees payable current and noncurrent.",
        "label": "License Fees Payable Current And Noncurrent",
        "verboseLabel": "License fees payable"
       }
      }
     },
     "localname": "LicenseFeesPayableCurrentAndNoncurrent",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_ManagementIncentiveFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management Incentive Fee Percentage",
        "label": "Management Incentive Fee Percentage",
        "terseLabel": "Management fees"
       }
      }
     },
     "localname": "ManagementIncentiveFeePercentage",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_MarketValuePerUnit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Market value per unit.",
        "label": "Market Value Per Unit",
        "terseLabel": "Market value per share"
       }
      }
     },
     "localname": "MarketValuePerUnit",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "perShareItemType"
    },
    "uga_MarketingAgentAndAffiliateOfUscfMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "n/a",
        "label": "Marketing Agent and Affiliate of USCF [Member]"
       }
      }
     },
     "localname": "MarketingAgentAndAffiliateOfUscfMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_MarketingAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Marketing Agreement [Member]",
        "label": "Marketing Agreement [Member]"
       }
      }
     },
     "localname": "MarketingAgreementMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_MaximumAggregateCompensationPaidForDistributionRelatedServicesPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum percentage of gross proceeds from offering paid for distribution related services as compensation.",
        "label": "Maximum Aggregate Compensation Paid For Distribution Related Services Percentage"
       }
      }
     },
     "localname": "MaximumAggregateCompensationPaidForDistributionRelatedServicesPercentage",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_MorganStanleyInstitutionalLiquidityFundsGovernmentPortfolioMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "n/a",
        "label": "Morgan Stanley Institutional Liquidity Funds - Government Portfolio - Institutional Shares, 0.03%#"
       }
      }
     },
     "localname": "MorganStanleyInstitutionalLiquidityFundsGovernmentPortfolioMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_NetAssetValuePerUnit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net asset value per unit.",
        "label": "Net Asset Value Per Unit",
        "periodEndLabel": "Net asset value, end of period",
        "periodStartLabel": "Net asset value, beginning of period",
        "terseLabel": "Net asset value per unit",
        "verboseLabel": "Net asset value per share"
       }
      }
     },
     "localname": "NetAssetValuePerUnit",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "perShareItemType"
    },
    "uga_NetAssetValuePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for net asset value.",
        "label": "Net Asset Value Policy [Text Block]",
        "terseLabel": "Calculation of Per Share NAV"
       }
      }
     },
     "localname": "NetAssetValuePolicyTextBlock",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uga_NetOperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total expenses net of waiver.",
        "label": "Net Operating Expenses",
        "totalLabel": "Net Expenses"
       }
      }
     },
     "localname": "NetOperatingExpenses",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_NumberOfRegisteredUnits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of Registered Shares.",
        "label": "Number Of Registered Units",
        "terseLabel": "Number of registered shares"
       }
      }
     },
     "localname": "NumberOfRegisteredUnits",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "uga_NumberOfUnitsPerBasket": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of units per Basket.",
        "label": "Number Of Units Per Basket",
        "terseLabel": "Number of shares per basket"
       }
      }
     },
     "localname": "NumberOfUnitsPerBasket",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "uga_NumberOfUnitsRegisteredInPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares Registered in Period.",
        "label": "Number Of Units Registered In Period",
        "terseLabel": "Number of initially registered shares on Form S-1 with the U.S. Securities and Exchange Commission"
       }
      }
     },
     "localname": "NumberOfUnitsRegisteredInPeriod",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "uga_NymexMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NYMEX"
       }
      }
     },
     "localname": "NymexMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_NymexRbobGasolineFuturesRbNovember2021ContractsExpiringOctober2021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The member stands for NYMEX RBOB Gasoline Futures RB November 2021 contracts, expiring October 2021.",
        "label": "NYMEX RBOB Gasoline Futures RB November 2021 contracts, Expiring October 2021"
       }
      }
     },
     "localname": "NymexRbobGasolineFuturesRbNovember2021ContractsExpiringOctober2021Member",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_OpenFuturesContractsLongMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Open Futures Contracts, Long [Member]",
        "label": "Open Futures Contracts, Long [Member]"
       }
      }
     },
     "localname": "OpenFuturesContractsLongMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_OpenPositionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Open Position [Member]",
        "label": "Change in unrealized gain (loss) on open positions [Member]"
       }
      }
     },
     "localname": "OpenPositionMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Line Items]",
        "label": "Organization Consolidation And Presentation Of Financial Statements Disclosure [Line Items]",
        "terseLabel": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Line Items]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureLineItems",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Table]",
        "label": "Organization Consolidation And Presentation Of Financial Statements Disclosure [Table]",
        "terseLabel": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Table]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTable",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_OtherOperatingIncomeExpensePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for other operating income (expense).",
        "label": "Other Operating Income Expense Policy [Text Block]",
        "terseLabel": "Offering Costs"
       }
      }
     },
     "localname": "OtherOperatingIncomeExpensePolicyTextBlock",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uga_PaymentsToPartnershipRedemption": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments To Partnership Redemption",
        "label": "Payments To Partnership Redemption",
        "negatedLabel": "Redemption of partnership shares"
       }
      }
     },
     "localname": "PaymentsToPartnershipRedemption",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_PerUnitPerformanceDataAndOtherSupplementalFinancialDataTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of per unit performance data and other supplemental financial data.",
        "label": "Per Unit Performance Data and Other Supplemental Financial Data [Table Text Block]",
        "verboseLabel": "Schedule of per share performance data and other supplemental financial data"
       }
      }
     },
     "localname": "PerUnitPerformanceDataAndOtherSupplementalFinancialDataTableTextBlock",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uga_PercentageOfAverageDailyNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Average Daily Net Assets",
        "label": "Percentage Of Average Daily Net Assets",
        "verboseLabel": "Total commissions as annualized percentage of average total net assets"
       }
      }
     },
     "localname": "PercentageOfAverageDailyNetAssets",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_PercentageOfChangeInCostsAndExpenses": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Change in Costs and Expenses",
        "label": "Percentage Of Change In Costs And Expenses",
        "verboseLabel": "Costs and expenses annual limit for reimbursement"
       }
      }
     },
     "localname": "PercentageOfChangeInCostsAndExpenses",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_PercentageOfConsolidatedNetIncomeLoss": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of consolidated net income (loss).",
        "label": "Percentage Of Consolidated Net Income Loss",
        "terseLabel": "Net income (loss)"
       }
      }
     },
     "localname": "PercentageOfConsolidatedNetIncomeLoss",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_PercentageOfPartnersCapital": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Partners Capital",
        "label": "Percentage Of Partners Capital",
        "terseLabel": "% of Partners' Capital"
       }
      }
     },
     "localname": "PercentageOfPartnersCapital",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_PercentageOfTotalRevenue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Total Revenue",
        "label": "Percentage Of Total Revenue",
        "terseLabel": "Total income (loss)"
       }
      }
     },
     "localname": "PercentageOfTotalRevenue",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_PercentageWaiverExpense": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Waiver Expense",
        "label": "Percentage Waiver Expense",
        "verboseLabel": "Expense waived"
       }
      }
     },
     "localname": "PercentageWaiverExpense",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_RateOfReturnOnAverageAsset": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate Of Return On Average Asset",
        "label": "Rate Of Return On Average Asset",
        "verboseLabel": "Total Return"
       }
      }
     },
     "localname": "RateOfReturnOnAverageAsset",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "uga_RbcU.s.GovernmentMoneyMarketFundInstitutionalShareClass0.10Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for RBC U.S. Government Money Market Fund - Institutional Share Class, 0.10%.",
        "label": "RBC U.S. Government Money Market Fund - Institutional Shares, 0.03%#"
       }
      }
     },
     "localname": "RbcU.s.GovernmentMoneyMarketFundInstitutionalShareClass0.10Member",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_RebalancingInvestmentsTransactionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rebalancing Investments Transaction [Member]",
        "label": "Commissions accrued as a result of rebalancing [Member]"
       }
      }
     },
     "localname": "RebalancingInvestmentsTransactionMember",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "uga_RecentAccountingPronouncementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "RECENT ACCOUNTING PRONOUNCEMENTS"
       }
      }
     },
     "localname": "RecentAccountingPronouncementsAbstract",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "xbrltype": "stringItemType"
    },
    "uga_SignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant Accounting Policies [Line Items]",
        "label": "Significant Accounting Policies [Line Items]",
        "terseLabel": "Significant Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesLineItems",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_SignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant Accounting Policies [Table]",
        "label": "Significant Accounting Policies [Table]",
        "terseLabel": "Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTable",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "uga_StatementScheduleOfInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Statement - Schedule of Investments [Abstract]",
        "label": "Condensed Schedule of Investments (Unaudited)"
       }
      }
     },
     "localname": "StatementScheduleOfInvestmentsAbstract",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "xbrltype": "stringItemType"
    },
    "uga_SupplementalFinancialInFormationDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "no definition",
        "label": "FINANCIAL HIGHLIGHTS"
       }
      }
     },
     "localname": "SupplementalFinancialInFormationDisclosureAbstract",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "xbrltype": "stringItemType"
    },
    "uga_SupplementalFinancialInformationDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Supplemental Financial Information Disclosure",
        "label": "Supplemental Financial Information Disclosure [Text Block]",
        "terseLabel": "FINANCIAL HIGHLIGHTS"
       }
      }
     },
     "localname": "SupplementalFinancialInformationDisclosureTextBlock",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlights"
     ],
     "xbrltype": "textBlockItemType"
    },
    "uga_TotalExpensesPerUnit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Expenses, Per Unit",
        "label": "Total Expenses Per Unit",
        "terseLabel": "Total expenses"
       }
      }
     },
     "localname": "TotalExpensesPerUnit",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "uga_TotalIncomeLossPerUnit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Income (Loss), Per Unit",
        "label": "Total Income Loss Per Unit",
        "terseLabel": "Total income (loss)"
       }
      }
     },
     "localname": "TotalIncomeLossPerUnit",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "uga_UnitsIssuedDuringPeriodUnitsNewIssues": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Units Issued During Period, Units, New Issues",
        "label": "Units Issued During Period Units New Issues",
        "terseLabel": "Number of shares issued"
       }
      }
     },
     "localname": "UnitsIssuedDuringPeriodUnitsNewIssues",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "uga_UnitsIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Units Issued During Period, Value, New Issues",
        "label": "Units Issued During Period Value New Issues",
        "terseLabel": "Value of shares issued"
       }
      }
     },
     "localname": "UnitsIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_UnrealizedGainLossOnOpenCommodityFuturesAndClearedSwapContracts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized gain (loss) on open commodity futures and cleared swap contracts.",
        "label": "Unrealized Gain Loss On Open Commodity Futures And Cleared Swap Contracts",
        "verboseLabel": "Fair Value/Unrealized Gain (Loss) on Open Commodity Contracts"
       }
      }
     },
     "localname": "UnrealizedGainLossOnOpenCommodityFuturesAndClearedSwapContracts",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "uga_UnrealizedGainLossOnOpenCommodityFuturesContracts": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized gain (loss) on open commodity futures contracts.",
        "label": "Unrealized Gain Loss On Open Commodity Futures Contracts",
        "terseLabel": "Unrealized gain (loss) on open commodity futures contracts",
        "verboseLabel": "Derivatives not Accounted for as Hedging Instruments"
       }
      }
     },
     "localname": "UnrealizedGainLossOnOpenCommodityFuturesContracts",
     "nsuri": "http://www.unitedstatesgasolinefund.com/20210930",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccruedProfessionalFeesCurrentAndNoncurrent": {
     "auth_ref": [
      "r263",
      "r274"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for professional fees, such as for legal and accounting services received.",
        "label": "Accrued Professional Fees",
        "terseLabel": "Professional fees payable"
       }
      }
     },
     "localname": "AccruedProfessionalFeesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract]",
        "verboseLabel": "Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Arrangements and Non-arrangement Transactions [Domain]"
       }
      }
     },
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r37",
      "r73",
      "r76",
      "r82",
      "r96",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r165",
      "r167",
      "r192",
      "r202",
      "r204",
      "r259",
      "r271"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total Assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsTotalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total assets, when it serves as a benchmark in a concentration of risk calculation, representing the sum of all reported assets as of the balance sheet date.",
        "label": "Assets [Member]"
       }
      }
     },
     "localname": "AssetsTotalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r172",
      "r175"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the basis of presentation and significant accounting policies concepts. Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).  Accounting policies describe all significant accounting policies of the reporting entity.",
        "label": "Basis of Presentation and Significant Accounting Policies [Text Block]",
        "verboseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r4",
      "r10",
      "r31"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      },
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Cash and cash equivalents",
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents (at cost $41,994,224 and $72,554,979, respectively) (Notes 2 and 5)"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Components of Cash and Cash Equivalents:",
        "label": "Cash and Cash Equivalents, at Carrying Value [Abstract]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of cash and cash equivalent balance.",
        "label": "Cash and Cash Equivalents [Axis]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r7",
      "r32"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r26",
      "r31",
      "r33"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "Total Cash, Cash Equivalents and Equity in Trading Accounts, end of period",
        "periodStartLabel": "Total Cash, Cash Equivalents and Equity in Trading Accounts, beginning of period",
        "totalLabel": "Total Cash, Cash Equivalents and Equity in Trading Accounts"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r26",
      "r196"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "Net Increase (Decrease) in Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashEquivalentsMember": {
     "auth_ref": [
      "r7"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Equivalents"
       }
      }
     },
     "localname": "CashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommissionsPayableToBrokerDealersAndClearingOrganizations": {
     "auth_ref": [
      "r257"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount payable to broker-dealers or clearing organizations for executing or clearing trades or orders.",
        "label": "Commissions Payable To Broker Dealers And Clearing Organizations",
        "terseLabel": "Brokerage commissions payable"
       }
      }
     },
     "localname": "CommissionsPayableToBrokerDealersAndClearingOrganizations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommissionsPolicy": {
     "auth_ref": [
      "r257",
      "r258"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fees earned by the broker dealer, acting as an agent in the buying and selling of securities and administrative efforts on behalf of customers and may include the timing of commission revenue recognition and presentation in the financial statements. Commissions earned are usually related to the broker dealer's customers' trading volume and the dollar amounts of the trades.",
        "label": "Commissions, Policy [Policy Text Block]",
        "verboseLabel": "Brokerage Commissions"
       }
      }
     },
     "localname": "CommissionsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r13",
      "r110",
      "r264",
      "r273"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments And Contingencies",
        "terseLabel": "Commitments and Contingencies (Notes 3, 4 &amp; 5)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommodityContractMember": {
     "auth_ref": [
      "r142",
      "r179"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to commodity prices.",
        "label": "Commodity Contracts [Member]"
       }
      }
     },
     "localname": "CommodityContractMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractorsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONTRACTS AND AGREEMENTS"
       }
      }
     },
     "localname": "ContractorsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCollateralAmount": {
     "auth_ref": [
      "r269"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets pledged to secure a debt instrument.",
        "label": "Collateral amount"
       }
      }
     },
     "localname": "DebtInstrumentCollateralAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r12",
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "verboseLabel": "Interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_Deposits": {
     "auth_ref": [
      "r261"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others.",
        "label": "Deposits",
        "terseLabel": "Deposits in domestic and foreign financial institutions"
       }
      }
     },
     "localname": "Deposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialInstrumentsOffBalanceSheetRisksAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsMoneyMarketDeposits": {
     "auth_ref": [
      "r261"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deposits in accounts that offer many of the same services as checking accounts although transactions may be somewhat more limited, share some of the characteristics of a money market fund and are insured by the Federal government, also known as money market accounts.",
        "label": "Deposits Money Market Deposits",
        "terseLabel": "Cash investments in money market funds"
       }
      }
     },
     "localname": "DepositsMoneyMarketDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialInstrumentsOffBalanceSheetRisksAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract Type [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r15",
      "r173",
      "r174",
      "r177",
      "r180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument Risk [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable": {
     "auth_ref": [
      "r171",
      "r173",
      "r177",
      "r180",
      "r181",
      "r182",
      "r184"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments Gain Loss By Hedging Relationship By Income Statement Location By Derivative Instrument Risk [Table]",
        "terseLabel": "Derivative Instruments, Gain (Loss) by Hedging Relationship, by Income Statement Location, by Derivative Instrument Risk [Table]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative Instruments Gain Loss [Line Items]",
        "terseLabel": "Derivative Instruments, Gain (Loss) [Line Items]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivatives Fair Value [Line Items]",
        "terseLabel": "Derivatives, Fair Value [Line Items]"
       }
      }
     },
     "localname": "DerivativesFairValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendIncomeOperating": {
     "auth_ref": [
      "r267"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating dividend income on securities.",
        "label": "Dividend Income Operating",
        "terseLabel": "Dividend income"
       }
      }
     },
     "localname": "DividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsReceivable": {
     "auth_ref": [
      "r14"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of dividends declared but not received.",
        "label": "Dividends Receivable",
        "terseLabel": "Dividends receivable"
       }
      }
     },
     "localname": "DividendsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromOfficersOrStockholders": {
     "auth_ref": [
      "r198",
      "r200",
      "r276"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amounts due from owners or owners with a beneficial interest of more than 10 percent of the voting interests or officers of the company.",
        "label": "Due from Officers or Stockholders",
        "terseLabel": "Receivable from General Partner (Note 3)"
       }
      }
     },
     "localname": "DueFromOfficersOrStockholders",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToOfficersOrStockholdersCurrentAndNoncurrent": {
     "auth_ref": [
      "r198",
      "r262",
      "r275",
      "r294"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due to recorded owners or owners with a beneficial interest of more than 10 percent of the voting interests or officers of the company.",
        "label": "Due to Officers or Stockholders",
        "terseLabel": "General Partner management fees payable (Note 3)"
       }
      }
     },
     "localname": "DueToOfficersOrStockholdersCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r59",
      "r60"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "verboseLabel": "Net Income (Loss) Per Share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r125",
      "r127",
      "r128",
      "r142",
      "r143",
      "r144",
      "r145",
      "r146",
      "r147",
      "r148",
      "r149",
      "r189",
      "r211",
      "r212",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value By Fair Value Hierarchy Level [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FAIR VALUE OF FINANCIAL INSTRUMENTS"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r190"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "FAIR VALUE OF FINANCIAL INSTRUMENTS"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r125",
      "r142",
      "r143",
      "r148",
      "r149",
      "r189",
      "r211"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r125",
      "r127",
      "r128",
      "r142",
      "r143",
      "r148",
      "r149",
      "r189",
      "r212"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r125",
      "r127",
      "r128",
      "r142",
      "r143",
      "r144",
      "r145",
      "r146",
      "r147",
      "r148",
      "r149",
      "r189",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementInputsDisclosureTextBlock": {
     "auth_ref": [
      "r191"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of the fair value measurement of assets and liabilities, which includes financial instruments measured at fair value that are classified in shareholders' equity, which may be measured on a recurring or nonrecurring basis.",
        "label": "Fair Value Measurement Inputs Disclosure [Text Block]",
        "terseLabel": "Schedule of valuation of securities using fair value hierarchy"
       }
      }
     },
     "localname": "FairValueMeasurementInputsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r125",
      "r127",
      "r128",
      "r142",
      "r143",
      "r144",
      "r145",
      "r146",
      "r147",
      "r148",
      "r149",
      "r211",
      "r212",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value, Measurements, Fair Value Hierarchy [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r172",
      "r176",
      "r182"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that discloses the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Fair Values Derivatives Balance Sheet Location By Derivative Contract Type By Hedging Designation [Table]",
        "terseLabel": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]"
       }
      }
     },
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r90",
      "r91",
      "r92",
      "r93",
      "r94",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r106",
      "r107",
      "r126",
      "r130",
      "r185",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedAtFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments, Owned, at Fair Value [Abstract]",
        "terseLabel": "Equity in trading accounts:"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedAtFairValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FloorBrokerageExchangeAndClearanceFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense during the period for floor brokerage fees paid to other broker-dealers to execute trades on their behalf, stock exchange fees, order flow fees, and clearance fees.",
        "label": "Floor Brokerage Exchange And Clearance Fees",
        "terseLabel": "Brokerage commissions",
        "verboseLabel": "Total commissions accrued to brokers"
       }
      }
     },
     "localname": "FloorBrokerageExchangeAndClearanceFees",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignExchangeFutureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A standardized contract, traded on a futures exchange, to buy or sell a certain currency, at a specified future date, at a fixed exercise rate (expressed as an exchange).",
        "label": "Exchange-Traded Futures Contracts [Member]"
       }
      }
     },
     "localname": "ForeignExchangeFutureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FutureMember": {
     "auth_ref": [
      "r178"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Futures contracts are forward-based contracts to make or take delivery of a specified financial instrument, foreign currency, or commodity at a specified future date or during a specified period at as specified price or yield. Futures are standardized contracts traded on an organized exchange.",
        "label": "Futures [Member]"
       }
      }
     },
     "localname": "FutureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnSaleOfInvestments": {
     "auth_ref": [
      "r29"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing activities.",
        "label": "Gain Loss On Sale Of Investments",
        "terseLabel": "Realized gain (loss) on closed commodity futures contracts",
        "verboseLabel": "Realized Gain (Loss) on Derivatives Recognized in Income"
       }
      }
     },
     "localname": "GainLossOnSaleOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralPartnersCapitalAccount": {
     "auth_ref": [
      "r133"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_PartnersCapital",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of the general partner's ownership interest.",
        "label": "General Partners Capital Account",
        "terseLabel": "General Partners"
       }
      }
     },
     "localname": "GeneralPartnersCapitalAccount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncentiveDistributionPolicyManagingMemberOrGeneralPartnerDescription": {
     "auth_ref": [
      "r57",
      "r58",
      "r61"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for an incentive policy and the associated accounting for a plan in a limited liability corporation or limited partnership that includes the payment of cash or stock or units to the managing member or general partner.",
        "label": "Incentive Distribution Policy, Managing Member or General Partner, Description [Policy Text Block]",
        "verboseLabel": "Partnership Capital and Allocation of Partnership Income and Losses"
       }
      }
     },
     "localname": "IncentiveDistributionPolicyManagingMemberOrGeneralPartnerDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Statements of Operations (Unaudited)"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r19",
      "r154",
      "r155",
      "r156",
      "r157",
      "r158",
      "r159"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncreaseDecreaseDueFromOfficersAndStockholders": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in receivables to be collected from the reporting entity's executives and owners.",
        "label": "Increase Decrease Due From Officers And Stockholders",
        "negatedLabel": "(Increase) decrease in receivable from General Partner"
       }
      }
     },
     "localname": "IncreaseDecreaseDueFromOfficersAndStockholders",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the obligations due for goods and services provided by the following types of related parties: a parent company and its subsidiaries, subsidiaries of a common parent, an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entities' management, an entity and its principal owners, management, or member of their immediate families, affiliates, or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Accounts Payable, Related Parties",
        "verboseLabel": "Increase (decrease) in directors' fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments.",
        "label": "Increase (Decrease) in Accrued Interest Receivable, Net",
        "negatedTerseLabel": "(Increase) decrease in interest receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDividendsReceivable": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in cash disbursements due from investments, representing the shareholders' portion of profits.",
        "label": "Increase Decrease In Dividends Receivable",
        "negatedLabel": "(Increase) decrease in dividends receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInDividendsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueToOfficersAndStockholders": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease), during an accounting period, in total obligations owed to the reporting entity's executives and owners.",
        "label": "Increase (Decrease) in Due to Officers and Stockholders",
        "terseLabel": "(Increase) decrease in prepaid insurance"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueToOfficersAndStockholders",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPartnersCapitalRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase Decrease In Partners Capital [Roll Forward]",
        "terseLabel": "Per Share Operating Performance:"
       }
      }
     },
     "localname": "IncreaseDecreaseInPartnersCapitalRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInPayablesToBrokerDealers": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of obligations incurred arising from transactions with broker-dealers, such as amounts due on margin and unsettled cash transactions; includes payables to brokers, dealers and clearing organizations.",
        "label": "Increase Decrease In Payables To Broker Dealers",
        "terseLabel": "Increase (decrease) in brokerage commissions payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInPayablesToBrokerDealers",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeOperating": {
     "auth_ref": [
      "r23"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities.",
        "label": "Interest Income Operating",
        "terseLabel": "Interest income*"
       }
      }
     },
     "localname": "InterestIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r14"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable",
        "verboseLabel": "Interest receivable"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterimPeriodCostsNotAllocableDomain": {
     "auth_ref": [
      "r62"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the type of costs and expenses incurred during an interim period that cannot be readily identified with the activities or benefits of other interim periods and are charged to the interim period in which incurred.",
        "label": "Interim Period, Costs Not Allocable [Domain]"
       }
      }
     },
     "localname": "InterimPeriodCostsNotAllocableDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "auth_ref": [
      "r292",
      "r308",
      "r315"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the investment at close of period. For schedules of investments that are categorized, the value would be aggregated by category. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities.",
        "label": "Investment Owned, at Fair Value",
        "verboseLabel": "Notional Amount"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalanceContracts": {
     "auth_ref": [
      "r298",
      "r303",
      "r316"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Balance held at close of period in number of contracts.",
        "label": "Investment Owned, Balance, Contracts",
        "terseLabel": "Number of Contracts"
       }
      }
     },
     "localname": "InvestmentOwnedBalanceContracts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "auth_ref": [
      "r293",
      "r303"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For investments which are quantified by principal amount, the principle balance held at close of period.",
        "label": "Investment Owned Balance Principal Amount",
        "terseLabel": "Principal Amount"
       }
      }
     },
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedUnderlyingFaceAmountAtMarketValue": {
     "auth_ref": [
      "r170",
      "r183"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount on the investment owned.",
        "label": "Investment Owned Underlying Face Amount At Market Value",
        "terseLabel": "Market Value"
       }
      }
     },
     "localname": "InvestmentOwnedUnderlyingFaceAmountAtMarketValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentSecondaryCategorizationAxis": {
     "auth_ref": [
      "r300",
      "r305",
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by second categorization of investments, which may include, but is not limited to industry.",
        "label": "Investment Secondary Categorization [Axis]"
       }
      }
     },
     "localname": "InvestmentSecondaryCategorizationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r299",
      "r301",
      "r302",
      "r304",
      "r306",
      "r307",
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r317",
      "r318",
      "r319",
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r299",
      "r301",
      "r302",
      "r304",
      "r306",
      "r307",
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r317",
      "r318",
      "r319",
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsDerivativeInstrumentsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsBySecondaryCategorizationDomain": {
     "auth_ref": [
      "r297",
      "r300",
      "r305",
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in the \"Investment Holdings [Table]\" and the \"Summary of Investment Holdings [Table]\" are often categorized at two levels. The first categorization is the investment type. The second categorization can vary. The usual secondary categorizations are industry, country or geography.",
        "label": "Investments by Secondary Categorization [Domain]"
       }
      }
     },
     "localname": "InvestmentsBySecondaryCategorizationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusinessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsFairValueDisclosure": {
     "auth_ref": [
      "r188"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.",
        "label": "Investments Fair Value Disclosure",
        "terseLabel": "Securities, fair value"
       }
      }
     },
     "localname": "InvestmentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r11",
      "r37",
      "r77",
      "r96",
      "r112",
      "r113",
      "r114",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r166",
      "r167",
      "r168",
      "r192",
      "r202",
      "r203"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total Liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r9",
      "r37",
      "r96",
      "r192",
      "r204",
      "r260",
      "r272"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities And Stockholders Equity",
        "totalLabel": "Total Liabilities and Partners' Capital"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LicensingAgreementsMember": {
     "auth_ref": [
      "r163"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights, generally of limited duration, under a license arrangement (for example, to sell or otherwise utilize specified products or processes in a specified territory).",
        "label": "Licensing Agreements [Member]"
       }
      }
     },
     "localname": "LicensingAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LimitedPartnerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Party to a partnership business who has limited liability.",
        "label": "Limited Partners"
       }
      }
     },
     "localname": "LimitedPartnerMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LimitedPartnersCapitalAccount": {
     "auth_ref": [
      "r133"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_PartnersCapital",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of the limited partners' ownership interests.",
        "label": "Limited Partners Capital Account",
        "terseLabel": "Limited Partners"
       }
      }
     },
     "localname": "LimitedPartnersCapitalAccount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LimitedPartnersCapitalAccountUnitsOutstanding": {
     "auth_ref": [
      "r133"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of limited partner units outstanding.",
        "label": "Limited Partners Capital Account Units Outstanding",
        "terseLabel": "Limited Partners' shares outstanding"
       }
      }
     },
     "localname": "LimitedPartnersCapitalAccountUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_LongDurationContractsAssumptionsByProductAndGuaranteeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Long Duration Contracts Assumptions By Product And Guarantee [Line Items]",
        "terseLabel": "Long-Duration Contracts, Assumptions by Product and Guarantee [Line Items]"
       }
      }
     },
     "localname": "LongDurationContractsAssumptionsByProductAndGuaranteeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongDurationContractsAssumptionsByProductAndGuaranteeTable": {
     "auth_ref": [
      "r270",
      "r279",
      "r280",
      "r281",
      "r283",
      "r291"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Explanation of the underlying assumptions and percentages or rates used in determining the fair value of guarantee obligations for each type of long-duration contract.",
        "label": "Long Duration Contracts Assumptions By Product And Guarantee [Table]",
        "terseLabel": "Long-Duration Contracts, Assumptions, by Product and Guarantee [Table]"
       }
      }
     },
     "localname": "LongDurationContractsAssumptionsByProductAndGuaranteeTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermContractsOrProgramsDisclosureTextBlock": {
     "auth_ref": [
      "r8",
      "r16",
      "r134",
      "r238",
      "r239",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-term contracts or programs.",
        "label": "Long-term Contracts or Programs Disclosure [Text Block]",
        "terseLabel": "CONTRACTS AND AGREEMENTS"
       }
      }
     },
     "localname": "LongTermContractsOrProgramsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ManagementFeeDescription": {
     "auth_ref": [
      "r199"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the nature of payments to managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP), including the fee rate, basis of calculation, relevant accounting period, whether the fee is paid to an entity other than the managing member or general partner, or whether the fee is waived.",
        "label": "Management Fee Description",
        "terseLabel": "USCF Management Fee"
       }
      }
     },
     "localname": "ManagementFeeDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ManagementFeeExpense": {
     "auth_ref": [
      "r199"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Management Fee Expense",
        "terseLabel": "General Partner management fees (Note 3)"
       }
      }
     },
     "localname": "ManagementFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ManagementFeePayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of the unpaid portion of the fee payable to the managing member or general partner for management of the fund or trust.",
        "label": "Management Fee Payable",
        "verboseLabel": "Directors' fees payable*"
       }
      }
     },
     "localname": "ManagementFeePayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketableSecuritiesRealizedGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment in marketable security, including other-than-temporary impairment (OTTI).",
        "label": "Marketable Securities, Realized Gain (Loss)",
        "verboseLabel": "Realized gain (loss) on short-term investments"
       }
      }
     },
     "localname": "MarketableSecuritiesRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MoneyMarketFundsMember": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fund that invests in short-term money-market instruments, for example, but not limited to, commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and other highly liquid securities.",
        "label": "Money Market Funds"
       }
      }
     },
     "localname": "MoneyMarketFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NatureOfExpenseAxis": {
     "auth_ref": [
      "r62"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of cost or expense.",
        "label": "Nature Of Expense [Axis]"
       }
      }
     },
     "localname": "NatureOfExpenseAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r26"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by (used in) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Financing Activities [Abstract]",
        "terseLabel": "Cash Flows from Financing Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r26",
      "r27",
      "r30"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by (used in) operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "Cash Flows from Operating Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r2",
      "r17",
      "r18",
      "r20",
      "r22",
      "r30",
      "r37",
      "r44",
      "r47",
      "r48",
      "r49",
      "r50",
      "r51",
      "r52",
      "r56",
      "r73",
      "r75",
      "r78",
      "r81",
      "r83",
      "r96",
      "r112",
      "r113",
      "r114",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r187",
      "r192",
      "r265",
      "r277"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income Loss",
        "terseLabel": "Net income (loss)",
        "totalLabel": "Net Income (Loss)",
        "verboseLabel": "Net income (loss)"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossNetOfTaxPerOutstandingLimitedPartnershipUnitDiluted": {
     "auth_ref": [
      "r133"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per unit of ownership amount after tax of income (loss) available to limited partnership (LP) unit-holder and units that would have been outstanding assuming the issuance of limited partner units for dilutive potential units outstanding.",
        "label": "Net Income (Loss), Net of Tax, Per Outstanding Limited Partnership Unit, Diluted, Total",
        "verboseLabel": "Net Income (Loss) per weighted average limited partner share"
       }
      }
     },
     "localname": "NetIncomeLossNetOfTaxPerOutstandingLimitedPartnershipUnitDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicNetOfTax": {
     "auth_ref": [
      "r133"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per unit of ownership amount after tax of income (loss) available to outstanding limited partnership (LP) unit-holder.",
        "label": "Net Income (Loss), Per Outstanding Limited Partnership Unit, Basic, Net of Tax, Total",
        "terseLabel": "Net Income (Loss) per limited partner share"
       }
      }
     },
     "localname": "NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r0",
      "r42",
      "r43",
      "r45",
      "r46",
      "r53",
      "r54",
      "r55",
      "r88",
      "r89",
      "r97",
      "r98",
      "r137",
      "r138",
      "r139",
      "r140",
      "r153",
      "r160",
      "r161",
      "r162",
      "r186",
      "r193",
      "r194",
      "r195",
      "r197",
      "r254",
      "r255",
      "r256",
      "r286",
      "r287",
      "r288",
      "r289",
      "r290",
      "r348"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for change in accounting principle. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle.",
        "label": "New Accounting Pronouncements and Changes in Accounting Principles [Text Block]",
        "verboseLabel": "RECENT ACCOUNTING PRONOUNCEMENTS"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureRecentAccountingPronouncements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoninterestExpenseDirectorsFees": {
     "auth_ref": [
      "r266"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noninterest expense related to directors' fees which are fees paid by an Entity to its directors. Directors' fees may be paid in addition to salary and other benefits.",
        "label": "Noninterest Expense Directors Fees",
        "terseLabel": "Estimated directors fees and expenses",
        "verboseLabel": "Directors' fees and insurance"
       }
      }
     },
     "localname": "NoninterestExpenseDirectorsFees",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 1.0,
       "parentTag": "uga_NetOperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "totalLabel": "Total Expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "Expenses"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ORGANIZATION AND BUSINESS"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r3",
      "r169"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization Consolidation And Presentation Of Financial Statements Disclosure [Text Block]",
        "terseLabel": "ORGANIZATION AND BUSINESS"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureOrganizationAndBusiness"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherGeneralExpense": {
     "auth_ref": [
      "r24"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of general expenses not normally included in Other Operating Costs and Expenses.",
        "label": "Other General Expense",
        "terseLabel": "Estimated investor tax reporting cost"
       }
      }
     },
     "localname": "OtherGeneralExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherIncome": {
     "auth_ref": [
      "r278"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "ETF transaction fees",
        "documentation": "Amount of revenue and income classified as other.",
        "label": "Other Income"
       }
      }
     },
     "localname": "OtherIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnerCapitalComponentsAxis": {
     "auth_ref": [
      "r132"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by partner capital components which are allocated for example, but not limited to accumulated other comprehensive income or comprehensive income.",
        "label": "Partner Capital Components [Axis]"
       }
      }
     },
     "localname": "PartnerCapitalComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnerCapitalComponentsDomain": {
     "auth_ref": [
      "r132"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Partner capital components are the parts of the total Partners' Capital balance including that which is allocated to accumulated other comprehensive income, comprehensive income.",
        "label": "Partner Capital Components [Domain]"
       }
      }
     },
     "localname": "PartnerCapitalComponentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnersCapital": {
     "auth_ref": [
      "r132"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of ownership interest of different classes of partners in limited partnership.",
        "label": "Partners Capital",
        "periodEndLabel": "Balances at beginning of period",
        "periodStartLabel": "Balances at end of period",
        "totalLabel": "Total Partners' Capital"
       }
      }
     },
     "localname": "PartnersCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Partners Capital [Abstract]",
        "terseLabel": "Partners' Capital"
       }
      }
     },
     "localname": "PartnersCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnersCapitalAccountContributions": {
     "auth_ref": [
      "r131",
      "r132"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total contributions made by each class of partners (i.e., general, limited and preferred partners).",
        "label": "Partners' Capital Account, Contributions",
        "terseLabel": "Addition of -, -, 1,100,000 and 7,300,000 partnership shares, respectively"
       }
      }
     },
     "localname": "PartnersCapitalAccountContributions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountRedemptions": {
     "auth_ref": [
      "r132",
      "r133"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total change in each class of partners' capital accounts during the year due to redemptions and adjustments to redemption value. All partners include general, limited and preferred partners.",
        "label": "Partners Capital Account Redemptions",
        "negatedLabel": "Redemption of (1,400,000), (2,050,000), (2,450,000) and (4,100,000) partnership shares, respectively"
       }
      }
     },
     "localname": "PartnersCapitalAccountRedemptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsContributed": {
     "auth_ref": [
      "r132",
      "r133"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Units contributed by each class of partners during the year. Units represent shares of ownership of the general, limited, and preferred partners.",
        "label": "Partners' Capital Account, Units, Contributed",
        "terseLabel": "Addition of partnership units"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsContributed",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnauditedParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsRedeemed": {
     "auth_ref": [
      "r132",
      "r133"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of units redeemed during the year of each class of partners' capital account. Units represent shares of ownership of the general, limited, and preferred partners.",
        "label": "Partners Capital Account Units Redeemed",
        "verboseLabel": "Redemption of partnership shares"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsRedeemed",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnauditedParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalNotesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Partners Capital Notes [Abstract]",
        "terseLabel": "Liabilities and Partners' Capital"
       }
      }
     },
     "localname": "PartnersCapitalNotesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PrepaidInsurance": {
     "auth_ref": [
      "r5",
      "r6",
      "r108",
      "r109"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for insurance that provides economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Insurance",
        "terseLabel": "Prepaid insurance*"
       }
      }
     },
     "localname": "PrepaidInsurance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PriorPeriodReclassificationAdjustmentDescription": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for reclassification affecting comparability of financial statement. Excludes amendment to accounting standards, other change in accounting principle, and correction of error.",
        "label": "Reclassification, Policy [Policy Text Block]",
        "verboseLabel": "Reclassification"
       }
      }
     },
     "localname": "PriorPeriodReclassificationAdjustmentDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ProceedsFromPartnershipContribution": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the capital received in cash from a partner in a partnership during the period.",
        "label": "Proceeds From Partnership Contribution",
        "terseLabel": "Addition of partnership shares"
       }
      }
     },
     "localname": "ProceedsFromPartnershipContribution",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r295",
      "r296"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Professional fees"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of cash and cash equivalent. Cash is currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents [Domain]"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedCashAndInvestmentsCurrent": {
     "auth_ref": [
      "r10",
      "r322",
      "r323"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      },
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current cash, cash equivalents and investments that are restricted as to withdrawal or usage. Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or entity statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits. Excludes compensating balance arrangements that are not agreements which legally restrict the use of cash amounts shown on the balance sheet. Includes current cash equivalents and investments that are similarly restricted as to withdrawal, usage or disposal.",
        "label": "Restricted Cash and Investments, Current",
        "presentationGuidance": "Cash and cash equivalents",
        "terseLabel": "Cash and cash equivalents (at cost $30,838,201 and $7,167,433, respectively)"
       }
      }
     },
     "localname": "RestrictedCashAndInvestmentsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnauditedParenthetical",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialCondition",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfFinancialConditionParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r35",
      "r36"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue Recognition, Policy [Policy Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r21",
      "r37",
      "r71",
      "r72",
      "r74",
      "r79",
      "r80",
      "r84",
      "r85",
      "r87",
      "r96",
      "r112",
      "r113",
      "r114",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r192",
      "r268"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "totalLabel": "Total Income (Loss)"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "Income"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r173",
      "r177",
      "r181"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]",
        "terseLabel": "Schedule of effect of derivative instruments on condensed statements of operations"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Schedule Of Derivative Instruments In Statement Of Financial Position Fair Value [Text Block]",
        "terseLabel": "Schedule of fair value of derivative instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r199",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule Of Related Party Transactions By Related Party [Table]",
        "terseLabel": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule Of Trading Securities And Other Trading Assets [Line Items]",
        "terseLabel": "Schedule of Trading Securities and Other Trading Assets [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security with change in fair value recognized in net income (FV-NI).",
        "label": "Schedule Of Trading Securities And Other Trading Assets [Table]",
        "terseLabel": "Schedule of Trading Securities and Other Trading Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionChangesInRedemptionValuePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognition of changes in redemption value of mandatorily redeemable shares. Provides the period over which changes in redemption value are accreted, usually from the issuance date (or from the date that it becomes probable that the security will become redeemable, if later) to the earliest redemption date of the security.",
        "label": "Shares Subject to Mandatory Redemption, Changes in Redemption Value, Policy [Policy Text Block]",
        "terseLabel": "Creations and Redemptions"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionChangesInRedemptionValuePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShortTermInvestmentsMember": {
     "auth_ref": [
      "r317",
      "r318",
      "r319",
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments which are not otherwise included in another category or item that the entity has the intent to sell or dispose of within one year from the date of the balance sheet.",
        "label": "Short-Term Investments [Member]"
       }
      }
     },
     "localname": "ShortTermInvestmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r34",
      "r38"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]",
        "verboseLabel": "Average Sales Price and Production Costs Per Share of Production [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Statements of Cash Flows (Unaudited)"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Statements of Financial Condition"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfPartnersCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Statement of Changes in Partners' Capital (Unaudited)"
       }
      }
     },
     "localname": "StatementOfPartnersCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r39",
      "r40",
      "r41",
      "r63",
      "r253"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]",
        "verboseLabel": "Average Sales Price and Production Costs Per Share of Production [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnaudited",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedScheduleOfInvestmentsUnauditedParenthetical",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementOfChangesInPartnersCapitalUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SUBSEQUENT EVENTS"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r205",
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "SUBSEQUENT EVENTS"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r90",
      "r91",
      "r92",
      "r93",
      "r94",
      "r126",
      "r130",
      "r185",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Types of Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfArrangementAxis": {
     "auth_ref": [
      "r164"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Type Of Arrangement [Axis]"
       }
      }
     },
     "localname": "TypeOfArrangementAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureContractsAndAgreementsAdditionalInformationDetails",
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFeesPaidByFundAndRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts": {
     "auth_ref": [
      "r29"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of open derivatives, commodity, or energy contracts, held at each balance sheet date, that was included in earnings for the period.",
        "label": "Unrealized Gain Loss On Derivatives And Commodity Contracts",
        "negatedLabel": "Change in unrealized (gain) loss on open commodity futures contracts",
        "terseLabel": "Change in Unrealized Gain (Loss) on Derivatives Recognized in Income"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivativesAndCommodityContracts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureFairValueOfFinancialInstrumentsEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetails",
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnInvestments": {
     "auth_ref": [
      "r29"
     ],
     "calculation": {
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment.",
        "label": "Unrealized Gain Loss On Investments",
        "terseLabel": "Change in unrealized gain (loss) on open commodity futures contracts"
       }
      }
     },
     "localname": "UnrealizedGainLossOnInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r64",
      "r65",
      "r66",
      "r67",
      "r68",
      "r69",
      "r70"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "verboseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding": {
     "auth_ref": [
      "r133"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average number of limited partnership units outstanding determined by relating the portion of time within a reporting period that limited partnership units have been outstanding to the total time in that period.",
        "label": "Weighted Average Limited Partnership Units Outstanding",
        "verboseLabel": "Weighted average limited partner shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageLimitedPartnershipUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.unitedstatesgasolinefund.com/role/StatementCondensedStatementsOfOperationsUnaudited"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 6
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=124429488&loc=d3e326-107755"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=123349782&loc=d3e5879-108316"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "35",
   "Topic": "605",
   "URI": "http://asc.fasb.org/subtopic&trid=2197326"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.8)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "210",
   "URI": "http://asc.fasb.org/topic&trid=2122208"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5419-128473"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "http://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "http://asc.fasb.org/topic&trid=2197479"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "10",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=6431724&loc=d3e32938-113948"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624181-113959"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123421605&loc=SL5629052-113961"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "10",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=6438156&loc=d3e57880-113973"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "820",
   "URI": "http://asc.fasb.org/topic&trid=2155941"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "848",
   "URI": "http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991585-234733"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991590-234733"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=6471471&loc=d3e48698-109348"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "275",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123375686&loc=d3e54658-109401"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "275",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123375686&loc=d3e54672-109401"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "275",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123375686&loc=d3e54681-109401"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "275",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123375686&loc=d3e54708-109401"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "275",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123375686&loc=d3e54711-109401"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=84167097&loc=d3e55538-109407"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=84167097&loc=d3e55562-109407"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123377354&loc=d3e56288-109415"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123374443&loc=d3e56414-109416"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123374443&loc=d3e56417-109416"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "912",
   "URI": "http://asc.fasb.org/topic&trid=2145070"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(1)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(2)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(3)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41256-110953"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41261-110953"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(4))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504833&loc=d3e7104-158389"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.3)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.4)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124505477&loc=d3e11318-158416"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=d3e14931-158439"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=d3e14937-158439"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=d3e14944-158439"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.12(a)(1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12.2(ii))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12.Column B)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14.Column B)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=120413209&loc=SL6242269-115581"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r335": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r336": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r337": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r338": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r339": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r340": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r341": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r342": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r343": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r344": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r345": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r346": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r347": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "848"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=SL108384541-122693"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "72",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6926462&loc=SL5163672-159010"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "73",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6926462&loc=SL5163674-159010"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6787-107765"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "103",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243028&loc=SL5199526-159011"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=124437754&loc=d3e639-108305"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(c)(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  }
 },
 "version": "2.1"
}
