{
 "instance": {
  "tect20221231_10k.htm": {
   "axisCustom": 0,
   "axisStandard": 12,
   "baseTaxonomies": {
    "http://fasb.org/srt/2022": 9,
    "http://fasb.org/us-gaap/2022": 3227,
    "http://xbrl.sec.gov/dei/2022": 62
   },
   "contextCount": 692,
   "dts": {
    "calculationLink": {
     "local": [
      "tect-20221231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "tect-20221231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "tect20221231_10k.htm"
     ]
    },
    "labelLink": {
     "local": [
      "tect-20221231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "tect-20221231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "tect-20221231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/currency/2022/currency-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/exch/2022/exch-2022.xsd",
      "https://xbrl.sec.gov/naics/2022/naics-2022.xsd",
      "https://xbrl.sec.gov/sic/2022/sic-2022.xsd",
      "https://xbrl.sec.gov/stpr/2022/stpr-2022.xsd"
     ]
    }
   },
   "elementCount": 507,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 55,
    "http://www.teucrium.com/20221231": 6,
    "http://xbrl.sec.gov/dei/2022": 6,
    "total": 67
   },
   "keyCustom": 64,
   "keyStandard": 158,
   "memberCustom": 101,
   "memberStandard": 11,
   "nsprefix": "tect",
   "nsuri": "http://www.teucrium.com/20221231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "000 - Document - Document And Entity Information",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.teucrium.com/20221231/role/statement-document-and-entity-information",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "009 - Statement - Statements of Assets and Liabilities - Teucrium Soybean Fund",
     "menuCat": "Statements",
     "order": "10",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
     "shortName": "Statements of Assets and Liabilities - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestReceivable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "099 - Disclosure - Schedule of Investments - Teucrium Corn Fund (Tables)",
     "menuCat": "Tables",
     "order": "100",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
     "shortName": "Schedule of Investments - Teucrium Corn Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100 - Disclosure - Note 1 - Organization and Operation - Teucrium Corn Fund (Tables)",
     "menuCat": "Tables",
     "order": "101",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
     "shortName": "Note 1 - Organization and Operation - Teucrium Corn Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Corn Fund (Tables)",
     "menuCat": "Tables",
     "order": "102",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Corn Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "102 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Corn Fund (Tables)",
     "menuCat": "Tables",
     "order": "103",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Corn Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "103 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Corn Fund (Tables)",
     "menuCat": "Tables",
     "order": "104",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Corn Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "104 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Corn Fund (Tables)",
     "menuCat": "Tables",
     "order": "105",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Corn Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "105 - Disclosure - Note 6 - Financial Highlights - Teucrium Corn Fund (Tables)",
     "menuCat": "Tables",
     "order": "106",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
     "shortName": "Note 6 - Financial Highlights - Teucrium Corn Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "106 - Disclosure - Schedule of Investments - Teucrium Soybean Fund (Tables)",
     "menuCat": "Tables",
     "order": "107",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
     "shortName": "Schedule of Investments - Teucrium Soybean Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "107 - Disclosure - Note 1 - Organization and Operation - Teucrium Soybean Fund (Tables)",
     "menuCat": "Tables",
     "order": "108",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
     "shortName": "Note 1 - Organization and Operation - Teucrium Soybean Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "108 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Soybean Fund (Tables)",
     "menuCat": "Tables",
     "order": "109",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Soybean Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "010 - Statement - Statements of Operations - Teucrium Soybean Fund",
     "menuCat": "Statements",
     "order": "11",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
     "shortName": "Statements of Operations - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestIncomeExpenseNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "109 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Soybean Fund (Tables)",
     "menuCat": "Tables",
     "order": "110",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Soybean Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "110 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Soybean Fund (Tables)",
     "menuCat": "Tables",
     "order": "111",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Soybean Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "111 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Soybean Fund (Tables)",
     "menuCat": "Tables",
     "order": "112",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Soybean Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "112 - Disclosure - Note 6 - Financial Highlights - Teucrium Soybean Fund (Tables)",
     "menuCat": "Tables",
     "order": "113",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
     "shortName": "Note 6 - Financial Highlights - Teucrium Soybean Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "113 - Disclosure - Schedule of Investments - Teucrium Sugar Fund (Tables)",
     "menuCat": "Tables",
     "order": "114",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
     "shortName": "Schedule of Investments - Teucrium Sugar Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "114 - Disclosure - Note 1 - Organization and Operation - Teucrium Sugar Fund (Tables)",
     "menuCat": "Tables",
     "order": "115",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
     "shortName": "Note 1 - Organization and Operation - Teucrium Sugar Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "115 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Sugar Fund (Tables)",
     "menuCat": "Tables",
     "order": "116",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Sugar Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "116 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Sugar Fund (Tables)",
     "menuCat": "Tables",
     "order": "117",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Sugar Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "117 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Sugar Fund (Tables)",
     "menuCat": "Tables",
     "order": "118",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Sugar Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "118 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Sugar Fund (Tables)",
     "menuCat": "Tables",
     "order": "119",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Sugar Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "011 - Statement - Statements of Changes in Net Assets - Teucrium Soybean Fund",
     "menuCat": "Statements",
     "order": "12",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
     "shortName": "Statements of Changes in Net Assets - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockRepurchasedDuringPeriodValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "119 - Disclosure - Note 6 - Financial Highlights - Teucrium Sugar Fund (Tables)",
     "menuCat": "Tables",
     "order": "120",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
     "shortName": "Note 6 - Financial Highlights - Teucrium Sugar Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "120 - Disclosure - Schedule of Investments - Teucrium Wheat Fund (Tables)",
     "menuCat": "Tables",
     "order": "121",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables",
     "shortName": "Schedule of Investments - Teucrium Wheat Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "121 - Disclosure - Note 1 - Organization and Operation - Teucrium Wheat Fund (Tables)",
     "menuCat": "Tables",
     "order": "122",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
     "shortName": "Note 1 - Organization and Operation - Teucrium Wheat Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "122 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Wheat Fund (Tables)",
     "menuCat": "Tables",
     "order": "123",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Wheat Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "123 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Wheat Fund (Tables)",
     "menuCat": "Tables",
     "order": "124",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Wheat Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R125": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "124 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Wheat Fund (Tables)",
     "menuCat": "Tables",
     "order": "125",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Wheat Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R126": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "125 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Wheat Fund (Tables)",
     "menuCat": "Tables",
     "order": "126",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Wheat Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R127": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "126 - Disclosure - Note 6 - Financial Highlights - Teucrium Wheat Fund (Tables)",
     "menuCat": "Tables",
     "order": "127",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
     "shortName": "Note 6 - Financial Highlights - Teucrium Wheat Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R128": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "127 - Disclosure - Schedule of Investments - Teucrium Agricultural Fund (Tables)",
     "menuCat": "Tables",
     "order": "128",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
     "shortName": "Schedule of Investments - Teucrium Agricultural Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R129": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "128 - Disclosure - Note 1 - Organization and Operation - Teucrium Agricultural Fund (Tables)",
     "menuCat": "Tables",
     "order": "129",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
     "shortName": "Note 1 - Organization and Operation - Teucrium Agricultural Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "012 - Statement - Statements of Cash Flows - Teucrium Soybean Fund",
     "menuCat": "Statements",
     "order": "13",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
     "shortName": "Statements of Cash Flows - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseInBrokerageReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R130": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "129 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Agricultural Fund (Tables)",
     "menuCat": "Tables",
     "order": "130",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Agricultural Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R131": {
     "firstAnchor": {
      "ancestors": [
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "130 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Agricultural Fund (Tables)",
     "menuCat": "Tables",
     "order": "131",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Agricultural Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R132": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "131 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Agricultural Fund (Tables)",
     "menuCat": "Tables",
     "order": "132",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Agricultural Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R133": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "132 - Disclosure - Note 5 - Financial Highlights - Teucrium Agricultural Fund (Tables)",
     "menuCat": "Tables",
     "order": "133",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
     "shortName": "Note 5 - Financial Highlights - Teucrium Agricultural Fund (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R134": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "133 - Disclosure - Schedule of Investments - Hashdex Bitcoin Futures ETF (Tables)",
     "menuCat": "Tables",
     "order": "134",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
     "shortName": "Schedule of Investments - Hashdex Bitcoin Futures ETF (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R135": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "134 - Disclosure - Note 1 - Organization and Operation - Hashdex Bitcoin Futures ETF (Tables)",
     "menuCat": "Tables",
     "order": "135",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
     "shortName": "Note 1 - Organization and Operation - Hashdex Bitcoin Futures ETF (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R136": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "135 - Disclosure - Note 2 - Principal Contracts and Agreements - Hashdex Bitcoin Futures ETF (Tables)",
     "menuCat": "Tables",
     "order": "136",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
     "shortName": "Note 2 - Principal Contracts and Agreements - Hashdex Bitcoin Futures ETF (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R137": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "136 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Hashdex Bitcoin Futures ETF (Tables)",
     "menuCat": "Tables",
     "order": "137",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Hashdex Bitcoin Futures ETF (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R138": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "137 - Disclosure - Note 4 - Fair Value Measurements - Hashdex Bitcoin Futures ETF (Tables)",
     "menuCat": "Tables",
     "order": "138",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
     "shortName": "Note 4 - Fair Value Measurements - Hashdex Bitcoin Futures ETF (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R139": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "138 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Hashdex Bitcoin Futures ETF (Tables)",
     "menuCat": "Tables",
     "order": "139",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Hashdex Bitcoin Futures ETF (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "013 - Statement - Statements of Assets and Liabilities - Teucrium Sugar Fund",
     "menuCat": "Statements",
     "order": "14",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
     "shortName": "Statements of Assets and Liabilities - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestReceivable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R140": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "139 - Disclosure - Note 6 - Financial Highlights - Hashdex Bitcoin Futures ETF (Tables)",
     "menuCat": "Tables",
     "order": "140",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
     "shortName": "Note 6 - Financial Highlights - Hashdex Bitcoin Futures ETF (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R141": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_InvestmentTypeAxis-CommodityFuturesContractsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "140 - Disclosure - Combined Schedule of Investments - Investments (Details)",
     "menuCat": "Details",
     "order": "141",
     "role": "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
     "shortName": "Combined Schedule of Investments - Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_InvestmentSecondaryCategorizationAxis-InvestmentFourMember_InvestmentTypeAxis-CommercialPaperMember_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis-ViatrisIncMember",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:InvestmentInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R142": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:NumberOfSeries",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "141 - Disclosure - Note 1 - Organization and Operation (Details Textual)",
     "menuCat": "Details",
     "order": "142",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
     "shortName": "Note 1 - Organization and Operation (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2012-03-27_2012-03-27_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:NumberOfCreationBasketsIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R143": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "first": true,
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "142 - Disclosure - Note 2 - Principal Contracts and Agreements (Details Textual)",
     "menuCat": "Details",
     "order": "143",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
     "shortName": "Note 2 - Principal Contracts and Agreements (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R144": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "143 - Disclosure - Note 2 - Principal Contracts and Agreements - Summary of Expenses (Details)",
     "menuCat": "Details",
     "order": "144",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
     "shortName": "Note 2 - Principal Contracts and Agreements - Summary of Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R145": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:NumberOfUnderlyingFunds",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "144 - Disclosure - Note 3 - Summary of Significant Accounting Policies (Details Textual)",
     "menuCat": "Details",
     "order": "145",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
     "shortName": "Note 3 - Summary of Significant Accounting Policies (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:FairValueOfFinancialInstrumentsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2020-04-01_2020-06-30_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:ChangeUnrealizedExcessReportedCBOTValues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R146": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "145 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid (Details)",
     "menuCat": "Details",
     "order": "146",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R147": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "146 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)",
     "menuCat": "Details",
     "order": "147",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R148": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "147 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Related Party Transactions (Details)",
     "menuCat": "Details",
     "order": "148",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R149": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:ExpensesWaivedBySponsor",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "148 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor (Details)",
     "menuCat": "Details",
     "order": "149",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "014 - Statement - Statements of Operations - Teucrium Sugar Fund",
     "menuCat": "Statements",
     "order": "15",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
     "shortName": "Statements of Operations - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestIncomeExpenseNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R150": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "149 - Disclosure - Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value (Details)",
     "menuCat": "Details",
     "order": "150",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
     "shortName": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R151": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "150 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities (Details Textual)",
     "menuCat": "Details",
     "order": "151",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-details-textual",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R152": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilities",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "151 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities (Details)",
     "menuCat": "Details",
     "order": "152",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R153": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "152 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments (Details)",
     "menuCat": "Details",
     "order": "153",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R154": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsNet",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "153 - Disclosure - Note 7 - Detail of the Net Assets and Shares Outstanding of the Funds that are a Series of the Trust - Net Assets and Shares Outstanding (Details)",
     "menuCat": "Details",
     "order": "154",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
     "shortName": "Note 7 - Detail of the Net Assets and Shares Outstanding of the Funds that are a Series of the Trust - Net Assets and Shares Outstanding (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "srt:DistributionOfAssetsLiabilitiesAndStockholdersEquityTableTextBlock",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "lang": null,
      "name": "tect:InvestmentInTheUnderlyingFunds",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R155": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "154 - Disclosure - Note 8 - Subsequent Events (Details Textual)",
     "menuCat": "Details",
     "order": "155",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
     "shortName": "Note 8 - Subsequent Events (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2023-01-01_2023-02-28_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_SubsequentEventTypeAxis-SubsequentEventMember",
      "decimals": "1",
      "lang": null,
      "name": "tect:InvestmentCompanyNetAssetsPeriodIncreaseDecreasePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R156": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_InvestmentSecondaryCategorizationAxis-CBOTCornFuturesMay22Member_InvestmentTypeAxis-CornFuturesContractsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "155 - Disclosure - Schedule of Investments - Investments - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "156",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
     "shortName": "Schedule of Investments - Investments - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember_InvestmentSecondaryCategorizationAxis-CBOTCornFuturesMay22Member_InvestmentTypeAxis-CornFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R157": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueNewIssues",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "156 - Disclosure - Note 1 - Organization and Operation - Teucrium Corn Fund (Details Textual)",
     "menuCat": "Details",
     "order": "157",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
     "shortName": "Note 1 - Organization and Operation - Teucrium Corn Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember_DerivativeInstrumentRiskAxis-CornFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeNumberOfInstrumentsHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R158": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember_InvestmentSecondaryCategorizationAxis-SecondToExpireMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "tect:WeightedAverageClosingPricesBenchmarkWeightingPercentPerTrancheOfContracts",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "157 - Disclosure - Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "158",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
     "shortName": "Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R159": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "first": true,
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "158 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Corn Fund (Details Textual)",
     "menuCat": "Details",
     "order": "159",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Corn Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "015 - Statement - Statements of Changes in Net Assets - Teucrium Sugar Fund",
     "menuCat": "Statements",
     "order": "16",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
     "shortName": "Statements of Changes in Net Assets - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockRepurchasedDuringPeriodValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R160": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "159 - Disclosure - Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "160",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
     "shortName": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember_RelatedPartyTransactionsByRelatedPartyAxis-WilmingtonTrustCompanyMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R161": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "160 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Corn Fund (Details Textual)",
     "menuCat": "Details",
     "order": "161",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Corn Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:AuthorizedPurchaserRedemptionBasketsMinimumBlocksOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R162": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "161 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "162",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R163": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "162 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "163",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R164": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "163 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "164",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R165": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:ExpensesWaivedBySponsor",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "164 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "165",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R166": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "165 - Disclosure - Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "166",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
     "shortName": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R167": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "166 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Corn Fund (Details Textual)",
     "menuCat": "Details",
     "order": "167",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Corn Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R168": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilities",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "167 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "168",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember_DerivativeInstrumentRiskAxis-CornFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R169": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "168 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "169",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember_DerivativeInstrumentRiskAxis-CornFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "016 - Statement - Statements of Cash Flows - Teucrium Sugar Fund",
     "menuCat": "Statements",
     "order": "17",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
     "shortName": "Statements of Cash Flows - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseInBrokerageReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R170": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "169 - Disclosure - Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Corn Fund (Details)",
     "menuCat": "Details",
     "order": "170",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
     "shortName": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Corn Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyInvestmentIncomeLossPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R171": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_InvestmentSecondaryCategorizationAxis-CBOTSoybeanFuturesMar22Member_InvestmentTypeAxis-SoybeanFuturesContractsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "170 - Disclosure - Schedule of Investments - Investments - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "171",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
     "shortName": "Schedule of Investments - Investments - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember_InvestmentSecondaryCategorizationAxis-CBOTSoybeanFuturesMar22Member_InvestmentTypeAxis-SoybeanFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R172": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueNewIssues",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "171 - Disclosure - Note 1 - Organization and Operation - Teucrium Soybean Fund (Details Textual)",
     "menuCat": "Details",
     "order": "172",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
     "shortName": "Note 1 - Organization and Operation - Teucrium Soybean Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember_DerivativeInstrumentRiskAxis-SoybeanFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeNumberOfInstrumentsHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R173": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember_InvestmentSecondaryCategorizationAxis-SecondToExpireMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "tect:WeightedAverageClosingPricesBenchmarkWeightingPercentPerTrancheOfContracts",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "172 - Disclosure - Note 1 - Organization and Operation - Benchmark - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "173",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
     "shortName": "Note 1 - Organization and Operation - Benchmark - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R174": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "first": true,
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "173 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Soybean Fund (Details Textual)",
     "menuCat": "Details",
     "order": "174",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Soybean Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R175": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "174 - Disclosure - Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "175",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
     "shortName": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember_RelatedPartyTransactionsByRelatedPartyAxis-WilmingtonTrustCompanyMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R176": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "175 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Soybean Fund (Details Textual)",
     "menuCat": "Details",
     "order": "176",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Soybean Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:AuthorizedPurchaserMinimumLevelOfCreationBasketsShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R177": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "176 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "177",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R178": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "177 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "178",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R179": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "178 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "179",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "017 - Statement - Statements of Assets and Liabilities - Teucrium Wheat Fund",
     "menuCat": "Statements",
     "order": "18",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
     "shortName": "Statements of Assets and Liabilities - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestReceivable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R180": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:ExpensesWaivedBySponsor",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "179 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "180",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R181": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "180 - Disclosure - Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "181",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
     "shortName": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R182": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "181 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Soybean Fund (Details Textual)",
     "menuCat": "Details",
     "order": "182",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Soybean Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R183": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_DerivativeInstrumentRiskAxis-SoybeanFuturesContractsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "182 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "183",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember_DerivativeInstrumentRiskAxis-SoybeanFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R184": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "183 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "184",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember_DerivativeInstrumentRiskAxis-SoybeanFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R185": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "184 - Disclosure - Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Soybean Fund (Details)",
     "menuCat": "Details",
     "order": "185",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
     "shortName": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Soybean Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyInvestmentIncomeLossPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R186": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "185 - Disclosure - Note 8 - Subsequent Events - Teucrium Soybean Fund (Details Textual)",
     "menuCat": "Details",
     "order": "186",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
     "shortName": "Note 8 - Subsequent Events - Teucrium Soybean Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R187": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_InvestmentTypeAxis-MoneyMarketFundsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "186 - Disclosure - Schedule of Investments - Investments - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "187",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
     "shortName": "Schedule of Investments - Investments - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember_InvestmentTypeAxis-MoneyMarketFundsMember_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis-GoldmanSachsFinancialSquareGovernmentFundInstitutionalClassMember",
      "decimals": "4",
      "lang": null,
      "name": "us-gaap:InvestmentInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R188": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueNewIssues",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "187 - Disclosure - Note 1 - Organization and Operation - Teucrium Sugar Fund (Details Textual)",
     "menuCat": "Details",
     "order": "188",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
     "shortName": "Note 1 - Organization and Operation - Teucrium Sugar Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember_DerivativeInstrumentRiskAxis-SugarFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeNumberOfInstrumentsHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R189": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember_InvestmentSecondaryCategorizationAxis-SecondToExpireMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "tect:WeightedAverageClosingPricesBenchmarkWeightingPercentPerTrancheOfContracts",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "188 - Disclosure - Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "189",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
     "shortName": "Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "018 - Statement - Statements of Operations - Teucrium Wheat Fund",
     "menuCat": "Statements",
     "order": "19",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund",
     "shortName": "Statements of Operations - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestIncomeExpenseNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R190": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "first": true,
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "189 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Sugar Fund (Details Textual)",
     "menuCat": "Details",
     "order": "190",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Sugar Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R191": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "190 - Disclosure - Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "191",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
     "shortName": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember_RelatedPartyTransactionsByRelatedPartyAxis-WilmingtonTrustCompanyMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R192": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "191 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Sugar Fund (Details Textual)",
     "menuCat": "Details",
     "order": "192",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Sugar Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:AuthorizedPurchaserRedemptionBasketsMinimumBlocksOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R193": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "192 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "193",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R194": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "193 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "194",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R195": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "194 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "195",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R196": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:ExpensesWaivedBySponsor",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "195 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "196",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R197": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "196 - Disclosure - Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "197",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
     "shortName": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R198": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "197 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Sugar Fund (Details Textual)",
     "menuCat": "Details",
     "order": "198",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Sugar Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R199": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilities",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "198 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "199",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember_DerivativeInstrumentRiskAxis-SugarFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "001 - Statement - Combined Statements of Assets and Liabilities",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
     "shortName": "Combined Statements of Assets and Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "lang": null,
      "name": "tect:CommodityAndCryptocurrencyFuturesContractsLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "019 - Statement - Statements of Changes in Net Assets - Teucrium Wheat Fund",
     "menuCat": "Statements",
     "order": "20",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
     "shortName": "Statements of Changes in Net Assets - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockRepurchasedDuringPeriodValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R200": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "199 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "200",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember_DerivativeInstrumentRiskAxis-SugarFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R201": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "200 - Disclosure - Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Sugar Fund (Details)",
     "menuCat": "Details",
     "order": "201",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
     "shortName": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Sugar Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyInvestmentIncomeLossPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R202": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_InvestmentSecondaryCategorizationAxis-CBOTWheatFuturesMay22Member_InvestmentTypeAxis-WheatFuturesContractsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "201 - Disclosure - Schedule of Investments - Investments - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "202",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
     "shortName": "Schedule of Investments - Investments - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember_InvestmentSecondaryCategorizationAxis-CBOTWheatFuturesMay22Member_InvestmentTypeAxis-WheatFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R203": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueNewIssues",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "202 - Disclosure - Note 1 - Organization and Operation - Teucrium Wheat Fund (Details Textual)",
     "menuCat": "Details",
     "order": "203",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
     "shortName": "Note 1 - Organization and Operation - Teucrium Wheat Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2010-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:SharesOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R204": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember_InvestmentSecondaryCategorizationAxis-SecondToExpireMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "tect:WeightedAverageClosingPricesBenchmarkWeightingPercentPerTrancheOfContracts",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "203 - Disclosure - Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "204",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
     "shortName": "Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R205": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "first": true,
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "204 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Wheat Fund (Details Textual)",
     "menuCat": "Details",
     "order": "205",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Wheat Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R206": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "205 - Disclosure - Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "206",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
     "shortName": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember_RelatedPartyTransactionsByRelatedPartyAxis-WilmingtonTrustCompanyMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R207": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "206 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Wheat Fund (Details Textual)",
     "menuCat": "Details",
     "order": "207",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Wheat Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:AuthorizedPurchaserRedemptionBasketsMinimumBlocksOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R208": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "207 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "208",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R209": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "208 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "209",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "020 - Statement - Statements of Cash Flows - Teucrium Wheat Fund",
     "menuCat": "Statements",
     "order": "21",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
     "shortName": "Statements of Cash Flows - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseInBrokerageReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R210": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "209 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "210",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R211": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:ExpensesWaivedBySponsor",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "210 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "211",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R212": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "211 - Disclosure - Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "212",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
     "shortName": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R213": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "212 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Wheat Fund (Details Textual)",
     "menuCat": "Details",
     "order": "213",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Wheat Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R214": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilities",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "213 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "214",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember_DerivativeInstrumentRiskAxis-WheatFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R215": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "214 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "215",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember_DerivativeInstrumentRiskAxis-WheatFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R216": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "215 - Disclosure - Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Wheat Fund (Details)",
     "menuCat": "Details",
     "order": "216",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
     "shortName": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Wheat Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyInvestmentIncomeLossPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R217": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "216 - Disclosure - Note 8 - Subsequent Events - Teucrium Wheat Fund (Details Textual)",
     "menuCat": "Details",
     "order": "217",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
     "shortName": "Note 8 - Subsequent Events - Teucrium Wheat Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R218": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "217 - Disclosure - Schedule of Investments - Investments - Teucrium Agricultural Fund (Details)",
     "menuCat": "Details",
     "order": "218",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
     "shortName": "Schedule of Investments - Investments - Teucrium Agricultural Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember_InvestmentTypeAxis-ExchangeTradedFundsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R219": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueNewIssues",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "218 - Disclosure - Note 1 - Organization and Operation - Teucrium Agricultural Fund (Details Textual)",
     "menuCat": "Details",
     "order": "219",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
     "shortName": "Note 1 - Organization and Operation - Teucrium Agricultural Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2012-02-10_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "021 - Statement - Statements of Assets and Liabilities - Teucrium Agricultural Fund",
     "menuCat": "Statements",
     "order": "22",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
     "shortName": "Statements of Assets and Liabilities - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R220": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "tect:UnderlyingFundAverageWeightingToEachFund",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "219 - Disclosure - Note 1 - Organization and Operation - Benchmark - Teucrium Agricultural Fund (Details)",
     "menuCat": "Details",
     "order": "220",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
     "shortName": "Note 1 - Organization and Operation - Benchmark - Teucrium Agricultural Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R221": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "first": true,
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "220 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Agricultural Fund (Details Textual)",
     "menuCat": "Details",
     "order": "221",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Agricultural Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R222": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "221 - Disclosure - Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Agricultural Fund (Details)",
     "menuCat": "Details",
     "order": "222",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
     "shortName": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Agricultural Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember_RelatedPartyTransactionsByRelatedPartyAxis-WilmingtonTrustCompanyMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R223": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "222 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Agricultural Fund (Details Textual)",
     "menuCat": "Details",
     "order": "223",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Agricultural Fund (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:AuthorizedPurchaserMinimumLevelOfCreationBasketsShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R224": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "223 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Agricultural Fund (Details)",
     "menuCat": "Details",
     "order": "224",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Agricultural Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R225": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:ExpensesWaivedBySponsor",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "224 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Agricultural Fund (Details)",
     "menuCat": "Details",
     "order": "225",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Agricultural Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R226": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "225 - Disclosure - Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Agricultural Fund (Details)",
     "menuCat": "Details",
     "order": "226",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
     "shortName": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Agricultural Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:AlternativeInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R227": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2021-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "226 - Disclosure - Note 5 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Agricultural Fund (Details)",
     "menuCat": "Details",
     "order": "227",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
     "shortName": "Note 5 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Agricultural Fund (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyGainLossOnInvestmentPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R228": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_InvestmentTypeAxis-MoneyMarketFundsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "227 - Disclosure - Combined Schedule of Investments - Investments - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "228",
     "role": "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
     "shortName": "Combined Schedule of Investments - Investments - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_InvestmentTypeAxis-MoneyMarketFundsMember_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis-FirstAmericanGovernmentObligationsFundClassXMember",
      "decimals": "5",
      "lang": null,
      "name": "us-gaap:InvestmentInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R229": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueNewIssues",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "228 - Disclosure - Note 1 - Organization and Operation - Hashdex Bitcoin Futures ETF (Details Textual)",
     "menuCat": "Details",
     "order": "229",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
     "shortName": "Note 1 - Organization and Operation - Hashdex Bitcoin Futures ETF (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-09-16_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:SharesIssuedPricePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "022 - Statement - Statements of Assets and Liabilities - Teucrium Agricultural Fund (Parentheticals)",
     "menuCat": "Statements",
     "order": "23",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals",
     "shortName": "Statements of Assets and Liabilities - Teucrium Agricultural Fund (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R230": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_InvestmentSecondaryCategorizationAxis-FirstToExpireMember",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "tect:WeightedAverageClosingPricesBenchmarkWeightingPercentPerTrancheOfContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "229 - Disclosure - Note 1 - Organization and Operation - Benchmark - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "230",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
     "shortName": "Note 1 - Organization and Operation - Benchmark - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBenchmarkPercentagesTableTextBlock",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_InvestmentSecondaryCategorizationAxis-FirstToExpireMember",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "tect:WeightedAverageClosingPricesBenchmarkWeightingPercentPerTrancheOfContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R231": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "first": true,
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "230 - Disclosure - Note 2 - Principal Contracts and Agreements - Hashdex Bitcoin Futures ETF (Details Textual)",
     "menuCat": "Details",
     "order": "231",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
     "shortName": "Note 2 - Principal Contracts and Agreements - Hashdex Bitcoin Futures ETF (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-09-15_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_RelatedPartyTransactionAxis-CustodyServicesMember_RelatedPartyTransactionsByRelatedPartyAxis-USBankNAMember",
      "decimals": "6",
      "lang": null,
      "name": "tect:RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R232": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "231 - Disclosure - Note 2 - Principal Contracts and Agreements - Summary of Expenses - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "232",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
     "shortName": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-09-15_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_RelatedPartyTransactionsByRelatedPartyAxis-WilmingtonTrustCompanyMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R233": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "232 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Hashdex Bitcoin Futures ETF (Details Textual)",
     "menuCat": "Details",
     "order": "233",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Hashdex Bitcoin Futures ETF (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R234": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "233 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "234",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R235": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "tect:ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock",
       "tect:SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "tect:ExpensesWaivedBySponsor",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "234 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "235",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R236": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "235 - Disclosure - Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "236",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
     "shortName": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R237": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "236 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Hashdex Bitcoin Futures ETF (Details Textual)",
     "menuCat": "Details",
     "order": "237",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Hashdex Bitcoin Futures ETF (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R238": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_DerivativeInstrumentRiskAxis-BitcoinFuturesContractsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "237 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "238",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_DerivativeInstrumentRiskAxis-BitcoinFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R239": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "238 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "239",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-09-15_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_DerivativeInstrumentRiskAxis-BitcoinFuturesContractsMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeExpenseNet",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "023 - Statement - Statements of Operations - Teucrium Agricultural Fund",
     "menuCat": "Statements",
     "order": "24",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
     "shortName": "Statements of Operations - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RealizedInvestmentGainsLosses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R240": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-09-14_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "239 - Disclosure - Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Hashdex Bitcoin Futures ETF (Details)",
     "menuCat": "Details",
     "order": "240",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
     "shortName": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Hashdex Bitcoin Futures ETF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-09-15_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyInvestmentIncomeLossPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R241": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "240 - Disclosure - Note 8 - Subsequent Events - Hashdex Bitcoin Futures ETF (Details Textual)",
     "menuCat": "Details",
     "order": "241",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
     "shortName": "Note 8 - Subsequent Events - Hashdex Bitcoin Futures ETF (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2023-01-01_2023-02-28_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember_SubsequentEventTypeAxis-SubsequentEventMember",
      "decimals": "1",
      "lang": null,
      "name": "tect:NetAssetsIncreasePercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "024 - Statement - Statements of Changes in Net Assets - Teucrium Agricultural Fund",
     "menuCat": "Statements",
     "order": "25",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
     "shortName": "Statements of Changes in Net Assets - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockRepurchasedDuringPeriodValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "025 - Statement - Statements of Cash Flows - Teucrium Agricultural Fund",
     "menuCat": "Statements",
     "order": "26",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
     "shortName": "Statements of Cash Flows - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "tect:ProceedsFromSalePaymentsForPurchaseOfSecuritiesOperatingActivities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "026 - Statement - Statements of Assets and Liabilities - Hashdex Bitcoin Futures ETF",
     "menuCat": "Statements",
     "order": "27",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
     "shortName": "Statements of Assets and Liabilities - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-09-15_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "027 - Statement - Statements of Operations - Hashdex Bitcoin Futures ETF",
     "menuCat": "Statements",
     "order": "28",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
     "shortName": "Statements of Operations - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-09-15_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestIncomeExpenseNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsNet",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "028 - Statement - Statements of Changes in Net Assets - Hashdex Bitcoin Futures ETF",
     "menuCat": "Statements",
     "order": "29",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
     "shortName": "Statements of Changes in Net Assets - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-09-15_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockRepurchasedDuringPeriodValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "002 - Statement - Combined Statements of Operations",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
     "shortName": "Combined Statements of Operations",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "029 - Statement - Statements of Cash Flows - Hashdex Bitcoin Futures ETF",
     "menuCat": "Statements",
     "order": "30",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
     "shortName": "Statements of Cash Flows - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-09-15_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseInBrokerageReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "030 - Disclosure - Combined Schedule of Investments",
     "menuCat": "Notes",
     "order": "31",
     "role": "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments",
     "shortName": "Combined Schedule of Investments",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "031 - Disclosure - Note 1 - Organization and Operation",
     "menuCat": "Notes",
     "order": "32",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
     "shortName": "Note 1 - Organization and Operation",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "032 - Disclosure - Note 2 - Principal Contracts and Agreements",
     "menuCat": "Notes",
     "order": "33",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
     "shortName": "Note 2 - Principal Contracts and Agreements",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "033 - Disclosure - Note 3 - Summary of Significant Accounting Policies",
     "menuCat": "Notes",
     "order": "34",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
     "shortName": "Note 3 - Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "034 - Disclosure - Note 4 - Fair Value Measurements",
     "menuCat": "Notes",
     "order": "35",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements",
     "shortName": "Note 4 - Fair Value Measurements",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "035 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities",
     "menuCat": "Notes",
     "order": "36",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "036 - Disclosure - Note 6 - Organizational and Offering Costs",
     "menuCat": "Notes",
     "order": "37",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs",
     "shortName": "Note 6 - Organizational and Offering Costs",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "037 - Disclosure - Note 7 - Detail of the Net Assets and Shares Outstanding of the Funds that are a Series of the Trust",
     "menuCat": "Notes",
     "order": "38",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust",
     "shortName": "Note 7 - Detail of the Net Assets and Shares Outstanding of the Funds that are a Series of the Trust",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "038 - Disclosure - Note 8 - Subsequent Events",
     "menuCat": "Notes",
     "order": "39",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
     "shortName": "Note 8 - Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "003 - Statement - Combined Statements of Changes in Net Assets",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
     "shortName": "Combined Statements of Changes in Net Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "lang": null,
      "name": "tect:NetChangeInTheCostOfTheUnderlyingFunds",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "039 - Disclosure - Schedule of Investments - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "40",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
     "shortName": "Schedule of Investments - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040 - Disclosure - Note 1 - Organization and Operation - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "41",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
     "shortName": "Note 1 - Organization and Operation - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "041 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "42",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "042 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "43",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "043 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "44",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "044 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "45",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "045 - Disclosure - Note 6 - Financial Highlights - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "46",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
     "shortName": "Note 6 - Financial Highlights - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "046 - Disclosure - Note 7 - Organizational and Offering Costs - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "47",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
     "shortName": "Note 7 - Organizational and Offering Costs - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "047 - Disclosure - Note 8 - Subsequent Events - Teucrium Corn Fund",
     "menuCat": "Notes",
     "order": "48",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
     "shortName": "Note 8 - Subsequent Events - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "048 - Disclosure - Schedule of Investments - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "49",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
     "shortName": "Schedule of Investments - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "004 - Statement - Combined Statements of Cash Flows",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
     "shortName": "Combined Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "lang": null,
      "name": "tect:ProceedsFromPaymentsForChangeInCostOfUnderlyingFund",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "049 - Disclosure - Note 1 - Organization and Operation - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "50",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
     "shortName": "Note 1 - Organization and Operation - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "050 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "51",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "051 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "52",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "052 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "53",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "053 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "54",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "054 - Disclosure - Note 6 - Financial Highlights - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "55",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
     "shortName": "Note 6 - Financial Highlights - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "055 - Disclosure - Note 7 - Organizational and Offering Costs - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "56",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
     "shortName": "Note 7 - Organizational and Offering Costs - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSoybeanFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "056 - Disclosure - Note 8 - Subsequent Events - Teucrium Soybean Fund",
     "menuCat": "Notes",
     "order": "57",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
     "shortName": "Note 8 - Subsequent Events - Teucrium Soybean Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "057 - Disclosure - Schedule of Investments - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "58",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
     "shortName": "Schedule of Investments - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "058 - Disclosure - Note 1 - Organization and Operation - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "59",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
     "shortName": "Note 1 - Organization and Operation - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "005 - Statement - Statements of Assets and Liabilities - Teucrium Corn Fund",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
     "shortName": "Statements of Assets and Liabilities - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "i_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestReceivable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "059 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "60",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "61",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "62",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "062 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "63",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "063 - Disclosure - Note 6 - Financial Highlights - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "64",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
     "shortName": "Note 6 - Financial Highlights - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "064 - Disclosure - Note 7 - Organizational and Offering Costs - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "65",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
     "shortName": "Note 7 - Organizational and Offering Costs - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "065 - Disclosure - Note 8 - Subsequent Events - Teucrium Sugar Fund",
     "menuCat": "Notes",
     "order": "66",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
     "shortName": "Note 8 - Subsequent Events - Teucrium Sugar Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumSugarFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "066 - Disclosure - Schedule of Investments - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "67",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund",
     "shortName": "Schedule of Investments - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "067 - Disclosure - Note 1 - Organization and Operation - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "68",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
     "shortName": "Note 1 - Organization and Operation - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "068 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "69",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnSaleOfCommodityContracts",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "006 - Statement - Statements of Operations - Teucrium Corn Fund",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
     "shortName": "Statements of Operations - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:InterestIncomeExpenseNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "069 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "70",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "070 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "71",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "071 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "72",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "072 - Disclosure - Note 6 - Financial Highlights - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "73",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
     "shortName": "Note 6 - Financial Highlights - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "073 - Disclosure - Note 7 - Organizational and Offering Costs - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "74",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
     "shortName": "Note 7 - Organizational and Offering Costs - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumWheatFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "074 - Disclosure - Note 8 - Subsequent Events - Teucrium Wheat Fund",
     "menuCat": "Notes",
     "order": "75",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
     "shortName": "Note 8 - Subsequent Events - Teucrium Wheat Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "075 - Disclosure - Schedule of Investments - Teucrium Agricultural Fund",
     "menuCat": "Notes",
     "order": "76",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
     "shortName": "Schedule of Investments - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "076 - Disclosure - Note 1 - Organization and Operation - Teucrium Agricultural Fund",
     "menuCat": "Notes",
     "order": "77",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
     "shortName": "Note 1 - Organization and Operation - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "077 - Disclosure - Note 2 - Principal Contracts and Agreements - Teucrium Agricultural Fund",
     "menuCat": "Notes",
     "order": "78",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
     "shortName": "Note 2 - Principal Contracts and Agreements - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "078 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Teucrium Agricultural Fund",
     "menuCat": "Notes",
     "order": "79",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "007 - Statement - Statements of Changes in Net Assets - Teucrium Corn Fund",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
     "shortName": "Statements of Changes in Net Assets - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockRepurchasedDuringPeriodValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "079 - Disclosure - Note 4 - Fair Value Measurements - Teucrium Agricultural Fund",
     "menuCat": "Notes",
     "order": "80",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
     "shortName": "Note 4 - Fair Value Measurements - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "080 - Disclosure - Note 5 - Financial Highlights - Teucrium Agricultural Fund",
     "menuCat": "Notes",
     "order": "81",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
     "shortName": "Note 5 - Financial Highlights - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081 - Disclosure - Note 6 - Organizational and Offering Costs - Teucrium Agricultural Fund",
     "menuCat": "Notes",
     "order": "82",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
     "shortName": "Note 6 - Organizational and Offering Costs - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "082 - Disclosure - Note 7 - Subsequent Events - Teucrium Agricultural Fund",
     "menuCat": "Notes",
     "order": "83",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
     "shortName": "Note 7 - Subsequent Events - Teucrium Agricultural Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumAgriculturalFundMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "083 - Disclosure - Schedule of Investments - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "84",
     "role": "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
     "shortName": "Schedule of Investments - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "084 - Disclosure - Note 1 - Organization and Operation - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "85",
     "role": "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
     "shortName": "Note 1 - Organization and Operation - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "085 - Disclosure - Note 2 - Principal Contracts and Agreements - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "86",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
     "shortName": "Note 2 - Principal Contracts and Agreements - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "086 - Disclosure - Note 3 - Summary of Significant Accounting Policies - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "87",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
     "shortName": "Note 3 - Summary of Significant Accounting Policies - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "087 - Disclosure - Note 4 - Fair Value Measurements - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "88",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
     "shortName": "Note 4 - Fair Value Measurements - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "088 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "89",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "008 - Statement - Statements of Cash Flows - Teucrium Corn Fund",
     "menuCat": "Statements",
     "order": "9",
     "role": "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
     "shortName": "Statements of Cash Flows - Teucrium Corn Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-TeucriumCornFundMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseInBrokerageReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "089 - Disclosure - Note 6 - Financial Highlights - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "90",
     "role": "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
     "shortName": "Note 6 - Financial Highlights - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090 - Disclosure - Note 7 - Organizational and Offering Costs - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "91",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
     "shortName": "Note 7 - Organizational and Offering Costs - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31_ConsolidatedEntitiesAxis-HashdexBitcoinFuturesETFMember",
      "decimals": null,
      "lang": "en-US",
      "name": "tect:OrganizationalAndOfferingCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091 - Disclosure - Note 8 - Subsequent Events - Hashdex Bitcoin Futures ETF",
     "menuCat": "Notes",
     "order": "92",
     "role": "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
     "shortName": "Note 8 - Subsequent Events - Hashdex Bitcoin Futures ETF",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "092 - Disclosure - Significant Accounting Policies (Policies)",
     "menuCat": "Policies",
     "order": "93",
     "role": "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies",
     "shortName": "Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "093 - Disclosure - Combined Schedule of Investments (Tables)",
     "menuCat": "Tables",
     "order": "94",
     "role": "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-tables",
     "shortName": "Combined Schedule of Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": null
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfRelatedPartyExpensesTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "094 - Disclosure - Note 2 - Principal Contracts and Agreements (Tables)",
     "menuCat": "Tables",
     "order": "95",
     "role": "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-tables",
     "shortName": "Note 2 - Principal Contracts and Agreements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": null
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommissionsPolicy",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "tect:ScheduleOfBrokerageCommissionsPaidTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "095 - Disclosure - Note 3 - Summary of Significant Accounting Policies (Tables)",
     "menuCat": "Tables",
     "order": "96",
     "role": "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
     "shortName": "Note 3 - Summary of Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": null
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "096 - Disclosure - Note 4 - Fair Value Measurements (Tables)",
     "menuCat": "Tables",
     "order": "97",
     "role": "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-tables",
     "shortName": "Note 4 - Fair Value Measurements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": null
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "097 - Disclosure - Note 5 - Derivative Instruments and Hedging Activities (Tables)",
     "menuCat": "Tables",
     "order": "98",
     "role": "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-tables",
     "shortName": "Note 5 - Derivative Instruments and Hedging Activities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": null
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:DistributionOfAssetsLiabilitiesAndStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "098 - Disclosure - Note 7 - Detail of the Net Assets and Shares Outstanding of the Funds that are a Series of the Trust (Tables)",
     "menuCat": "Tables",
     "order": "99",
     "role": "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables",
     "shortName": "Note 7 - Detail of the Net Assets and Shares Outstanding of the Funds that are a Series of the Trust (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "tect20221231_10k.htm",
      "contextRef": "d_2022-01-01_2022-12-31",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:DistributionOfAssetsLiabilitiesAndStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 124,
   "tag": {
    "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r311",
      "r312",
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r311",
      "r312",
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r311",
      "r312",
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r311",
      "r312",
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "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": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r314"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r309"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-tables",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r309"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r309"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r315"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r309"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r309"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r309"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r309"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r316"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r311",
      "r312",
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-tables",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r308"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r310"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r116",
      "r214",
      "r215",
      "r216",
      "r217",
      "r237",
      "r285",
      "r289",
      "r331",
      "r334",
      "r335",
      "r359",
      "r360",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by consolidated entity or group of entities.",
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r116",
      "r214",
      "r215",
      "r216",
      "r217",
      "r237",
      "r285",
      "r289",
      "r331",
      "r334",
      "r335",
      "r359",
      "r360",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity or group of entities consolidated into reporting entity.",
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_DistributionOfAssetsLiabilitiesAndStockholdersEquityTableTextBlock": {
     "auth_ref": [
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of distribution of assets, liabilities and stockholders' equity.",
        "label": "Distribution of Assets, Liabilities and Stockholders' Equity [Table Text Block]"
       }
      }
     },
     "localname": "DistributionOfAssetsLiabilitiesAndStockholdersEquityTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of investment including named security. Excludes entity that is consolidated.",
        "label": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r161",
      "r162",
      "r163",
      "r164",
      "r200",
      "r245",
      "r261",
      "r286",
      "r287",
      "r301",
      "r305",
      "r307",
      "r336",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r161",
      "r162",
      "r163",
      "r164",
      "r200",
      "r245",
      "r261",
      "r286",
      "r287",
      "r301",
      "r305",
      "r307",
      "r336",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_PayablesToCustomers": {
     "auth_ref": [
      "r362"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount payable to customer by broker-dealer.",
        "label": "Payable for Shares redeemed"
       }
      }
     },
     "localname": "PayablesToCustomers",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r161",
      "r162",
      "r163",
      "r164",
      "r192",
      "r200",
      "r201",
      "r202",
      "r203",
      "r244",
      "r245",
      "r261",
      "r286",
      "r287",
      "r301",
      "r305",
      "r307",
      "r330",
      "r336",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r161",
      "r162",
      "r163",
      "r164",
      "r192",
      "r200",
      "r201",
      "r202",
      "r203",
      "r244",
      "r245",
      "r261",
      "r286",
      "r287",
      "r301",
      "r305",
      "r307",
      "r330",
      "r336",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r159"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of investment including named security. Excludes entity that is consolidated.",
        "label": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "stringItemType"
    },
    "tect_AlbemarleCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Albemarle Corporation.",
        "label": "Albemarle Corporation [Member]"
       }
      }
     },
     "localname": "AlbemarleCorporationMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_AmericanElectricPowerCompanyIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents American Electric Power Company, Inc.",
        "label": "American Electric Power Company, Inc. [Member]"
       }
      }
     },
     "localname": "AmericanElectricPowerCompanyIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_AmountOfExpensesWaived": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses waived.",
        "label": "Amount Waived"
       }
      }
     },
     "localname": "AmountOfExpensesWaived",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_AuthorizedPurchaserMinimumLevelOfCreationBasketsShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum level of shares per Creation Basket for Authorized Purchaser.",
        "label": "tect_AuthorizedPurchaserMinimumLevelOfCreationBasketsShares",
        "terseLabel": "Authorized Purchaser, Minimum Level of Creation Baskets, Shares (in shares)"
       }
      }
     },
     "localname": "AuthorizedPurchaserMinimumLevelOfCreationBasketsShares",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "tect_AuthorizedPurchaserRedemptionBasketsMinimumBlocksOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum blocks of shares per Redemption Basket for Authorized Purchaser.",
        "label": "tect_AuthorizedPurchaserRedemptionBasketsMinimumBlocksOfShares",
        "terseLabel": "Authorized Purchaser, Redemption Baskets, Minimum Blocks of Shares (in shares)"
       }
      }
     },
     "localname": "AuthorizedPurchaserRedemptionBasketsMinimumBlocksOfShares",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "tect_BTCContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents BTC Contracts.",
        "label": "BTC Contracts [Member]"
       }
      }
     },
     "localname": "BTCContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_BitcoinFuturesContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents bitcoin futures contracts.",
        "label": "Bitcoin Futures Contracts [Member]"
       }
      }
     },
     "localname": "BitcoinFuturesContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_BrokerageCommissionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents brokerage commissions.",
        "label": "Brokerage Commissions [Member]"
       }
      }
     },
     "localname": "BrokerageCommissionsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_BrokerageCommissionsPaidIncludingUnrealizedGainLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of brokerage commissions paid including unrealized gain (loss).",
        "label": "tect_BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
        "terseLabel": "Brokerage Commissions"
       }
      }
     },
     "localname": "BrokerageCommissionsPaidIncludingUnrealizedGainLoss",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_BrookfieldInfrastructureHoldingsCanadaIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Brookfield Infrastructure Holdings (Canada) Inc.",
        "label": "Brookfield Infrastructure Holdings (Canada) Inc. [Member]"
       }
      }
     },
     "localname": "BrookfieldInfrastructureHoldingsCanadaIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_BusinessPermitsAndLicensesFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for business permits and license fees.",
        "label": "Business permits and licenses fees"
       }
      }
     },
     "localname": "BusinessPermitsAndLicensesFees",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_CBOTCornFuturesDec22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT corn futures DEC22.",
        "label": "CBOT Corn Futures DEC22 [Member]"
       }
      }
     },
     "localname": "CBOTCornFuturesDec22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTCornFuturesDec23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT corn futures DEC23.",
        "label": "CBOT Corn Futures DEC23 [Member]"
       }
      }
     },
     "localname": "CBOTCornFuturesDec23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTCornFuturesJul22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT corn futures JUL22.",
        "label": "CBOT Corn Futures JUL22 [Member]"
       }
      }
     },
     "localname": "CBOTCornFuturesJul22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTCornFuturesJul23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT corn futures JUL23.",
        "label": "CBOT Corn Futures JUL23 [Member]"
       }
      }
     },
     "localname": "CBOTCornFuturesJul23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTCornFuturesMay22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT corn futures MAY22.",
        "label": "CBOT Corn Futures MAY22 [Member]"
       }
      }
     },
     "localname": "CBOTCornFuturesMay22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTSoybeanFuturesMar22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT soybean futures MAR22.",
        "label": "CBOT Soybean Futures MAR22 [Member]"
       }
      }
     },
     "localname": "CBOTSoybeanFuturesMar22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTSoybeanFuturesMar23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT soybean futures MAR23.",
        "label": "CBOT Soybean Futures MAR23 [Member]"
       }
      }
     },
     "localname": "CBOTSoybeanFuturesMar23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTSoybeanFuturesMay22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT soybean futures MAY22.",
        "label": "CBOT Soybean Futures MAY22 [Member]"
       }
      }
     },
     "localname": "CBOTSoybeanFuturesMay22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTSoybeanFuturesMay23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT soybean futures MAY23.",
        "label": "CBOT Soybean Futures MAY23 [Member]"
       }
      }
     },
     "localname": "CBOTSoybeanFuturesMay23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTSoybeanFuturesNov22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT soybean futures NOV22.",
        "label": "CBOT Soybean Futures NOV22 [Member]"
       }
      }
     },
     "localname": "CBOTSoybeanFuturesNov22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTSoybeanFuturesNov23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT soybean futures NOV23.",
        "label": "CBOT Soybean Futures NOV23 [Member]"
       }
      }
     },
     "localname": "CBOTSoybeanFuturesNov23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTWheatFuturesDec22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT wheat futures DEC22.",
        "label": "CBOT Wheat Futures DEC22 [Member]"
       }
      }
     },
     "localname": "CBOTWheatFuturesDec22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTWheatFuturesDec23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT wheat futures DEC23.",
        "label": "CBOT Wheat Futures DEC23 [Member]"
       }
      }
     },
     "localname": "CBOTWheatFuturesDec23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTWheatFuturesJul22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT wheat futures JUL22.",
        "label": "CBOT Wheat Futures JUL22 [Member]"
       }
      }
     },
     "localname": "CBOTWheatFuturesJul22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTWheatFuturesJul23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT wheat futures JUL23.",
        "label": "CBOT Wheat Futures JUL23 [Member]"
       }
      }
     },
     "localname": "CBOTWheatFuturesJul23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTWheatFuturesMay22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT wheat futures MAY22.",
        "label": "CBOT Wheat Futures MAY22 [Member]"
       }
      }
     },
     "localname": "CBOTWheatFuturesMay22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CBOTWheatFuturesMay23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT wheat futures MAY23.",
        "label": "CBOT Wheat Futures MAY23 [Member]"
       }
      }
     },
     "localname": "CBOTWheatFuturesMay23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CMEBitcoinFuturesFeb23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CME Bitcoin futures FEB23.",
        "label": "CME Bitcoin Futures FEB23 [Member]"
       }
      }
     },
     "localname": "CMEBitcoinFuturesFeb23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CMEBitcoinFuturesJan23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CME Bitcoin futures JAN23.",
        "label": "CME Bitcoin Futures JAN23 [Member]"
       }
      }
     },
     "localname": "CMEBitcoinFuturesJan23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CNHIndustrialCapitalLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CNH Industrial Capital LLC.",
        "label": "CNH Industrial Capital LLC [Member]"
       }
      }
     },
     "localname": "CNHIndustrialCapitalLLCMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CbotCornFuturesMay23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents CBOT corn futures MAY23.",
        "label": "CBOT Corn Futures MAY23 [Member]"
       }
      }
     },
     "localname": "CbotCornFuturesMay23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ChangeUnrealizedExcessReportedCBOTValues": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of change in unrealized excess of reported CBOT values.",
        "label": "tect_ChangeUnrealizedExcessReportedCBOTValues",
        "terseLabel": "Change Unrealized Excess Reported CBOT Values"
       }
      }
     },
     "localname": "ChangeUnrealizedExcessReportedCBOTValues",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_CommodityAndCryptocurrencyFuturesContractsLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 0.0,
       "parentTag": "tect_EquityInTradingAccountLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability in commodity and cryptocurrency future contracts.",
        "label": "tect_CommodityAndCryptocurrencyFuturesContractsLiabilities",
        "terseLabel": "Commodity and cryptocurrency futures contracts"
       }
      }
     },
     "localname": "CommodityAndCryptocurrencyFuturesContractsLiabilities",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_CommodityAndCryptocurrencyFuturesContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents commodity and cryptocurrency futures contracts.",
        "label": "Commodity and Cryptocurrency Futures Contracts [Member]"
       }
      }
     },
     "localname": "CommodityAndCryptocurrencyFuturesContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CommodityFuturesContractsLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "tect_EquityInTradingAccountLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability in commodity future contracts.",
        "label": "Commodity futures contracts",
        "terseLabel": "Commodity futures contracts"
       }
      }
     },
     "localname": "CommodityFuturesContractsLiabilities",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_CommodityFuturesContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents commodity futures contracts.",
        "label": "Commodity Futures Contracts [Member]"
       }
      }
     },
     "localname": "CommodityFuturesContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ConagraBrandsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Conagra Brands, Inc.",
        "label": "Conagra Brands, Inc. [Member]"
       }
      }
     },
     "localname": "ConagraBrandsIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CornFuturesContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents corn futures contracts.",
        "label": "Corn Futures Contracts [Member]"
       }
      }
     },
     "localname": "CornFuturesContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CrownCastleIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Crown Castle Inc.",
        "label": "Crown Castle Inc. [Member]"
       }
      }
     },
     "localname": "CrownCastleIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CryptocurrencyFuturesContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents cryptocurrency futures contracts",
        "label": "Cryptocurrency Futures Contracts [Member]"
       }
      }
     },
     "localname": "CryptocurrencyFuturesContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CustodyServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents custody servcies.",
        "label": "Custody Services [Member]"
       }
      }
     },
     "localname": "CustodyServicesMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_CustodyTransferAgencyFundAccountingAndFundAdministrationServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents custody, Transfer Agency, Fund Accounting and Fund Administration services.",
        "label": "Custody, Transfer Agency, Fund Accounting and Fund Administration Services [Member]"
       }
      }
     },
     "localname": "CustodyTransferAgencyFundAccountingAndFundAdministrationServicesMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_DecemberFollowingTheThirdToExpireMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the December following the third to expire.",
        "label": "December Following the Third to Expire [Member]"
       }
      }
     },
     "localname": "DecemberFollowingTheThirdToExpireMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_DistributionAndSolicitationrelatedServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents distribution and solicitation-related services.",
        "label": "Distribution and Solicitation-related Services [Member]"
       }
      }
     },
     "localname": "DistributionAndSolicitationrelatedServicesMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_DistributionServicesAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the Distribution Services Agreement.",
        "label": "Distribution Services Agreement [Member]"
       }
      }
     },
     "localname": "DistributionServicesAgreementMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_DistributionServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents distribution services.",
        "label": "Distribution Services [Member]"
       }
      }
     },
     "localname": "DistributionServicesMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_EntergyCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Entergy Corporation.",
        "label": "Entergy Corporation [Member]"
       }
      }
     },
     "localname": "EntergyCorporationMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_EquityInTradingAccountAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of total assets of equity in trading accounts.",
        "label": "tect_EquityInTradingAccountAssets",
        "totalLabel": "Total equity in trading accounts"
       }
      }
     },
     "localname": "EquityInTradingAccountAssets",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_EquityInTradingAccountLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities in equity in trading account.",
        "label": "tect_EquityInTradingAccountLiabilities",
        "totalLabel": "Total equity in trading accounts"
       }
      }
     },
     "localname": "EquityInTradingAccountLiabilities",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_EquityInTradingAccountsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity in trading accounts:"
       }
      }
     },
     "localname": "EquityInTradingAccountsAbstract",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "tect_EquityInTradingAccountsLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity in trading accounts, liabilities:"
       }
      }
     },
     "localname": "EquityInTradingAccountsLiabilitiesAbstract",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "tect_ExpensesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for expenses.",
        "label": "Expenses [Policy Text Block]"
       }
      }
     },
     "localname": "ExpensesPolicyTextBlock",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "tect_ExpensesWaivedBySponsor": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses waived by sponsor.",
        "label": "Expenses waived by the Sponsor"
       }
      }
     },
     "localname": "ExpensesWaivedBySponsor",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_ExpiringInTheMarchFollowingTheExpirationOfTheThirdToExpireContractMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents expiring in the March following the expiration of the third to expire contract.",
        "label": "Expiring in the March Following the Expiration of the Third to Expire Contract [Member]"
       }
      }
     },
     "localname": "ExpiringInTheMarchFollowingTheExpirationOfTheThirdToExpireContractMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ExpiringInTheNovemberFollowingTheExpirationOfTheThirdToExpireContractMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents expiring in the November following the expiration of the third to expire contract.",
        "label": "Expiring in the November Following the Expiration of the Third to Expire Contract [Member]"
       }
      }
     },
     "localname": "ExpiringInTheNovemberFollowingTheExpirationOfTheThirdToExpireContractMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_FirstAmericanGovernmentObligationsFundClassXMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents First American Government Obligations Fund - Class X.",
        "label": "First American Government Obligations Fund - Class X [Member]"
       }
      }
     },
     "localname": "FirstAmericanGovernmentObligationsFundClassXMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_FirstToExpireMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents first to expire.",
        "label": "First to Expire [Member]"
       }
      }
     },
     "localname": "FirstToExpireMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ForesideFundServicesLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Foreside Fund Services, LLC.",
        "label": "Foreside Fund Services, LLC [Member]"
       }
      }
     },
     "localname": "ForesideFundServicesLLCMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_FundsIncludingUnderlyingFundsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the funds including the Underlying Fund.",
        "label": "Funds Including Underlying Funds [Member]"
       }
      }
     },
     "localname": "FundsIncludingUnderlyingFundsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_FundsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the Funds.",
        "label": "Funds [Member]"
       }
      }
     },
     "localname": "FundsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_GeneralMotorsFinancialCompanyIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents General Motors Financial Company, Inc.",
        "label": "General Motors Financial Company, Inc. [Member]"
       }
      }
     },
     "localname": "GeneralMotorsFinancialCompanyIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_GlencoreFundingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Glencore Funding LLC.",
        "label": "Glencore Funding LLC [Member]"
       }
      }
     },
     "localname": "GlencoreFundingLLCMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_GlobalFundServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Global Fund Services.",
        "label": "Global Fund Services [Member]"
       }
      }
     },
     "localname": "GlobalFundServicesMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_GoldmanSachsFinancialSquareGovernmentFundInstitutionalClassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Goldman Sachs Financial Square Government Fund - Institutional Class.",
        "label": "Goldman Sachs Financial Square Government Fund - Institutional Class [Member]"
       }
      }
     },
     "localname": "GoldmanSachsFinancialSquareGovernmentFundInstitutionalClassMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_HarleyDavidsonFinancialServicesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Harley-Davidson Financial Services, Inc.",
        "label": "Harley-Davidson Financial Services, Inc. [Member]"
       }
      }
     },
     "localname": "HarleyDavidsonFinancialServicesIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_HashdexBitcoinFuturesETFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Hashdex Bitcoin Futures ETF.",
        "label": "Hashdex Bitcoin Futures ETF [Member]"
       }
      }
     },
     "localname": "HashdexBitcoinFuturesETFMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_HumanaIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Humana Inc.",
        "label": "Humana Inc. [Member]"
       }
      }
     },
     "localname": "HumanaIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_HyundaiCapitalAmericaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Hyundai Capital America.",
        "label": "Hyundai Capital America [Member]"
       }
      }
     },
     "localname": "HyundaiCapitalAmericaMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ICESugarFuturesJul22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents ICE sugar futures JUL22.",
        "label": "ICE Sugar Futures JUL22 [Member]"
       }
      }
     },
     "localname": "ICESugarFuturesJul22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ICESugarFuturesJul23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents ICE sugar futures JUL23.",
        "label": "ICE Sugar Futures JUL23 [Member]"
       }
      }
     },
     "localname": "ICESugarFuturesJul23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ICESugarFuturesMar23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents ICE sugar futures MAR23.",
        "label": "ICE Sugar Futures MAR23 [Member]"
       }
      }
     },
     "localname": "ICESugarFuturesMar23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ICESugarFuturesMar24Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents ICE sugar futures MAR24.",
        "label": "ICE Sugar Futures MAR24 [Member]"
       }
      }
     },
     "localname": "ICESugarFuturesMar24Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ICESugarFuturesMay22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents ICE sugar futures MAY22.",
        "label": "ICE Sugar Futures MAY22 [Member]"
       }
      }
     },
     "localname": "ICESugarFuturesMay22Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ICESugarFuturesMay23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents ICE sugar futures MAY23.",
        "label": "ICE Sugar Futures MAY23 [Member]"
       }
      }
     },
     "localname": "ICESugarFuturesMay23Member",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ITTIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents ITT Inc.",
        "label": "ITT Inc. [Member]"
       }
      }
     },
     "localname": "ITTIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_IncreaseDecreaseInManagementFeePayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in management fee payable.",
        "label": "tect_IncreaseDecreaseInManagementFeePayable",
        "terseLabel": "Management fee payable to Sponsor"
       }
      }
     },
     "localname": "IncreaseDecreaseInManagementFeePayable",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_IncreaseDecreaseInPayableForCommercialPaper": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in payable for commercial paper.",
        "label": "tect_IncreaseDecreaseInPayableForCommercialPaper",
        "terseLabel": "Payable for purchases of commercial paper"
       }
      }
     },
     "localname": "IncreaseDecreaseInPayableForCommercialPaper",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecreasePercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of increase (decrease) in net asset value as a percentage.",
        "label": "tect_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecreasePercent",
        "terseLabel": "Investment Company, Net Asset Value Per Share, Period Increase (Decrease), Percent"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecreasePercent",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecreasePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of per share or unit amount of increase (decrease) in net asset value.",
        "label": "tect_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecreasePercentage",
        "terseLabel": "Investment Company, Net Asset Value Per Share, Period Increase (Decrease), Percentage"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecreasePercentage",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in net assets of investment company from capital transactions.",
        "label": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
        "totalLabel": "Total capital transactions"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_InvestmentCompanyNetAssetsPeriodIncreaseDecreasePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase (decrease) in net assets of investment company.",
        "label": "tect_InvestmentCompanyNetAssetsPeriodIncreaseDecreasePercentage",
        "terseLabel": "Investment Company, Net Assets, Period Increase (Decrease), Percentage"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsPeriodIncreaseDecreasePercentage",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_InvestmentCompanyNetAssetsPeriodIncreaseDecreasePercentageSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of increase (decrease) in net asset value from increase (decrease) in shares outstanding.",
        "label": "tect_InvestmentCompanyNetAssetsPeriodIncreaseDecreasePercentageSharesOutstanding",
        "terseLabel": "Investment Company, Net Assets, Period Increase (Decrease), Percentage, Shares Outstanding"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsPeriodIncreaseDecreasePercentageSharesOutstanding",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_InvestmentCompanyTotalExpensesPerShare": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of total expenses.",
        "label": "Total expenses, net (in dollars per share)"
       }
      }
     },
     "localname": "InvestmentCompanyTotalExpensesPerShare",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "tect_InvestmentFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents investment four.",
        "label": "Investment Four [Member]"
       }
      }
     },
     "localname": "InvestmentFourMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_InvestmentInTheUnderlyingFunds": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investments in the Underlying Fund.",
        "label": "tect_InvestmentInTheUnderlyingFunds",
        "negatedLabel": "Less: Investment in the Underlying Funds"
       }
      }
     },
     "localname": "InvestmentInTheUnderlyingFunds",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_InvestmentOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents investment one.",
        "label": "Investment One [Member]"
       }
      }
     },
     "localname": "InvestmentOneMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_InvestmentThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents investment three.",
        "label": "Investment Three [Member]"
       }
      }
     },
     "localname": "InvestmentThreeMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_InvestmentTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents investment two.",
        "label": "Investment Two [Member]"
       }
      }
     },
     "localname": "InvestmentTwoMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_JabilIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Jabil Inc.",
        "label": "Jabil Inc. [Member]"
       }
      }
     },
     "localname": "JabilIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_MBTContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents MBT Contracts.",
        "label": "MBT Contracts [Member]"
       }
      }
     },
     "localname": "MBTContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ManagementFeePercentageOfAverageDailyNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of average daily net assets for management fee.",
        "label": "tect_ManagementFeePercentageOfAverageDailyNetAssets",
        "terseLabel": "Management Fee, Percentage of Average Daily Net Assets"
       }
      }
     },
     "localname": "ManagementFeePercentageOfAverageDailyNetAssets",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_MarexCapitalMarketsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Marex Capital Markets, Inc.",
        "label": "Marex Capital Markets, Inc [Member]"
       }
      }
     },
     "localname": "MarexCapitalMarketsIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_MarketValuePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or per unit amount of market value.",
        "label": "Market value per share (in dollars per share)"
       }
      }
     },
     "localname": "MarketValuePerShare",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "perShareItemType"
    },
    "tect_MinimumLevelOfSharesPerRedemptionBasket": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum level of shares per redemption basket.",
        "label": "tect_MinimumLevelOfSharesPerRedemptionBasket",
        "terseLabel": "Minimum Level of Shares Per Redemption Basket (in shares)"
       }
      }
     },
     "localname": "MinimumLevelOfSharesPerRedemptionBasket",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "tect_MinimumNumberOfRedemptionBaskets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum number of redemption baskets.",
        "label": "tect_MinimumNumberOfRedemptionBaskets",
        "terseLabel": "Minimum Number of RedemptionBaskets"
       }
      }
     },
     "localname": "MinimumNumberOfRedemptionBaskets",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "tect_NetAssetsIncreasePercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase of net assets as a percentage.",
        "label": "tect_NetAssetsIncreasePercent",
        "terseLabel": "Net Assets, Increase, Percent"
       }
      }
     },
     "localname": "NetAssetsIncreasePercent",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_NetChangeInTheCostOfTheUnderlyingFunds": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets": {
       "order": 1.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net change in the cost of the Underlying Funds.",
        "label": "Net change in the cost of the Underlying Funds"
       }
      }
     },
     "localname": "NetChangeInTheCostOfTheUnderlyingFunds",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_NetIncomeLossPerWeightedAverageShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income or loss for the period per each weighted average share.",
        "label": "Net gain per weighted average share (in dollars per share)"
       }
      }
     },
     "localname": "NetIncomeLossPerWeightedAverageShare",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "perShareItemType"
    },
    "tect_NoninterestExpenseNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense, net of waived fees.",
        "label": "tect_NoninterestExpenseNet",
        "totalLabel": "Total expenses, net"
       }
      }
     },
     "localname": "NoninterestExpenseNet",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_NoteToFinancialStatementDetailsTextual": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note To Financial Statement Details Textual"
       }
      }
     },
     "localname": "NoteToFinancialStatementDetailsTextual",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_NotesToFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes To Financial Statements [Abstract]"
       }
      }
     },
     "localname": "NotesToFinancialStatementsAbstract",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_NumberOfAgriculturalCommodityPools": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of agricultural commodity pools.",
        "label": "tect_NumberOfAgriculturalCommodityPools",
        "terseLabel": "Number of Agricultural Commodity Pools"
       }
      }
     },
     "localname": "NumberOfAgriculturalCommodityPools",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "tect_NumberOfBitcoinInContract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of Bitcoin in each contract.",
        "label": "tect_NumberOfBitcoinInContract",
        "terseLabel": "Number of Bitcoin in Contract"
       }
      }
     },
     "localname": "NumberOfBitcoinInContract",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "decimalItemType"
    },
    "tect_NumberOfCreationBasketsIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of creation baskets issued.",
        "label": "tect_NumberOfCreationBasketsIssued",
        "terseLabel": "Number of Creation Baskets Issued"
       }
      }
     },
     "localname": "NumberOfCreationBasketsIssued",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "tect_NumberOfFuturesContractsOffered": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of futures contracts offered.",
        "label": "tect_NumberOfFuturesContractsOffered",
        "terseLabel": "Number of Futures Contracts Offered"
       }
      }
     },
     "localname": "NumberOfFuturesContractsOffered",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "tect_NumberOfSeries": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of series.",
        "label": "tect_NumberOfSeries",
        "terseLabel": "Number of Series"
       }
      }
     },
     "localname": "NumberOfSeries",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "tect_NumberOfUnderlyingFunds": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of Underlying Funds.",
        "label": "tect_NumberOfUnderlyingFunds",
        "terseLabel": "Number of Underlying Funds"
       }
      }
     },
     "localname": "NumberOfUnderlyingFunds",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "tect_OracleCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Oracle Corporation.",
        "label": "Oracle Corporation [Member]"
       }
      }
     },
     "localname": "OracleCorporationMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_OrganizationalAndOfferingCostsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organizational and offering costs.",
        "label": "Organizational and Offering Costs [Text Block]"
       }
      }
     },
     "localname": "OrganizationalAndOfferingCostsTextBlock",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "tect_PayableForPurchasesOfCommercialPaperPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure for accounting policy for payable for purchases of commercial paper.",
        "label": "Payable for Purchases of Commercial Paper [Policy Text Block]"
       }
      }
     },
     "localname": "PayableForPurchasesOfCommercialPaperPolicyTextBlock",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "tect_PhillipCapitalIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Phillip Capital Inc.",
        "label": "Phillip Capital Inc [Member]"
       }
      }
     },
     "localname": "PhillipCapitalIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ProceedsFromPaymentsForChangeInCostOfUnderlyingFund": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) for change in cost of the Underlying Fund.",
        "label": "Net change in cost of the Underlying Funds"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForChangeInCostOfUnderlyingFund",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_ProceedsFromSalePaymentsForPurchaseOfSecuritiesOperatingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received on sale of (cash paid to purchase) debt and equity securities, classified as operating activities, during the period; includes trading securities and any other investments classified as operating.",
        "label": "Net (purchase)/sale of investments in securities"
       }
      }
     },
     "localname": "ProceedsFromSalePaymentsForPurchaseOfSecuritiesOperatingActivities",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_RelatedPartyTransactionAggregateAnnualFeeForAllFunds": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of aggregate annual fee for all funds of the related party transaction.",
        "label": "tect_RelatedPartyTransactionAggregateAnnualFeeForAllFunds",
        "terseLabel": "Related Party Transaction, Aggregate Annual Fee for all Funds"
       }
      }
     },
     "localname": "RelatedPartyTransactionAggregateAnnualFeeForAllFunds",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_RelatedPartyTransactionAnnualFee": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of annual fee to related party.",
        "label": "tect_RelatedPartyTransactionAnnualFee",
        "terseLabel": "Related Party Transaction, Annual Fee"
       }
      }
     },
     "localname": "RelatedPartyTransactionAnnualFee",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_RelatedPartyTransactionExchangeMaintenanceMargin": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Exchange Maintenance Margin.",
        "label": "tect_RelatedPartyTransactionExchangeMaintenanceMargin",
        "terseLabel": "Related Party Transaction, Exchange Maintenance Margin"
       }
      }
     },
     "localname": "RelatedPartyTransactionExchangeMaintenanceMargin",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionFeePerHalfTurn": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fee per half turn in related party transaction.",
        "label": "tect_RelatedPartyTransactionFeePerHalfTurn",
        "terseLabel": "Related Party Transaction, Fee Per Half Turn"
       }
      }
     },
     "localname": "RelatedPartyTransactionFeePerHalfTurn",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_RelatedPartyTransactionFeePerRegisteredLocation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fee per registered location of related party transaction.",
        "label": "tect_RelatedPartyTransactionFeePerRegisteredLocation",
        "terseLabel": "Related Party Transaction, Fee Per Registered Location"
       }
      }
     },
     "localname": "RelatedPartyTransactionFeePerRegisteredLocation",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_RelatedPartyTransactionFeePerRegisteredRepresentative": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fee per registered representative of related party transaction.",
        "label": "tect_RelatedPartyTransactionFeePerRegisteredRepresentative",
        "terseLabel": "Related Party Transaction, Fee Per Registered Representative"
       }
      }
     },
     "localname": "RelatedPartyTransactionFeePerRegisteredRepresentative",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_RelatedPartyTransactionFeePerRoundTurn": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fee per round turn in related party transaction.",
        "label": "tect_RelatedPartyTransactionFeePerRoundTurn",
        "terseLabel": "Related Party Transaction, Fee Per Round Turn"
       }
      }
     },
     "localname": "RelatedPartyTransactionFeePerRoundTurn",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_RelatedPartyTransactionMinimumAnnualFeePerFund": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum annual fee per fund for related party transaction.",
        "label": "tect_RelatedPartyTransactionMinimumAnnualFeePerFund",
        "terseLabel": "Related Party Transaction, Minimum Annual Fee Per Fund"
       }
      }
     },
     "localname": "RelatedPartyTransactionMinimumAnnualFeePerFund",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_RelatedPartyTransactionMinimumPercentageOfReturnMonthlyCommissions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum percentage of return on monthly commissions in related party transaction.",
        "label": "tect_RelatedPartyTransactionMinimumPercentageOfReturnMonthlyCommissions",
        "terseLabel": "Related Party Transaction, Minimum Percentage of Return, Monthly Commissions"
       }
      }
     },
     "localname": "RelatedPartyTransactionMinimumPercentageOfReturnMonthlyCommissions",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionPercentageOfAverageDailyNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of average daily net assets for related party transaction.",
        "label": "tect_RelatedPartyTransactionPercentageOfAverageDailyNetAssets",
        "terseLabel": "Related Party Transaction, Percentage of Average Daily Net Assets"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfAverageDailyNetAssets",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsFirst500Million": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of average gross assets on the first 500 million for related party transaction.",
        "label": "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsFirst500Million",
        "terseLabel": "Related Party Transaction, Percentage of Average Gross Assets, First 500 Million"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfAverageGrossAssetsFirst500Million",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsNextTwoBillion": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of average gross assets on the next 2 billion for related party transaction.",
        "label": "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsNextTwoBillion",
        "terseLabel": "Related Party Transaction, Percentage of Average Gross Assets, Next Two Billion"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfAverageGrossAssetsNextTwoBillion",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsOverOneBillion": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of average gross assets over one billion for related party transaction.",
        "label": "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsOverOneBillion",
        "terseLabel": "Related Party Transaction, Percentage of Average Gross Assets, Over One Billion"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfAverageGrossAssetsOverOneBillion",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsOverThreeBillion": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of average gross assets on over 3 billion for related party transaction.",
        "label": "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsOverThreeBillion",
        "terseLabel": "Related Party Transaction, Percentage of Average Gross Assets, Over Three Billion"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfAverageGrossAssetsOverThreeBillion",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsSecond500Million": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of average gross assets on the second 500 million for related party transaction.",
        "label": "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsSecond500Million",
        "terseLabel": "Related Party Transaction, Percentage of Average Gross Assets, Second 500 Million"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfAverageGrossAssetsSecond500Million",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of average gross assets up to one billion for related party transaction.",
        "label": "tect_RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
        "terseLabel": "Related Party Transaction, Percentage of Average Gross Assets, Up to One Billion"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfAverageGrossAssetsUpToOneBillion",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionPercentageOfNewAssetsInReferredAccounts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of new assets raised in referred accounts paid to related party.",
        "label": "tect_RelatedPartyTransactionPercentageOfNewAssetsInReferredAccounts",
        "terseLabel": "Related Party Transaction, Percentage of New Assets in Referred Accounts"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfNewAssetsInReferredAccounts",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_RelatedPartyTransactionQuarterlyFeeAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of quarterly fee to related party.",
        "label": "tect_RelatedPartyTransactionQuarterlyFeeAmount",
        "terseLabel": "Related Party Transaction, Quarterly Fee Amount"
       }
      }
     },
     "localname": "RelatedPartyTransactionQuarterlyFeeAmount",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "tect_ScheduleOfBenchmarkPercentagesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of benchmark percentages.",
        "label": "Schedule of Benchmark Percentages [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfBenchmarkPercentagesTableTextBlock",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "tect_ScheduleOfBrokerageCommissionsPaidTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of brokerage commissions paid.",
        "label": "Schedule of Brokerage Commissions Paid [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfBrokerageCommissionsPaidTableTextBlock",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "tect_ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of expenses paid waived by the Sponsor.",
        "label": "Schedule of Expenses Paid Waived by Sponsor [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfExpensesPaidWaivedBySponsorTableTextBlock",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "tect_ScheduleOfRelatedPartyExpensesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party expenses.",
        "label": "Schedule of Related Party Expenses [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyExpensesTableTextBlock",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "tect_SecondToExpireMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the second to expire.",
        "label": "Second to Expire [Member]"
       }
      }
     },
     "localname": "SecondToExpireMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SecuritiesActivitiesAndServiceAgreementSASAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the Securities Activities and Service Agreement (SASA).",
        "label": "Securities Activities and Service Agreement (SASA) [Member]"
       }
      }
     },
     "localname": "SecuritiesActivitiesAndServiceAgreementSASAMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SharesOfHashdexBitcoinFuturesETFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents shares of Hashdex Bitcoin Futures ETF.",
        "label": "Shares of Hashdex Bitcoin Futures ETF [Member]"
       }
      }
     },
     "localname": "SharesOfHashdexBitcoinFuturesETFMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SharesOfTeucriumAgriculturalFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents shares of Teucrium Agricultural Fund.",
        "label": "Shares of Teucrium Agricultural Fund [Member]"
       }
      }
     },
     "localname": "SharesOfTeucriumAgriculturalFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SharesOfTeucriumCornFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents shares of Teucrium Corn Fund.",
        "label": "Shares of Teucrium Corn Fund [Member]"
       }
      }
     },
     "localname": "SharesOfTeucriumCornFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SharesOfTeucriumSoybeanFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents shares of Teucrium Soybean Fund.",
        "label": "Shares of Teucrium Soybean Fund [Member]"
       }
      }
     },
     "localname": "SharesOfTeucriumSoybeanFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SharesOfTeucriumSugarFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents shares of Teucrium Sugar Fund.",
        "label": "Shares of Teucrium Sugar Fund [Member]"
       }
      }
     },
     "localname": "SharesOfTeucriumSugarFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SharesOfTeucriumWheatFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents shares of Teucrium Wheat Fund.",
        "label": "Shares of Teucrium Wheat Fund [Member]"
       }
      }
     },
     "localname": "SharesOfTeucriumWheatFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SoybeanFuturesContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents soybean futures contracts.",
        "label": "Soybean Futures Contracts [Member]"
       }
      }
     },
     "localname": "SoybeanFuturesContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for sponsor fee, allocation of expenses and related party transactions.",
        "label": "Sponsor Fee, Allocation of Expenses and Related Party Transactions [Policy Text Block]"
       }
      }
     },
     "localname": "SponsorFeeAllocationOfExpensesAndRelatedPartyTransactionsPolicyTextBlock",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "tect_StoneXFinancialIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents StoneX Financial Inc.",
        "label": "StoneX Financial Inc [Member]"
       }
      }
     },
     "localname": "StoneXFinancialIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_SugarFuturesContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents sugar futures contracts.",
        "label": "Sugar Futures Contracts [Member]"
       }
      }
     },
     "localname": "SugarFuturesContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_TeucriumAgriculturalFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Teucrium Agricultural Fund.",
        "label": "Teucrium Agricultural Fund [Member]"
       }
      }
     },
     "localname": "TeucriumAgriculturalFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_TeucriumCornFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Teucrium Corn Fund.",
        "label": "Teucrium Corn Fund [Member]"
       }
      }
     },
     "localname": "TeucriumCornFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_TeucriumCornFundTeucriumSugarFundTeucriumSoybeanFundAndTeucriumWheatFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Teucrium Corn Fund), Teucrium Sugar Fund, Teucrium Soybean Fund, and Teucrium Wheat Fund.",
        "label": "Teucrium Corn Fund, Teucrium Sugar Fund, Teucrium Soybean Fund, and Teucrium Wheat Fund [Member]"
       }
      }
     },
     "localname": "TeucriumCornFundTeucriumSugarFundTeucriumSoybeanFundAndTeucriumWheatFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_TeucriumSoybeanFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Teucrium Soybean Fund.",
        "label": "Teucrium Soybean Fund [Member]"
       }
      }
     },
     "localname": "TeucriumSoybeanFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_TeucriumSugarFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Teucrium Sugar Fund.",
        "label": "Teucrium Sugar Fund [Member]"
       }
      }
     },
     "localname": "TeucriumSugarFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_TeucriumTradingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Teucrium Trading, LLC.",
        "label": "Teucrium Trading, LLC [Member]"
       }
      }
     },
     "localname": "TeucriumTradingLLCMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_TeucriumWheatFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Teucrium Wheat Fund.",
        "label": "Teucrium Wheat Fund [Member]"
       }
      }
     },
     "localname": "TeucriumWheatFundMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ThalesCapitalPartnersLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Thales Capital Partners LLC.",
        "label": "Thales Capital Partners LLC [Member]"
       }
      }
     },
     "localname": "ThalesCapitalPartnersLLCMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ThirdToExpireMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the third to expire.",
        "label": "Third to Expire [Member]"
       }
      }
     },
     "localname": "ThirdToExpireMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_TransferAgencyFundAccountingAndFundAdministrationServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Transfer Agency, Fund Accounting and Fund Administration services.",
        "label": "Transfer Agency, Fund Accounting and Fund Administration Services [Member]"
       }
      }
     },
     "localname": "TransferAgencyFundAccountingAndFundAdministrationServicesMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_USBankNAAndGlobalFundServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents U.S. Bank N.A. and Global Fund Services.",
        "label": "U.S. Bank N.A. and Global Fund Services [Member]"
       }
      }
     },
     "localname": "USBankNAAndGlobalFundServicesMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_USBankNAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents U.S. Bank N.A.",
        "label": "U.S. Bank N.A. [Member]"
       }
      }
     },
     "localname": "USBankNAMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_UnderlyingFundAverageWeightingToEachFund": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of weighting to each fund used to calculate Underlying Fund Average.",
        "label": "tect_UnderlyingFundAverageWeightingToEachFund",
        "terseLabel": "Underlying Fund Average, Weighting to Each Fund"
       }
      }
     },
     "localname": "UnderlyingFundAverageWeightingToEachFund",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_VFCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents V.F. Corporation.",
        "label": "V.F. Corporation [Member]"
       }
      }
     },
     "localname": "VFCorporationMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_VWCreditIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents VW Credit, Inc.",
        "label": "VW Credit, Inc. [Member]"
       }
      }
     },
     "localname": "VWCreditIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_ViatrisIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Viatris Inc.",
        "label": "Viatris Inc. [Member]"
       }
      }
     },
     "localname": "ViatrisIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_WGLHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents WGL Holdings, Inc.",
        "label": "WGL Holdings, Inc. [Member]"
       }
      }
     },
     "localname": "WGLHoldingsIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_WalgreensBootsAllianceIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Walgreens Boots Alliance, Inc.",
        "label": "Walgreens Boots Alliance, Inc. [Member]"
       }
      }
     },
     "localname": "WalgreensBootsAllianceIncMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_WeightedAverageClosingPricesBenchmarkWeightingPercentPerTrancheOfContracts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of benchmark of weighted average closing prices per tranche of contracts.",
        "label": "Weighting",
        "terseLabel": "Weighted Average Closing Prices, Benchmark Weighting, Percent Per Tranche of Contracts"
       }
      }
     },
     "localname": "WeightedAverageClosingPricesBenchmarkWeightingPercentPerTrancheOfContracts",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "tect_WheatFuturesContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents wheat futures contracts.",
        "label": "Wheat Futures Contracts [Member]"
       }
      }
     },
     "localname": "WheatFuturesContractsMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_WilmingtonTrustCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Wilmington Trust Company.",
        "label": "Wilmington Trust Company [Member]"
       }
      }
     },
     "localname": "WilmingtonTrustCompanyMember",
     "nsuri": "http://www.teucrium.com/20221231",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "tect_statement-statement-combined-schedule-of-investments-investments-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Combined Schedule of Investments - Investments (Details)"
       }
      }
     },
     "localname": "statement-statement-combined-schedule-of-investments-investments-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Combined Schedule of Investments - Investments - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-combined-schedule-of-investments-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Combined Schedule of Investments"
       }
      }
     },
     "localname": "statement-statement-combined-schedule-of-investments-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Benchmark - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Benchmark - Teucrium Agricultural Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Benchmark - Teucrium Corn Fund - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Benchmark - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Hashdex Bitcoin Futures ETF"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Teucrium Agricultural Fund"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-teucrium-corn-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Teucrium Corn Fund"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-teucrium-soybean-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Teucrium Soybean Fund"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-teucrium-sugar-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Teucrium Sugar Fund"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-1-organization-and-operation-teucrium-wheat-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 1 - Organization and Operation - Teucrium Wheat Fund"
       }
      }
     },
     "localname": "statement-statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Hashdex Bitcoin Futures ETF"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Summary of Expenses (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Agricultural Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Summary of Expenses - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Teucrium Agricultural Fund"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Teucrium Corn Fund"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Teucrium Soybean Fund"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Teucrium Sugar Fund"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principal Contracts and Agreements - Teucrium Wheat Fund"
       }
      }
     },
     "localname": "statement-statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Cash and Cash Equivalents - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Hashdex Bitcoin Futures ETF"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Agricultural Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Related Party Transactions - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Teucrium Agricultural Fund"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Teucrium Corn Fund"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Teucrium Soybean Fund"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Teucrium Sugar Fund"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Teucrium Wheat Fund"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Total Brokerage Commissions Paid - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Agricultural Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Summary of Significant Accounting Policies - Waived Expenses Paid by Sponsor - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Agricultural Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Assets and Liabilities Measured at Fair Value - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Hashdex Bitcoin Futures ETF"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Teucrium Agricultural Fund"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-teucrium-corn-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Teucrium Corn Fund"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Teucrium Soybean Fund"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Teucrium Sugar Fund"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Fair Value Measurements - Teucrium Wheat Fund"
       }
      }
     },
     "localname": "statement-statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Hashdex Bitcoin Futures ETF"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Offsetting of Financial Assets and Liabilities and Derivative Assets and Liabilities - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Summary of Gains (Losses) on Derivative Instruments - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Corn Fund"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Soybean Fund"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Sugar Fund"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Derivative Instruments and Hedging Activities - Teucrium Wheat Fund"
       }
      }
     },
     "localname": "statement-statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Agricultural Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-5-financial-highlights-teucrium-agricultural-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Financial Highlights - Teucrium Agricultural Fund"
       }
      }
     },
     "localname": "statement-statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Hashdex Bitcoin Futures ETF"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Hashdex Bitcoin Futures ETF (Details)"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Schedule of Per Share Performance Data and Other Supplemental Financial Data - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-teucrium-corn-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Teucrium Corn Fund"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-teucrium-corn-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-teucrium-soybean-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Teucrium Soybean Fund"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-teucrium-sugar-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Teucrium Sugar Fund"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-6-financial-highlights-teucrium-wheat-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Financial Highlights - Teucrium Wheat Fund"
       }
      }
     },
     "localname": "statement-statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Detail of the Net Assets and Shares Outstanding of the Funds that are a Series of the Trust - Net Assets and Shares Outstanding (Details)"
       }
      }
     },
     "localname": "statement-statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Detail of the Net Assets and Shares Outstanding of the Funds that are a Series of the Trust"
       }
      }
     },
     "localname": "statement-statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Hashdex Bitcoin Futures ETF"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-investments-teucrium-agricultural-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Investments - Teucrium Agricultural Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-investments-teucrium-corn-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Investments - Teucrium Corn Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-investments-teucrium-corn-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-investments-teucrium-soybean-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Investments - Teucrium Soybean Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-investments-teucrium-sugar-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Investments - Teucrium Sugar Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-investments-teucrium-wheat-fund-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Investments - Teucrium Wheat Fund (Details)"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-teucrium-agricultural-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Teucrium Agricultural Fund"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-teucrium-agricultural-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-teucrium-corn-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Teucrium Corn Fund"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-teucrium-corn-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-teucrium-soybean-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Teucrium Soybean Fund"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-teucrium-soybean-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-teucrium-sugar-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Teucrium Sugar Fund"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-teucrium-sugar-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-schedule-of-investments-teucrium-wheat-fund-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments - Teucrium Wheat Fund"
       }
      }
     },
     "localname": "statement-statement-schedule-of-investments-teucrium-wheat-fund-tables",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "tect_statement-statement-significant-accounting-policies-policies": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies"
       }
      }
     },
     "localname": "statement-statement-significant-accounting-policies-policies",
     "nsuri": "http://www.teucrium.com/20221231",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net loss to net cash used in operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AlternativeInvestment": {
     "auth_ref": [
      "r223",
      "r227"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment other than investment in equity security, investment in debt security and equity method investment. Includes, but is not limited to, investment in certain entities that calculate net asset value per share. Example includes, but is not limited to, investment in hedge fund, venture capital fund, private equity fund, and real estate partnership or fund.",
        "label": "Exchange Traded Funds"
       }
      }
     },
     "localname": "AlternativeInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r61",
      "r67",
      "r99",
      "r115",
      "r147",
      "r150",
      "r154",
      "r160",
      "r165",
      "r166",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r174",
      "r175",
      "r214",
      "r216",
      "r229",
      "r306",
      "r332",
      "r333",
      "r343"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      }
     },
     "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": "us-gaap_Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r43"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "us-gaap_AssetsFairValueDisclosure",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNet": {
     "auth_ref": [
      "r0",
      "r71",
      "r86",
      "r89",
      "r90"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net assets (liabilities).",
        "label": "Net Assets",
        "periodEndLabel": "Net assets, end of period",
        "periodStartLabel": "Net assets, beginning of period",
        "totalLabel": "Net Assets"
       }
      }
     },
     "localname": "AssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CapitalUnitsOutstanding": {
     "auth_ref": [
      "r85"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of capital units or capital shares outstanding. This element is relevant to issuers of face-amount certificates and registered investment companies.",
        "label": "Outstanding Shares (in shares)"
       }
      }
     },
     "localname": "CapitalUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r17",
      "r97",
      "r290"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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",
        "totalLabel": "Total cash and cash equivalents as presented on the combined Statement of Assets and Liabilities"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion 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.",
        "label": "Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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 [Member]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r18"
     ],
     "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]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For banks and other depository institutions: Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks.",
        "label": "Demand Deposit Savings Accounts"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "auth_ref": [
      "r12",
      "r17",
      "r19"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including, but not limited to, 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": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
        "periodEndLabel": "Cash and cash equivalents, end of period",
        "periodStartLabel": "Cash and cash equivalents, beginning of period"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r12",
      "r50"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including 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": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
        "totalLabel": "Net change in cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r100",
      "r101",
      "r102",
      "r115",
      "r129",
      "r130",
      "r132",
      "r134",
      "r137",
      "r138",
      "r160",
      "r165",
      "r168",
      "r169",
      "r170",
      "r174",
      "r175",
      "r177",
      "r178",
      "r180",
      "r184",
      "r190",
      "r229",
      "r288",
      "r317",
      "r319",
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialPaperAtCarryingValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details": {
       "order": 2.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details": {
       "order": 2.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details": {
       "order": 2.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details": {
       "order": 2.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details": {
       "order": 2.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured short-term debt instrument issued by corporations which are 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. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three-years ago does not become a cash equivalent when its remaining maturity is three months.",
        "label": "Commercial Paper"
       }
      }
     },
     "localname": "CommercialPaperAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommercialPaperMember": {
     "auth_ref": [
      "r25"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured promissory note (generally negotiable) that provides institutions with short-term funds.",
        "label": "Commercial Paper [Member]"
       }
      }
     },
     "localname": "CommercialPaperMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommissionsPolicy": {
     "auth_ref": [
      "r54",
      "r55"
     ],
     "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]"
       }
      }
     },
     "localname": "CommissionsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Shares authorized (in shares)",
        "terseLabel": "Common Stock, Shares Authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r2",
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Shares outstanding (in shares)",
        "terseLabel": "Common Stock, Shares, Outstanding, Ending Balance (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CostsAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses"
       }
      }
     },
     "localname": "CostsAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r103",
      "r293"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other 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. Includes assets not subject to a master netting arrangement and elected not to be offset.",
        "label": "Gross amount of recognized assets"
       }
      }
     },
     "localname": "DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset": {
     "auth_ref": [
      "r4",
      "r6",
      "r30",
      "r292"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of liability associated with financial asset or other 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, and obligation to return cash collateral under master netting arrangements.",
        "label": "Gross amount offset, assets"
       }
      }
     },
     "localname": "DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetNotionalAmount": {
     "auth_ref": [
      "r338",
      "r339",
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payments on the derivative asset.",
        "label": "Notional amount, asset"
       }
      }
     },
     "localname": "DerivativeAssetNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r104",
      "r106",
      "r228",
      "r293"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other 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. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Commodity and Cryptocurrency Futures Contracts",
        "verboseLabel": "Derivative asset"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeCollateralObligationToReturnCash": {
     "auth_ref": [
      "r5",
      "r39",
      "r105",
      "r291"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to return cash collateral under master netting arrangements that have not been offset against derivative assets.",
        "label": "Collateral, due to broker, assets"
       }
      }
     },
     "localname": "DerivativeCollateralObligationToReturnCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeCollateralObligationToReturnSecurities": {
     "auth_ref": [
      "r5",
      "r105",
      "r291"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to return securities collateral under master netting arrangements that have not been offset against derivative assets.",
        "label": "Available for offset, assets"
       }
      }
     },
     "localname": "DerivativeCollateralObligationToReturnSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeCollateralRightToReclaimCash": {
     "auth_ref": [
      "r5",
      "r39",
      "r105",
      "r291"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of right to receive cash collateral under master netting arrangements that have not been offset against derivative liabilities.",
        "label": "Futures contracts available for offset, liabilities"
       }
      }
     },
     "localname": "DerivativeCollateralRightToReclaimCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeCollateralRightToReclaimSecurities": {
     "auth_ref": [
      "r5",
      "r105",
      "r291"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of right to receive securities collateral under master netting arrangements that have not been offset against derivative liabilities.",
        "label": "Collateral, due from broker, liabilities"
       }
      }
     },
     "localname": "DerivativeCollateralRightToReclaimSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "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 [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r5",
      "r38"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset. Includes derivative not subject to master netting arrangement or similar agreement.",
        "label": "Net amount, assets"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r5",
      "r38"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of financial liability or contract with one or more underlyings, notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset. Includes derivative not subject to master netting arrangement or similar agreement.",
        "label": "Net amount, liabilities"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r33",
      "r34",
      "r36",
      "r37",
      "r293"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r40",
      "r219"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r104",
      "r106",
      "r228",
      "r293"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability 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. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "us-gaap_DerivativeLiabilities",
        "terseLabel": "Commodity and Cryptocurrency Futures Contracts",
        "verboseLabel": "Derivative liabilities"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset": {
     "auth_ref": [
      "r4",
      "r6",
      "r30",
      "r292"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of asset associated with financial liability 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, and right to receive cash collateral under master netting arrangements.",
        "label": "Gross amount offset, liabilities"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement": {
     "auth_ref": [
      "r103",
      "r293"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability 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. Includes liabilities not subject to a master netting arrangement and elected not to be offset.",
        "label": "Gross amount of recognized liabilities"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityNotionalAmount": {
     "auth_ref": [
      "r338",
      "r339",
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payments on the derivative liability.",
        "label": "Notional amount, liability"
       }
      }
     },
     "localname": "DerivativeLiabilityNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r339",
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "us-gaap_DerivativeNotionalAmount",
        "terseLabel": "Derivative, Notional Amount"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeNumberOfInstrumentsHeld": {
     "auth_ref": [
      "r31",
      "r32"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of derivative instruments of a particular group held by the entity.",
        "label": "us-gaap_DerivativeNumberOfInstrumentsHeld",
        "terseLabel": "Derivative, Number of Instruments Held, Total"
       }
      }
     },
     "localname": "DerivativeNumberOfInstrumentsHeld",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DisclosureTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DisclosureTextBlockAbstract",
        "terseLabel": "Notes to Financial Statements"
       }
      }
     },
     "localname": "DisclosureTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DueFromCorrespondentBrokers": {
     "auth_ref": [
      "r24",
      "r53",
      "r57"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 1.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount receivable from correspondent broker-dealer.",
        "label": "Due from broker"
       }
      }
     },
     "localname": "DueFromCorrespondentBrokers",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToCorrespondentBrokers": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 1.0,
       "parentTag": "tect_EquityInTradingAccountLiabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "tect_EquityInTradingAccountLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount payable to correspondent broker-dealer.",
        "label": "Due to broker"
       }
      }
     },
     "localname": "DueToCorrespondentBrokers",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r111",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r128",
      "r129",
      "r132",
      "r133",
      "r134",
      "r135",
      "r221",
      "r222",
      "r259",
      "r260",
      "r296"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Net gain per share (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ExchangeTradedFundsMember": {
     "auth_ref": [
      "r337",
      "r341"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment that follows an index, commodity or basket of assets that trades similar to a stock on an exchange.",
        "label": "Exchange Traded Funds [Member]"
       }
      }
     },
     "localname": "ExchangeTradedFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExpenseRelatedToDistributionOrServicingAndUnderwritingFees": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expense related to distribution, servicing and underwriting fees.",
        "label": "Distribution and marketing fees"
       }
      }
     },
     "localname": "ExpenseRelatedToDistributionOrServicingAndUnderwritingFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r176",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r225",
      "r241",
      "r242",
      "r243",
      "r299",
      "r300",
      "r302",
      "r303",
      "r304"
     ],
     "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 Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r45",
      "r46"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r226"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r176",
      "r193",
      "r198",
      "r225",
      "r241",
      "r302",
      "r303",
      "r304"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r176",
      "r193",
      "r198",
      "r225",
      "r242",
      "r299",
      "r300",
      "r302",
      "r303",
      "r304"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r176",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r225",
      "r243",
      "r299",
      "r300",
      "r302",
      "r303",
      "r304"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r44"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r176",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r241",
      "r242",
      "r243",
      "r299",
      "r300",
      "r302",
      "r303",
      "r304"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r48",
      "r49"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedOtherAtFairValue": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of firm holdings in securities classified as other. Includes pledged and unpledged holdings.",
        "label": "Cryptocurrency futures contracts"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedOtherAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedPhysicalCommoditiesAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 0.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "tect_EquityInTradingAccountAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value as of the balance sheet date of firm holdings in physical commodity contracts (for example, agricultural products, metals and energy). Includes both pledged (to counterparties as collateral for financing transactions) and unpledged holdings.",
        "label": "Commodity and cryptocurrency futures contracts"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedPhysicalCommoditiesAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FloorBrokeragePolicy": {
     "auth_ref": [
      "r56"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the recognition and recording of fees paid to other broker dealers for executing trades. Broker-dealers often use other brokers to execute trades on their behalf. The trading broker-dealer becomes a customer of the executing broker-dealer and pays a floor brokerage fee. Such fees are paid periodically either directly to the executing broker-dealer or through a clearinghouse. These include fees paid to clearing brokers and market specialists.",
        "label": "Floor Brokerage, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "FloorBrokeragePolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GainLossOnSaleOfCommodityContracts": {
     "auth_ref": [
      "r15"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 0.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the book value and the sale price of agreements to purchase or sell mineral resources, energy, and agricultural products at some future point. This element refers to the gain (loss) included in earnings and not to the cash proceeds.",
        "label": "Realized (loss) gain on commodity and cryptocurrency futures contracts",
        "verboseLabel": "Realized Gain on Commodity Futures Contracts"
       }
      }
     },
     "localname": "GainLossOnSaleOfCommodityContracts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r9"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and administrative expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r109",
      "r205",
      "r206",
      "r210",
      "r211",
      "r212",
      "r213"
     ],
     "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]"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r14"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 7.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": "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet",
        "negatedLabel": "Interest receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInBrokerageReceivables": {
     "auth_ref": [
      "r14"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the total amount due to the entity related to activities and operations with other broker dealers, and clearing organizations, including deposits.",
        "label": "us-gaap_IncreaseDecreaseInBrokerageReceivables",
        "negatedLabel": "Due from broker"
       }
      }
     },
     "localname": "IncreaseDecreaseInBrokerageReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "auth_ref": [
      "r14"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets classified as other.",
        "label": "us-gaap_IncreaseDecreaseInOtherOperatingAssets",
        "negatedLabel": "Other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities": {
     "auth_ref": [
      "r14"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating liabilities classified as other.",
        "label": "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPayablesToBrokerDealers": {
     "auth_ref": [
      "r14"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 1.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": "us-gaap_IncreaseDecreaseInPayablesToBrokerDealers",
        "terseLabel": "Due to broker"
       }
      }
     },
     "localname": "IncreaseDecreaseInPayablesToBrokerDealers",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IndustrySpecificPoliciesBrokerDealerTextBlock": {
     "auth_ref": [
      "r52"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognition of revenues and expenses including commissions, underwriting, management and investment advisory fees, trading gains and losses, interest income and expense, dividend income and expense, floor brokerage, and exchange fees. Also, may include the broker-dealers' disclosure on the nature of operations and estimates used in preparation of financial statements and significant estimates.",
        "label": "Industry-Specific Policies, Broker-Dealer [Policy Text Block]"
       }
      }
     },
     "localname": "IndustrySpecificPoliciesBrokerDealerTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r64"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 2.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest income"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r318"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 3.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"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyCapitalShareTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital transactions"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalShareTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyExpenseOffsetArrangement": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 1.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense reduction under arrangement in which third party explicitly reduces its fee by specified amount for service provided in exchange for use of investment company's assets.",
        "label": "us-gaap_InvestmentCompanyExpenseOffsetArrangement",
        "negatedLabel": "Expenses waived by the Sponsor"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseOffsetArrangement",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation": {
     "auth_ref": [
      "r74"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of expense, after incentive allocation, to average net assets.",
        "label": "Total expenses, net"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseRatioAfterIncentiveAllocation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyExpenseRatioExcludingIncentiveFee": {
     "auth_ref": [
      "r74"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage, after deduction of fee waiver and before deduction of incentive fee, of expense to average net assets.",
        "label": "Total expenses"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseRatioExcludingIncentiveFee",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTableTextBlock": {
     "auth_ref": [
      "r72"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial highlights. Includes, but is not limited to, per share information, income and expense ratios, total return, capital commitment and fee waiver.",
        "label": "Investment Company, Financial Highlights [Table Text Block]"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTextBlock": {
     "auth_ref": [
      "r82",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of financial highlights reported by investment company.",
        "label": "Investment Company, Financial Highlights [Text Block]"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialRatiosAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ratios to Average Net Assets (Annualized)"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialRatiosAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of realized and unrealized gain (loss) on investment.",
        "label": "Net realized and unrealized gain on commodity futures contracts (in dollars per share)"
       }
      }
     },
     "localname": "InvestmentCompanyGainLossOnInvestmentPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income (loss) from investment operations:"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare": {
     "auth_ref": [
      "r79"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount, after investment expense, of dividend and interest investment income (loss).",
        "label": "Investment income (in dollars per share)"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossRatio": {
     "auth_ref": [
      "r73"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment income (loss) to average net assets.",
        "label": "Net investment loss"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossRatio",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of increase (decrease) in net asset value.",
        "label": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
        "totalLabel": "Net increase in net asset value (in dollars per share)"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operations"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsFromOperationsIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease": {
     "auth_ref": [
      "r71"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in net assets of investment company.",
        "label": "Net change in net assets",
        "terseLabel": "Investment Company, Net Assets, Period Increase (Decrease), Total"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Realized and unrealized gain (loss) on trading of commodity and cryptocurrency futures contracts:"
       }
      }
     },
     "localname": "InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyTotalReturn": {
     "auth_ref": [
      "r75",
      "r76",
      "r77"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage increase (decrease) in fund net asset value, assuming reinvestment of dividends and capital gain distributions.",
        "label": "Total Return"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturn",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentHoldingsScheduleOfInvestmentsTextBlock": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investment holdings. This includes the information required in the supplementary schedule applicable to management investment companies listing holdings of unaffiliated investments.",
        "label": "Investment Holdings, Schedule of Investments [Text Block]"
       }
      }
     },
     "localname": "InvestmentHoldingsScheduleOfInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentInterestRate": {
     "auth_ref": [
      "r323",
      "r325"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest on investment.",
        "label": "Index"
       }
      }
     },
     "localname": "InvestmentInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentMaturityDate": {
     "auth_ref": [
      "r322",
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity date of investment, in YYYY-MM-DD format.",
        "label": "Maturity date"
       }
      }
     },
     "localname": "InvestmentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_InvestmentOwnedAtCost": {
     "auth_ref": [
      "r83"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of the investment.",
        "label": "Investments, at cost",
        "verboseLabel": "Cost"
       }
      }
     },
     "localname": "InvestmentOwnedAtCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "auth_ref": [
      "r83",
      "r272",
      "r280"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "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": "Investments in securities, at fair value (cost: $39,425,287 and $12,799,498 as of December 31, 2022 and December 31, 2021 respectively)",
        "verboseLabel": "Fair value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalanceContracts": {
     "auth_ref": [
      "r92",
      "r93",
      "r352"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Balance held at close of period in number of contracts.",
        "label": "Number of contracts"
       }
      }
     },
     "localname": "InvestmentOwnedBalanceContracts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "auth_ref": [
      "r84",
      "r267"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For investments which are quantified by principal amount, the principle balance held at close of period.",
        "label": "us-gaap_InvestmentOwnedBalancePrincipalAmount",
        "verboseLabel": "Principal amount"
       }
      }
     },
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalanceShares": {
     "auth_ref": [
      "r84",
      "r267"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Balance held at close of period in number of shares.",
        "label": "us-gaap_InvestmentOwnedBalanceShares",
        "verboseLabel": "Shares (in shares)"
       }
      }
     },
     "localname": "InvestmentOwnedBalanceShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InvestmentOwnedPercentOfNetAssets": {
     "auth_ref": [
      "r83",
      "r277"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent of net assets at close of period. For schedules of investments that are categorized, each category has a percent of net assets for the aggregated value of the Investments in the category.",
        "label": "Percentage of net assets"
       }
      }
     },
     "localname": "InvestmentOwnedPercentOfNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentSecondaryCategorizationAxis": {
     "auth_ref": [
      "r264",
      "r269",
      "r274"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTableTextBlock": {
     "auth_ref": [
      "r326",
      "r327",
      "r328",
      "r329"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment.",
        "label": "Investment [Table Text Block]"
       }
      }
     },
     "localname": "InvestmentTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r263",
      "r265",
      "r266",
      "r268",
      "r270",
      "r271",
      "r273",
      "r275",
      "r276",
      "r278",
      "r279",
      "r281",
      "r282",
      "r283",
      "r284"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r263",
      "r265",
      "r266",
      "r268",
      "r270",
      "r271",
      "r273",
      "r275",
      "r276",
      "r278",
      "r279",
      "r281",
      "r282",
      "r283",
      "r284"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsBySecondaryCategorizationDomain": {
     "auth_ref": [
      "r91",
      "r264",
      "r269",
      "r274"
     ],
     "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/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r3",
      "r115",
      "r160",
      "r165",
      "r166",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r174",
      "r175",
      "r215",
      "r216",
      "r217",
      "r229",
      "r297",
      "r332",
      "r343",
      "r344"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNet",
       "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": "us-gaap_Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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": "Liability [Member]"
       }
      }
     },
     "localname": "LiabilityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ManagementFeeExpense": {
     "auth_ref": [
      "r51"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "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 fees"
       }
      }
     },
     "localname": "ManagementFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ManagementFeePayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 2.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 to Sponsor"
       }
      }
     },
     "localname": "ManagementFeePayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MoneyMarketFundsAtCarryingValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details": {
       "order": 0.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details": {
       "order": 0.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in short-term money-market instruments (such as commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and so forth) which are highly liquid (that is, readily convertible to known amounts of cash) and so near their maturity that they present an insignificant risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify as cash equivalents by definition. Original maturity means an original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three-years ago does not become a cash equivalent when its remaining maturity is three months.",
        "label": "Money Market Funds",
        "terseLabel": "Money Market Funds, at Carrying Value"
       }
      }
     },
     "localname": "MoneyMarketFundsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MoneyMarketFundsMember": {
     "auth_ref": [
      "r337"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "MoneyMarketFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NatureOfOperations": {
     "auth_ref": [
      "r139",
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings. For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward.",
        "label": "Nature of Operations [Text Block]"
       }
      }
     },
     "localname": "NatureOfOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NetAssetValuePerShare": {
     "auth_ref": [
      "r41",
      "r42",
      "r47",
      "r78",
      "r81"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure.",
        "label": "Net asset value per share (in dollars per share)",
        "periodEndLabel": "Net asset value per share at end of period (in dollars per share)",
        "periodStartLabel": "Net asset value per share at beginning of period (in dollars per share)"
       }
      }
     },
     "localname": "NetAssetValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "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": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
        "totalLabel": "Net cash provided by (used in) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r12",
      "r13",
      "r16"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "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": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
        "totalLabel": "Net cash (used in) provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r7",
      "r16",
      "r63",
      "r68",
      "r96",
      "r107",
      "r108",
      "r110",
      "r115",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r126",
      "r127",
      "r131",
      "r147",
      "r149",
      "r153",
      "r155",
      "r160",
      "r165",
      "r166",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r174",
      "r175",
      "r222",
      "r229",
      "r298",
      "r332"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "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 (loss) income",
        "totalLabel": "Net (loss) income"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 0.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "tect_NoninterestExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense.",
        "label": "us-gaap_NoninterestExpense",
        "totalLabel": "Total expenses"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseTransferAgentAndCustodianFees": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fees paid to an agent employed by a corporation or mutual fund to maintain shareholder records, including purchases, sales, and account balances. Also includes custodian fees incurred during an accounting period from an agent, bank, trust company, or other organization that holds and safeguards an individual's, mutual fund's, or investment company's assets for them. These fees will be billed back to the client and are a component of noninterest expense.",
        "label": "Custodian fees and expenses"
       }
      }
     },
     "localname": "NoninterestExpenseTransferAgentAndCustodianFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OpenTaxYear": {
     "auth_ref": [
      "r208"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax year that remains open to examination under enacted tax laws, in YYYY format.",
        "label": "us-gaap_OpenTaxYear",
        "terseLabel": "Open Tax Year"
       }
      }
     },
     "localname": "OpenTaxYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "gYearListItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r60",
      "r66",
      "r98"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other assets"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r62"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other liabilities"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other expenses"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfEquity": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire common and preferred stock.",
        "label": "us-gaap_PaymentsForRepurchaseOfEquity",
        "negatedLabel": "Redemption of Shares"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PolicyTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PolicyTextBlockAbstract",
        "terseLabel": "Accounting Policies"
       }
      }
     },
     "localname": "PolicyTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "auth_ref": [
      "r10"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity.",
        "label": "Proceeds from sale of Shares"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r87",
      "r88"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "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"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment.",
        "label": "Realized gain (loss) on securities"
       }
      }
     },
     "localname": "RealizedInvestmentGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReceivablesFromCustomers": {
     "auth_ref": [
      "r351"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due from customers for fees and charges arising from transactions related to the entity's brokerage activities and operations.",
        "label": "Capital shares receivable"
       }
      }
     },
     "localname": "ReceivablesFromCustomers",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyCosts": {
     "auth_ref": [
      "r8",
      "r167",
      "r168",
      "r169",
      "r173",
      "r174",
      "r175",
      "r320"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Direct costs arising from transactions with related parties who are not affiliates or joint Ventures. These costs are categorized as cost of goods sold.",
        "label": "Amount Recognized"
       }
      }
     },
     "localname": "RelatedPartyCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r199",
      "r233",
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r95",
      "r233",
      "r234",
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r95"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r199",
      "r233",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r231",
      "r232",
      "r234",
      "r235",
      "r236"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for 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": "Related Party Transactions Disclosure [Text Block]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r294",
      "r295"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue [Policy Text Block]"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenuesNetOfInterestExpense": {
     "auth_ref": [
      "r145",
      "r146",
      "r148",
      "r151",
      "r152",
      "r156",
      "r157",
      "r158"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "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 after deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "us-gaap_RevenuesNetOfInterestExpense",
        "totalLabel": "Total (loss) income"
       }
      }
     },
     "localname": "RevenuesNetOfInterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of cash and cash equivalents.",
        "label": "Schedule of Cash and Cash Equivalents [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfCashAndCashEquivalentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r33",
      "r36",
      "r218"
     ],
     "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": "Derivative Instruments, Gain (Loss) [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock": {
     "auth_ref": [
      "r35"
     ],
     "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 [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r224",
      "r225"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, 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 [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharesIssuedPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or per unit amount of equity securities issued.",
        "label": "us-gaap_SharesIssuedPricePerShare",
        "terseLabel": "Shares Issued, Price Per Share (in dollars per share)"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "us-gaap_SharesOutstanding",
        "terseLabel": "Shares, Outstanding, Ending Balance (in shares)"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r20",
      "r113"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r100",
      "r101",
      "r102",
      "r115",
      "r129",
      "r130",
      "r132",
      "r134",
      "r137",
      "r138",
      "r160",
      "r165",
      "r168",
      "r169",
      "r170",
      "r174",
      "r175",
      "r177",
      "r178",
      "r180",
      "r184",
      "r190",
      "r229",
      "r288",
      "r317",
      "r319",
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-document-and-entity-information"
     ],
     "xbrltype": "stringItemType"
    },
    "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]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-tables",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r117",
      "r118",
      "r119",
      "r136",
      "r246"
     ],
     "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]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-investments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-tables",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-assets-and-liabilities",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-corn-fund-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-benchmark-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-summary-of-expenses-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-cash-and-cash-equivalents-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-related-party-transactions-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-total-brokerage-commissions-paid-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-waived-expenses-paid-by-sponsor-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-assets-and-liabilities-measured-at-fair-value-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-offsetting-of-financial-assets-and-liabilities-and-derivative-assets-and-liabilities-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-schedule-of-per-share-performance-data-and-other-supplemental-financial-data-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs",
      "http://www.teucrium.com/20221231/role/statement-note-6-organizational-and-offering-costs-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-net-assets-and-shares-outstanding-details",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-organizational-and-offering-costs-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-agricultural-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-investments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-agricultural-fund-parentheticals",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-assets-and-liabilities-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r1",
      "r2",
      "r27",
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "us-gaap_StockIssuedDuringPeriodSharesNewIssues",
        "terseLabel": "Stock Issued During Period, Shares, New Issues (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r1",
      "r2",
      "r27",
      "r28"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets": {
       "order": 2.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf": {
       "order": 0.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund": {
       "order": 0.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund": {
       "order": 0.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund": {
       "order": 0.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund": {
       "order": 0.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund": {
       "order": 1.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Issuance of Shares",
        "terseLabel": "Stock Issued During Period, Value, New Issues"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r1",
      "r2",
      "r27",
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "us-gaap_StockRepurchasedDuringPeriodShares",
        "terseLabel": "Redemption of Shares (in shares)"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "auth_ref": [
      "r1",
      "r2",
      "r27",
      "r28"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets": {
       "order": 0.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund": {
       "order": 1.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund": {
       "order": 0.0,
       "parentTag": "tect_InvestmentCompanyNetAssetsCapitalTransactionsPeriodIncreaseDecrease",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "us-gaap_StockRepurchasedDuringPeriodValue",
        "negatedLabel": "Redemption of Shares"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-changes-in-net-assets",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-changes-in-net-assets-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r29",
      "r114",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r188",
      "r189",
      "r191",
      "r220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StockholdersEquityPolicyTextBlock": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its capital stock transactions, including dividends and accumulated other comprehensive income.",
        "label": "Stockholders' Equity, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "StockholdersEquityPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r230",
      "r239"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r230",
      "r239"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r230",
      "r239"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r238",
      "r240"
     ],
     "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]"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-7-subsequent-events-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-note-8-subsequent-events-teucrium-wheat-fund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TableTextBlock",
        "terseLabel": "Notes Tables"
       }
      }
     },
     "localname": "TableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-schedule-of-investments-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-1-organization-and-operation-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-2-principal-contracts-and-agreements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-4-fair-value-measurements-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-5-financial-highlights-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-6-financial-highlights-teucrium-wheat-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-note-7-detail-of-the-net-assets-and-shares-outstanding-of-the-funds-that-are-a-series-of-the-trust-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-hashdex-bitcoin-futures-etf-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-agricultural-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-corn-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-soybean-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-sugar-fund-tables",
      "http://www.teucrium.com/20221231/role/statement-schedule-of-investments-teucrium-wheat-fund-tables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrealizedGainLossOnCommodityContracts": {
     "auth_ref": [
      "r15"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations": {
       "order": 1.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf": {
       "order": 2.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund": {
       "order": 2.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "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 agreements to purchase or sell mineral resources, energy, and agricultural products at some future point held at each balance sheet date, that was included in earnings for the period.",
        "label": "Net change in unrealized (depreciation) appreciation on commodity and cryptocurrency futures contracts",
        "negatedLabel": "Net change in unrealized depreciation (appreciation) on commodity and cryptocurrency futures contracts",
        "verboseLabel": "Net Change in Unrealized Depreciation on Commodity Futures Contracts"
       }
      }
     },
     "localname": "UnrealizedGainLossOnCommodityContracts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-cash-flows",
      "http://www.teucrium.com/20221231/role/statement-combined-statements-of-operations",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-hashdex-bitcoin-futures-etf-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-corn-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-soybean-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-sugar-fund-details",
      "http://www.teucrium.com/20221231/role/statement-note-5-derivative-instruments-and-hedging-activities-summary-of-gains-losses-on-derivative-instruments-teucrium-wheat-fund-details",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-wheat-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnInvestments": {
     "auth_ref": [
      "r15"
     ],
     "calculation": {
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund": {
       "order": 1.0,
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment.",
        "label": "Net change in unrealized (depreciation) appreciation on securities",
        "negatedLabel": "Net change in unrealized depreciation (appreciation) on securities"
       }
      }
     },
     "localname": "UnrealizedGainLossOnInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-cash-flows-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "auth_ref": [
      "r204",
      "r209"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits.",
        "label": "us-gaap_UnrecognizedTaxBenefits",
        "terseLabel": "Unrecognized Tax Benefits, Ending Balance"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense": {
     "auth_ref": [
      "r207"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return.",
        "label": "us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense",
        "terseLabel": "Unrecognized Tax Benefits, Income Tax Penalties and Interest Expense, Total"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-hashdex-bitcoin-futures-etf-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-agricultural-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-corn-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-soybean-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-sugar-fund-details-textual",
      "http://www.teucrium.com/20221231/role/statement-note-3-summary-of-significant-accounting-policies-teucrium-wheat-fund-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r21",
      "r22",
      "r23",
      "r140",
      "r141",
      "r142",
      "r143"
     ],
     "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]"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r128",
      "r134"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted average shares outstanding (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-hashdex-bitcoin-futures-etf",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-agricultural-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-corn-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-soybean-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-sugar-fund",
      "http://www.teucrium.com/20221231/role/statement-statements-of-operations-teucrium-wheat-fund"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 5
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=77885760&loc=SL35686385-199418",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "https://asc.fasb.org/topic&trid=2134479",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496180-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624181-113959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=SL126733271-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL7495116-110257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=99376301&loc=SL5988623-112600",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21459-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124439613&loc=SL124453110-224270",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226038-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226049-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126966630&loc=d3e41228-113958",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r308": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r309": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r311": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r312": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r313": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r314": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r315": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r316": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org/topic&trid=2196928",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "321",
   "URI": "https://asc.fasb.org/topic&trid=75115024",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "https://asc.fasb.org/topic&trid=2196965",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "325",
   "URI": "https://asc.fasb.org/topic&trid=2197064",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "310",
   "Topic": "940",
   "URI": "https://asc.fasb.org/subtopic&trid=2176284",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r353": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r354": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r355": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r356": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r357": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(4)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r358": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(5)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r359": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r361": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r362": {
   "Name": "Rule 15c3-1",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "15c3-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "https://asc.fasb.org/topic&trid=2229140",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL7495116-110257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "59",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL6740821-110257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226016-175313",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941103&loc=d3e40179-110945",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41256-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41261-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=35710059&loc=d3e41357-110954",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=35710130&loc=d3e41645-110958",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=35711157&loc=d3e42546-110969",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226003-175313",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=6488101&loc=d3e8732-115831",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262037&loc=d3e9915-115836",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10177-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10328-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10342-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10396-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10403-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10411-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(h)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/subtopic&trid=2324234",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e604008-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r88": {
   "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": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874367-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874367-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12.2(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12.Column B)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14.Column B)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "https://asc.fasb.org/subtopic&trid=2324412",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  }
 },
 "version": "2.2"
}
