{
 "instance": {
  "fs42021a4_merida1.htm": {
   "axisCustom": 0,
   "axisStandard": 21,
   "contextCount": 438,
   "dts": {
    "calculationLink": {
     "local": [
      "mcmj-20210930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "mcmj-20210930_def.xml"
     ]
    },
    "inline": {
     "local": [
      "fs42021a4_merida1.htm"
     ]
    },
    "labelLink": {
     "local": [
      "mcmj-20210930_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "mcmj-20210930_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "mcmj-20210930.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.sec.gov/dei/2021/dei-2021.xsd",
      "https://xbrl.sec.gov/sic/2021/sic-2021.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd"
     ]
    }
   },
   "elementCount": 965,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 194,
    "http://www.MeridaMergerCorp.com/20210930": 50,
    "http://xbrl.sec.gov/dei/2021": 3,
    "total": 247
   },
   "keyCustom": 204,
   "keyStandard": 464,
   "memberCustom": 34,
   "memberStandard": 27,
   "nsprefix": "mcmj",
   "nsuri": "http://www.MeridaMergerCorp.com/20210930",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "000 - Document - Document And Entity Information",
     "role": "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:InitialPublicOfferingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "009 - Disclosure - Initial Public Offering",
     "role": "http://www.MeridaMergerCorp.com/role/InitialPublicOffering",
     "shortName": "Initial Public Offering",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:InitialPublicOfferingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c377",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsForRent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "099 - Disclosure - Leases (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/LeasesDetails",
     "shortName": "Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c377",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsForRent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c378",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100 - Disclosure - Leases (Details) - Schedule of maturities of lease liabilities",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable",
     "shortName": "Leases (Details) - Schedule of maturities of lease liabilities",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c378",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareDilutedByCommonClassTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersDiluted",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101 - Disclosure - Net Loss Per Share (Details) - Schedule of computation of basic and diluted net loss per share attributable to common stockholders",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofcomputationofbasicanddilutednetlosspershareattributabletocommonstockholdersTable",
     "shortName": "Net Loss Per Share (Details) - Schedule of computation of basic and diluted net loss per share attributable to common stockholders",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "mcmj:ScheduleOfThreeClassesOfCommonStockOutstandingTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c428",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersDiluted",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "102 - Disclosure - Net Loss Per Share (Details) - Schedule of three classes of common stock outstanding",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
     "shortName": "Net Loss Per Share (Details) - Schedule of three classes of common stock outstanding",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:ShareSubjectToOutstandingCommonStockOptions",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "103 - Disclosure - Net Loss Per Share (Details) - Schedule of antidilutive excluded from the computation of diluted net income per share attributable to common stockholders",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable",
     "shortName": "Net Loss Per Share (Details) - Schedule of antidilutive excluded from the computation of diluted net income per share attributable to common stockholders",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:Totalpreferredshares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "104 - Disclosure - Segment Reporting (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/SegmentReportingDetails",
     "shortName": "Segment Reporting (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "105 - Disclosure - Segment Reporting (Details) - Schedule of segment revenue and gross margin",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
     "shortName": "Segment Reporting (Details) - Schedule of segment revenue and gross margin",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "106 - Disclosure - Cash, Cash Equivalents, and Restricted Cash (Details) - Schedule of cash, cash equivalents, and restricted cash",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0",
     "shortName": "Cash, Cash Equivalents, and Restricted Cash (Details) - Schedule of cash, cash equivalents, and restricted cash",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherCurrentAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PrepaidExpenseCurrentAndNoncurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "107 - Disclosure - Prepaid Expenses and Other Current Assets (Details) - Schedule of prepaid expenses and other current assets",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0",
     "shortName": "Prepaid Expenses and Other Current Assets (Details) - Schedule of prepaid expenses and other current assets",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FurnitureAndFixturesGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "108 - Disclosure - Property and Equipment, Net (Details) - Schedule of property and equipment",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0",
     "shortName": "Property and Equipment, Net (Details) - Schedule of property and equipment",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:PrivatePlacementTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "010 - Disclosure - Private Placement",
     "role": "http://www.MeridaMergerCorp.com/role/PrivatePlacement",
     "shortName": "Private Placement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:PrivatePlacementTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeRelatedLiabilitiesCurrentAndNoncurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "109 - Disclosure - Accrued Expenses (Details) - Schedule of accrued expenses and other current liabilities",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable",
     "shortName": "Accrued Expenses (Details) - Schedule of accrued expenses and other current liabilities",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:AccruedLegalCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c399",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueNotFromContractWithCustomer",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "110 - Disclosure - Revenue and Contract Balances (Details) - Schedule of revenue by timing of recognition",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of revenue by timing of recognition",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c399",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:IncomeTaxReconciliationStateAndLocalTaxes",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "111 - Disclosure - Revenue and Contract Balances (Details) - Schedule of revenue by geographic region",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of revenue by geographic region",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c399",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:OverTime",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "112 - Disclosure - Revenue and Contract Balances (Details) - Schedule of revenue by timing of recognition",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of revenue by timing of recognition",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "mcmj:RestructuringReserves",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "113 - Disclosure - Revenue and Contract Balances (Details) - Schedule of allowance for doubtful accounts",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable0",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of allowance for doubtful accounts",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "-3",
      "lang": null,
      "name": "mcmj:RestructuringReserves",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfPrincipalTransactionsRevenueTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:DeferredRevenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "114 - Disclosure - Revenue and Contract Balances (Details) - Schedule of changes in deferred revenue",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable0",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of changes in deferred revenue",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfPrincipalTransactionsRevenueTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:DeferredRevenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "115 - Disclosure - Stockholders\u2019 Equity (Details) - Schedule of common stock",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
     "shortName": "Stockholders\u2019 Equity (Details) - Schedule of common stock",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c421",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "mcmj:ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "116 - Disclosure - Stockholders\u2019 Equity (Details) - Schedule of reserved shares of common stock for future issuance",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0",
     "shortName": "Stockholders\u2019 Equity (Details) - Schedule of reserved shares of common stock for future issuance",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "mcmj:ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c412",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:ClassCommonStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "mcmj:RiskfreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "117 - Disclosure - Equity Incentive Plans (Details) - Schedule of fair value of each stock option award to employees on the date of grant using the Black-Scholes option pricing model",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0",
     "shortName": "Equity Incentive Plans (Details) - Schedule of fair value of each stock option award to employees on the date of grant using the Black-Scholes option pricing model",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "mcmj:RiskfreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "mcmj:ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "118 - Disclosure - Equity Incentive Plans (Details) - Schedule of stock option activity",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0",
     "shortName": "Equity Incentive Plans (Details) - Schedule of stock option activity",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:NumberOfSharesExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "011 - Disclosure - Related Party Transactions",
     "role": "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactions",
     "shortName": "Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SeveranceCosts1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "119 - Disclosure - Restructuring Charges (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails",
     "shortName": "Restructuring Charges (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SeveranceCosts1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareDilutedByCommonClassTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersDiluted",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "120 - Disclosure - Net Loss Per Share (Details) - Schedule of computation of basic and diluted net loss per share attributable to common stockholders",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofcomputationofbasicanddilutednetlosspershareattributabletocommonstockholdersTable0",
     "shortName": "Net Loss Per Share (Details) - Schedule of computation of basic and diluted net loss per share attributable to common stockholders",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "mcmj:ScheduleOfThreeClassesOfCommonStockOutstandingTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c428",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersDiluted",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "121 - Disclosure - Net Loss Per Share (Details) - Schedule of three classes of common stock outstanding",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0",
     "shortName": "Net Loss Per Share (Details) - Schedule of three classes of common stock outstanding",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:ShareSubjectToOutstandingCommonStockOptions",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "122 - Disclosure - Net Loss Per Share (Details) - Schedule of antidilutive excluded from the computation of diluted net income per share attributable to common stockholders",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable0",
     "shortName": "Net Loss Per Share (Details) - Schedule of antidilutive excluded from the computation of diluted net income per share attributable to common stockholders",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "123 - Disclosure - Segment Reporting (Details) - Schedule of segment revenue and gross margin",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0",
     "shortName": "Segment Reporting (Details) - Schedule of segment revenue and gross margin",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "012 - Disclosure - Commitments and Contingencies",
     "role": "http://www.MeridaMergerCorp.com/role/CommitmentsandContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "013 - Disclosure - Stockholders' Equity",
     "role": "http://www.MeridaMergerCorp.com/role/StockholdersEquity",
     "shortName": "Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:WarrantsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "014 - Disclosure - Warrants",
     "role": "http://www.MeridaMergerCorp.com/role/Warrants",
     "shortName": "Warrants",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:WarrantsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "015 - Disclosure - Fair Value Measurements",
     "role": "http://www.MeridaMergerCorp.com/role/FairValueMeasurements",
     "shortName": "Fair Value Measurements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "016 - Disclosure - Subsequent Events",
     "role": "http://www.MeridaMergerCorp.com/role/SubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "017 - Disclosure - Income Tax",
     "role": "http://www.MeridaMergerCorp.com/role/IncomeTax",
     "shortName": "Income Tax",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherCurrentAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "018 - Disclosure - Prepaid Expenses and Other Current Assets",
     "role": "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssets",
     "shortName": "Prepaid Expenses and Other Current Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherCurrentAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Cash",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "001 - Statement - Condensed Consolidated Balance Sheets",
     "role": "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
     "shortName": "Condensed Consolidated Balance Sheets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:PrepaidExpenseAndOtherAssetsCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "019 - Disclosure - Property and Equipment, Net",
     "role": "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNet",
     "shortName": "Property and Equipment, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "020 - Disclosure - Accrued Expenses",
     "role": "http://www.MeridaMergerCorp.com/role/AccruedExpenses",
     "shortName": "Accrued Expenses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:RevenueAndContractBalancesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "021 - Disclosure - Revenue and Contract Balances",
     "role": "http://www.MeridaMergerCorp.com/role/RevenueandContractBalances",
     "shortName": "Revenue and Contract Balances",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:RevenueAndContractBalancesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "022 - Disclosure - Convertible Promissory Notes",
     "role": "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotes",
     "shortName": "Convertible Promissory Notes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "023 - Disclosure - Equity Incentive Plans",
     "role": "http://www.MeridaMergerCorp.com/role/EquityIncentivePlans",
     "shortName": "Equity Incentive Plans",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedContributionPlanTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "024 - Disclosure - Defined Contribution Plan",
     "role": "http://www.MeridaMergerCorp.com/role/DefinedContributionPlan",
     "shortName": "Defined Contribution Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedContributionPlanTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "025 - Disclosure - Leases",
     "role": "http://www.MeridaMergerCorp.com/role/Leases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "026 - Disclosure - Net Loss Per Share",
     "role": "http://www.MeridaMergerCorp.com/role/NetLossPerShare",
     "shortName": "Net Loss Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "027 - Disclosure - Segment Reporting",
     "role": "http://www.MeridaMergerCorp.com/role/SegmentReporting",
     "shortName": "Segment Reporting",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "028 - Disclosure - Cash, Cash Equivalents, and Restricted Cash",
     "role": "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCash",
     "shortName": "Cash, Cash Equivalents, and Restricted Cash",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquitySharesAuthorized",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "002 - Statement - Condensed Consolidated Balance Sheets (Parentheticals)",
     "role": "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
     "shortName": "Condensed Consolidated Balance Sheets (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c2",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:CommonStockSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "029 - Disclosure - Restructuring Charges",
     "role": "http://www.MeridaMergerCorp.com/role/RestructuringCharges",
     "shortName": "Restructuring Charges",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "030 - Disclosure - Accounting Policies, by Policy (Policies)",
     "role": "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy",
     "shortName": "Accounting Policies, by Policy (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "031 - Disclosure - Restatement of Previously Issued Financial Statements (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsTables",
     "shortName": "Restatement of Previously Issued Financial Statements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "032 - Disclosure - Summary of Significant Accounting Policies (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables",
     "shortName": "Summary of Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "033 - Disclosure - Stockholder\u2019s Equity (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/StockholdersEquityTables",
     "shortName": "Stockholder\u2019s Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "034 - Disclosure - Fair Value Measurements (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/FairValueMeasurementsTables",
     "shortName": "Fair Value Measurements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "035 - Disclosure - Income Tax (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/IncomeTaxTables",
     "shortName": "Income Tax (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfOtherCurrentAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "036 - Disclosure - Prepaid Expenses and Other Current Assets (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssetsTables",
     "shortName": "Prepaid Expenses and Other Current Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfOtherCurrentAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "037 - Disclosure - Property and Equipment, Net (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetTables",
     "shortName": "Property and Equipment, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "038 - Disclosure - Accrued Expenses (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/AccruedExpensesTables",
     "shortName": "Accrued Expenses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c12",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingCostsAndExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "003 - Statement - Condensed Statements of Operations (Unaudited)",
     "role": "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
     "shortName": "Condensed Statements of Operations (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c12",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingCostsAndExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "039 - Disclosure - Revenue and Contract Balances (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables",
     "shortName": "Revenue and Contract Balances (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040 - Disclosure - Equity Incentive Plans (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansTables",
     "shortName": "Equity Incentive Plans (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "041 - Disclosure - Leases (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/LeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareDilutedByCommonClassTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "042 - Disclosure - Net Loss Per Share (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/NetLossPerShareTables",
     "shortName": "Net Loss Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "lang": "en-US",
      "name": "mcmj:ScheduleOfThreeClassesOfCommonStockOutstandingTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "043 - Disclosure - Segment Reporting (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/SegmentReportingTables",
     "shortName": "Segment Reporting (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "044 - Disclosure - Cash, Cash Equivalents, and Restricted Cash (Tables)",
     "role": "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCashTables",
     "shortName": "Cash, Cash Equivalents, and Restricted Cash (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "mcmj:ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceInitialPublicOffering",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "045 - Disclosure - Description of Organization, Business Operations and Going Concern (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
     "shortName": "Description of Organization, Business Operations and Going Concern (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c125",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:SharesIssuedPricePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "046 - Disclosure - Restatement of Previously Issued Financial Statements (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsDetails",
     "shortName": "Restatement of Previously Issued Financial Statements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c136",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:CommonStockSubjectToPossibleRedemption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "047 - Disclosure - Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of balance sheet",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
     "shortName": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of balance sheet",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c136",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:CommonStockSubjectToPossibleRedemption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c160",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:SaleOfUnitsNetOfUnderwritingDiscountAndOfferingExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "048 - Disclosure - Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of changes in stockholders\u2019 equity (Deficit)",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable",
     "shortName": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of changes in stockholders\u2019 equity (Deficit)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c160",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:SaleOfUnitsNetOfUnderwritingDiscountAndOfferingExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c80",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "004 - Statement - Condensed Consolidated Statements of Changes in Stockholders\u2019 Equity (Deficit)",
     "role": "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3",
     "shortName": "Condensed Consolidated Statements of Changes in Stockholders\u2019 Equity (Deficit)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c80",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c160",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockNumberOfSharesIssuedInTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "049 - Disclosure - Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of changes in stockholders\u2019 equity (Deficit) (Parentheticals)",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable_Parentheticals",
     "shortName": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of changes in stockholders\u2019 equity (Deficit) (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c160",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockNumberOfSharesIssuedInTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c178",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "mcmj:WeightedAverageShareOutstandingCommonStockSubjectToPossibleRedemption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "050 - Disclosure - Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of operations",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable",
     "shortName": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of operations",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c178",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "mcmj:WeightedAverageShareOutstandingCommonStockSubjectToPossibleRedemption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c12",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "051 - Disclosure - Summary of Significant Accounting Policies (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails",
     "shortName": "Summary of Significant Accounting Policies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c12",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "mcmj:ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceInitialPublicOffering",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "052 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of common Stock reflected in the balance sheets",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofcommonStockreflectedinthebalancesheetsTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of common Stock reflected in the balance sheets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "mcmj:ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:TemporaryEquityAccretionToRedemptionsValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c12",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityNetIncome",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "053 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of basic and diluted net loss per common share",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetlosspercommonshareTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of basic and diluted net loss per common share",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConversionOfStockDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "054 - Disclosure - Initial Public Offering (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails",
     "shortName": "Initial Public Offering (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConversionOfStockDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c128",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesOther",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "055 - Disclosure - Private Placement (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails",
     "shortName": "Private Placement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c129",
      "decimals": "2",
      "lang": null,
      "name": "mcmj:ShareIssuedPricePerShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c198",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesIssuedForServices",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "056 - Disclosure - Related Party Transactions (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
     "shortName": "Related Party Transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c198",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesIssuedForServices",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "mcmj:GrossProceedsPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "057 - Disclosure - Commitments and Contingencies (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails",
     "shortName": "Commitments and Contingencies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "mcmj:GrossProceedsPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PreferredStockSharesAuthorized",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "058 - Disclosure - Stockholders' Equity (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails",
     "shortName": "Stockholders' Equity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:CommonStockShareIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c16",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "005 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)",
     "role": "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
     "shortName": "Condensed Consolidated Statements of Cash Flows (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c16",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:FairValueAdjustmentOfWarrants",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightOutstanding",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "059 - Disclosure - Warrants (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/WarrantsDetails",
     "shortName": "Warrants (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "lang": "en-US",
      "name": "mcmj:DescriptionOfWarrantsForRedemption",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightOutstanding",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060 - Disclosure - Fair Value Measurements (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/FairValueMeasurementsDetails",
     "shortName": "Fair Value Measurements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": "2",
      "lang": null,
      "name": "mcmj:WarrantPricePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c214",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:MarketableSecuritiesHeldInTrustAccount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061 - Disclosure -  Fair Value Measurements (Details) - Schedule of assets are measured at fair value on a recurring basis",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable",
     "shortName": "Fair Value Measurements (Details) - Schedule of assets are measured at fair value on a recurring basis",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c216",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "062 - Disclosure -  Fair Value Measurements (Details) - Schedule of quantitative information regarding Level 3 fair value measurements",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable",
     "shortName": "Fair Value Measurements (Details) - Schedule of quantitative information regarding Level 3 fair value measurements",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c216",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c224",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueNetAssetLiability",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "063 - Disclosure -  Fair Value Measurements (Details) - Schedule of changes in fair value of warrant liabilities",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable",
     "shortName": "Fair Value Measurements (Details) - Schedule of changes in fair value of warrant liabilities",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:MergerAgreementDescription",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "064 - Disclosure - Subsequent Events (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails",
     "shortName": "Subsequent Events (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c227",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:StockIssuedDuringPeriodSharesStockOptionExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c240",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityCarryingAmountAttributableToParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "065 - Disclosure - Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of balance sheet",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
     "shortName": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of balance sheet",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c240",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityCarryingAmountAttributableToParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedIncomeStatementTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c270",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilities",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "066 - Disclosure - Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of operations statement",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable",
     "shortName": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of operations statement",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedIncomeStatementTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c273",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DerivativeLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "mcmj:ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceInitialPublicOffering",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "067 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of Common Stock reflected in the balance sheets",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofCommonStockreflectedinthebalancesheetsTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of Common Stock reflected in the balance sheets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c15",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:AccretionOfCarryingValueToRedemptionValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c16",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndDividendIncomeSecuritiesOther",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "068 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of basic and diluted net income (loss) per common share",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of basic and diluted net income (loss) per common share",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c16",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndDividendIncomeSecuritiesOther",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "006 - Disclosure - Description of Organization, Business Operations and Going Concern",
     "role": "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcern",
     "shortName": "Description of Organization, Business Operations and Going Concern",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c12",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityNetIncome",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "069 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of basic and diluted net income (loss) per common share",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable0",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of basic and diluted net income (loss) per common share",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalIncomeTaxExpenseBenefitContinuingOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "070 - Disclosure - Income Tax (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails",
     "shortName": "Income Tax (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalIncomeTaxExpenseBenefitContinuingOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c2",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "071 - Disclosure - Income Tax (Details) - Schedule of company\u2019s net deferred tax assets",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofcompanysnetdeferredtaxassetsTable",
     "shortName": "Income Tax (Details) - Schedule of company\u2019s net deferred tax assets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c2",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c16",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "072 - Disclosure - Income Tax (Details) - Schedule of income tax provision",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable",
     "shortName": "Income Tax (Details) - Schedule of income tax provision",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c16",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c16",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "073 - Disclosure - Income Tax (Details) - Schedule of reconciliation of federal income tax rate to the company\u2019s effective tax rate",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofreconciliationoffederalincometaxratetothecompanyseffectivetaxrateTable",
     "shortName": "Income Tax (Details) - Schedule of reconciliation of federal income tax rate to the company\u2019s effective tax rate",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c16",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c214",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:MarketableSecuritiesHeldInTrustAccount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "074 - Disclosure - Fair Value Measurements (Details) - Schedule of assets are measured at fair value on a recurring basis",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable0",
     "shortName": "Fair Value Measurements (Details) - Schedule of assets are measured at fair value on a recurring basis",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c5",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "075 - Disclosure - Fair Value Measurements (Details) - Schedule of quantitative information regarding Level 3 fair value measurements",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable0",
     "shortName": "Fair Value Measurements (Details) - Schedule of quantitative information regarding Level 3 fair value measurements",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c5",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c224",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueNetAssetLiability",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "076 - Disclosure - Fair Value Measurements (Details) - Schedule of changes in fair value of warrant liabilities",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable0",
     "shortName": "Fair Value Measurements (Details) - Schedule of changes in fair value of warrant liabilities",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c323",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:InitialMeasurement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "mcmj:CashAndCashEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "077 - Disclosure - Significant Accounting Policies (Details) - Schedule of cash, cash equivalents, and restricted cash",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable",
     "shortName": "Significant Accounting Policies (Details) - Schedule of cash, cash equivalents, and restricted cash",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "mcmj:CashAndCashEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherCurrentAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PrepaidExpenseCurrentAndNoncurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "078 - Disclosure - Prepaid Expenses and Other Current Assets (Details) - Schedule of prepaid expenses and other current assets",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable",
     "shortName": "Prepaid Expenses and Other Current Assets (Details) - Schedule of prepaid expenses and other current assets",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "007 - Disclosure - Restatement of Previously Issued Financial Statements",
     "role": "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatements",
     "shortName": "Restatement of Previously Issued Financial Statements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CostOfGoodsAndServicesSoldDepreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "079 - Disclosure - Property and Equipment, Net (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetDetails",
     "shortName": "Property and Equipment, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CostOfGoodsAndServicesSoldDepreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FurnitureAndFixturesGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "080 - Disclosure - Property and Equipment, Net (Details) - Schedule of property and equipment",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
     "shortName": "Property and Equipment, Net (Details) - Schedule of property and equipment",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeRelatedLiabilitiesCurrentAndNoncurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081 - Disclosure - Accrued Expenses (Details) - Schedule of accrued expenses",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable",
     "shortName": "Accrued Expenses (Details) - Schedule of accrued expenses",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c93",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:EarlyExerciseStockOptionLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:RevenueAndContractBalanceDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "082 - Disclosure - Revenue and Contract Balances (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesDetails",
     "shortName": "Revenue and Contract Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:RevenueAndContractBalanceDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c399",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueNotFromContractWithCustomer",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "083 - Disclosure - Revenue and Contract Balances (Details) - Schedule of revenue by service type",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of revenue by service type",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c399",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:IncomeTaxReconciliationStateAndLocalTaxes",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "084 - Disclosure - Revenue and Contract Balances (Details) - Schedule of revenue by geographic region",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of revenue by geographic region",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c399",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "mcmj:OverTime",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "085 - Disclosure - Revenue and Contract Balances (Details) - Schedule of revenue by timing of recognition",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of revenue by timing of recognition",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RestructuringReserve",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "086 - Disclosure - Revenue and Contract Balances (Details) - Schedule of allowance for doubtful accounts",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of allowance for doubtful accounts",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c84",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RestructuringReserve",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfPrincipalTransactionsRevenueTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredRevenue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "087 - Disclosure - Revenue and Contract Balances (Details) - Schedule of changes in deferred revenue",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable",
     "shortName": "Revenue and Contract Balances (Details) - Schedule of changes in deferred revenue",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfPrincipalTransactionsRevenueTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c84",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DeferredRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "mcmj:IncomeTaxReconciliationsStateAndLocalIncomeTaxes",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "088 - Disclosure - Income Taxes (Details) - Schedule of net loss before income taxes",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable",
     "shortName": "Income Taxes (Details) - Schedule of net loss before income taxes",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "mcmj:IncomeTaxReconciliationsStateAndLocalIncomeTaxes",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "008 - Disclosure - Summary of Significant Accounting Policies",
     "role": "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "089 - Disclosure - Income Taxes (Details) - Schedule of income taxes differs from the amount estimated by applying the statutory federal income tax rate to net loss before taxes",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable",
     "shortName": "Income Taxes (Details) - Schedule of income taxes differs from the amount estimated by applying the statutory federal income tax rate to net loss before taxes",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwardsDomestic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090 - Disclosure - Income Taxes (Details) - Schedule of deferred tax assets and liabilities",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable",
     "shortName": "Income Taxes (Details) - Schedule of deferred tax assets and liabilities",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwardsDomestic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentRepurchaseAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091 - Disclosure - Convertible Promissory Notes (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails",
     "shortName": "Convertible Promissory Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentRepurchaseAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "092 - Disclosure - Stockholder\u2019s Equity (Details) - Schedule of common stock",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
     "shortName": "Stockholder\u2019s Equity (Details) - Schedule of common stock",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c353",
      "decimals": "4",
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "mcmj:ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c120",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "093 - Disclosure - Stockholder\u2019s Equity (Details) - Schedule of reserved shares of common stock for future issuance",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
     "shortName": "Stockholder\u2019s Equity (Details) - Schedule of reserved shares of common stock for future issuance",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "mcmj:ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c348",
      "decimals": "0",
      "lang": null,
      "name": "mcmj:SeriesAPreferredStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c362",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:PrivateerPlanDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "094 - Disclosure - Equity Incentive Plans (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails",
     "shortName": "Equity Incentive Plans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c362",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mcmj:PrivateerPlanDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "095 - Disclosure - Equity Incentive Plans (Details) - Schedule of fair value of each stock option award to employees on the date of grant using the Black-Scholes option pricing model",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
     "shortName": "Equity Incentive Plans (Details) - Schedule of fair value of each stock option award to employees on the date of grant using the Black-Scholes option pricing model",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c17",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "mcmj:ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c102",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "096 - Disclosure - Equity Incentive Plans (Details) - Schedule of stock option activity",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
     "shortName": "Equity Incentive Plans (Details) - Schedule of stock option activity",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockOptionsRollForwardTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c93",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "097 - Disclosure - Equity Incentive Plans (Details) - Schedule of early exercise activity",
     "role": "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable",
     "shortName": "Equity Incentive Plans (Details) - Schedule of early exercise activity",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockOptionsRollForwardTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c93",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanAdministrativeExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "098 - Disclosure - Defined Contribution Plan (Details)",
     "role": "http://www.MeridaMergerCorp.com/role/DefinedContributionPlanDetails",
     "shortName": "Defined Contribution Plan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42021a4_merida1.htm",
      "contextRef": "c19",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanAdministrativeExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 71,
   "tag": {
    "dei_AmendmentDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of changes contained within amended document.",
        "label": "Amendment Description",
        "terseLabel": "Amendment Description"
       }
      }
     },
     "localname": "AmendmentDescription",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "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",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "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."
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "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."
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "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",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r614"
     ],
     "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",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r614"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period",
        "terseLabel": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r614"
     ],
     "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",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "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",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r614"
     ],
     "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",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r614"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "mcmj_AccountingPoliciesbyPolicyPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies, by Policy (Policies) [Line Items]"
       }
      }
     },
     "localname": "AccountingPoliciesbyPolicyPoliciesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccountingPoliciesbyPolicyPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies, by Policy (Policies) [Table]"
       }
      }
     },
     "localname": "AccountingPoliciesbyPolicyPoliciesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccretionForCommonStockToRedemptionAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock bought back by the entity at the exercise price or redemption price.",
        "label": "AccretionForCommonStockToRedemptionAmount",
        "terseLabel": "Accretion for common stock to redemption amount"
       }
      }
     },
     "localname": "AccretionForCommonStockToRedemptionAmount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AccretionForCommonStockToRedemptionAmounts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accretion for common stock to redemption amount.",
        "label": "AccretionForCommonStockToRedemptionAmounts",
        "terseLabel": "Accretion for common stock to redemption amount"
       }
      }
     },
     "localname": "AccretionForCommonStockToRedemptionAmounts",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AccretionForCommonStocksToRedemptionAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accretion for common stock to redemption amount.",
        "label": "AccretionForCommonStocksToRedemptionAmount",
        "terseLabel": "Accretion for common stock to redemption amount"
       }
      }
     },
     "localname": "AccretionForCommonStocksToRedemptionAmount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AccretionOfCarryingValueToRedemptionValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "AccretionOfCarryingValueToRedemptionValue",
        "terseLabel": "Accretion of carrying value to redemption value"
       }
      }
     },
     "localname": "AccretionOfCarryingValueToRedemptionValue",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofCommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AccruedExpensesDetailsScheduleofaccruedexpensesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Expenses (Details) - Schedule of accrued expenses [Line Items]"
       }
      }
     },
     "localname": "AccruedExpensesDetailsScheduleofaccruedexpensesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccruedExpensesDetailsScheduleofaccruedexpensesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Expenses (Details) - Schedule of accrued expenses [Table]"
       }
      }
     },
     "localname": "AccruedExpensesDetailsScheduleofaccruedexpensesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccruedExpensesDetailsScheduleofaccruedexpensesandothercurrentliabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Expenses (Details) - Schedule of accrued expenses and other current liabilities [Line Items]"
       }
      }
     },
     "localname": "AccruedExpensesDetailsScheduleofaccruedexpensesandothercurrentliabilitiesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccruedExpensesDetailsScheduleofaccruedexpensesandothercurrentliabilitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Expenses (Details) - Schedule of accrued expenses and other current liabilities [Table]"
       }
      }
     },
     "localname": "AccruedExpensesDetailsScheduleofaccruedexpensesandothercurrentliabilitiesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccruedExpensesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Expenses [Line Items]"
       }
      }
     },
     "localname": "AccruedExpensesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccruedExpenses"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccruedExpensesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Expenses [Table]"
       }
      }
     },
     "localname": "AccruedExpensesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccruedExpenses"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccruedExpensesTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Expenses (Tables) [Line Items]"
       }
      }
     },
     "localname": "AccruedExpensesTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccruedExpensesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccruedExpensesTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Expenses (Tables) [Table]"
       }
      }
     },
     "localname": "AccruedExpensesTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccruedExpensesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AccruedLegalCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable": {
       "order": 3.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued legal costs.",
        "label": "AccruedLegalCosts",
        "terseLabel": "Accrued legal costs"
       }
      }
     },
     "localname": "AccruedLegalCosts",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AccumulatedDeficit": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "AccumulatedDeficit",
        "terseLabel": "Accumulated deficit"
       }
      }
     },
     "localname": "AccumulatedDeficit",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AccumulatedDeficitRetainedEarnings": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 7.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of (Accumulated deficit)/Retained earnings.",
        "label": "AccumulatedDeficitRetainedEarnings",
        "terseLabel": "(Accumulated deficit)/Retained earnings"
       }
      }
     },
     "localname": "AccumulatedDeficitRetainedEarnings",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AdjustmentMember",
        "terseLabel": "Adjustment [Member]"
       }
      }
     },
     "localname": "AdjustmentMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_AdjustmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AdjustmentsAbstract",
        "terseLabel": "Adjustments:"
       }
      }
     },
     "localname": "AdjustmentsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_AdjustmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AdjustmentsMember",
        "terseLabel": "Adjustments [Member]"
       }
      }
     },
     "localname": "AdjustmentsMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_AggregateCashAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "AggregateCashAmount",
        "terseLabel": "Aggregate cash amount"
       }
      }
     },
     "localname": "AggregateCashAmount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AggregateFairMarketValuePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate Fair Market Value Percentage.",
        "label": "AggregateFairMarketValuePercentage",
        "terseLabel": "Aggregate fair market value, percentage"
       }
      }
     },
     "localname": "AggregateFairMarketValuePercentage",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_AggregatePrincipalAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "AggregatePrincipalAmount",
        "terseLabel": "Aggregate principal amount"
       }
      }
     },
     "localname": "AggregatePrincipalAmount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_AggregateShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AggregateShares",
        "terseLabel": "Aggregate shares (in Shares)"
       }
      }
     },
     "localname": "AggregateShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_Amendment1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment1Member",
        "terseLabel": "Amendment 1 [Member]"
       }
      }
     },
     "localname": "Amendment1Member",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_Amendment2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment2Member",
        "terseLabel": "Amendment 2 [Member]"
       }
      }
     },
     "localname": "Amendment2Member",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_AsPreviouslyReportedInForm10KAmendment1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AsPreviouslyReportedInForm10KAmendment1Member",
        "terseLabel": "As Previously Reported in Form 10-K Amendment 1 [Member]"
       }
      }
     },
     "localname": "AsPreviouslyReportedInForm10KAmendment1Member",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_AsPreviouslyReportedInForm10KMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AsPreviouslyReportedInForm10KMember",
        "terseLabel": "As Previously Reported in Form 10-K [Member]"
       }
      }
     },
     "localname": "AsPreviouslyReportedInForm10KMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_AsRestatedInForm10KAmendment1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AsRestatedInForm10KAmendment1Member",
        "terseLabel": "As Restated in Form 10-K Amendment 1 [Member]"
       }
      }
     },
     "localname": "AsRestatedInForm10KAmendment1Member",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_AsRestatedInForm10KAmendment2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AsRestatedInForm10KAmendment2Member",
        "terseLabel": "As Restated in Form 10-K Amendment 2 [Member]"
       }
      }
     },
     "localname": "AsRestatedInForm10KAmendment2Member",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_AsRestatedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AsRestatedMember",
        "terseLabel": "As Restated [Member]"
       }
      }
     },
     "localname": "AsRestatedMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_AssetsAbstract0000": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetsAbstract0000",
        "terseLabel": "Assets:"
       }
      }
     },
     "localname": "AssetsAbstract0000",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_BalanceSheetAsOfDecember312019AuditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BalanceSheetAsOfDecember312019AuditedAbstract",
        "terseLabel": "Balance Sheet as of December 31, 2019 (audited)"
       }
      }
     },
     "localname": "BalanceSheetAsOfDecember312019AuditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_BalanceSheetAsOfDecember312020AuditedAbstract00": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BalanceSheetAsOfDecember312020AuditedAbstract00",
        "terseLabel": "Balance sheet as of December 31, 2020 (audited)"
       }
      }
     },
     "localname": "BalanceSheetAsOfDecember312020AuditedAbstract00",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_BalanceSheetAsOfJune302021UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BalanceSheetAsOfJune302021UnauditedAbstract",
        "terseLabel": "Balance Sheet as of June 30, 2021 (unaudited)"
       }
      }
     },
     "localname": "BalanceSheetAsOfJune302021UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_BalanceSheetAsOfMarch312020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BalanceSheetAsOfMarch312020UnauditedAbstract",
        "terseLabel": "Balance Sheet as of March 31, 2020 (unaudited)"
       }
      }
     },
     "localname": "BalanceSheetAsOfMarch312020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_BasicAndDilutedNetIncomePerShareCommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BasicAndDilutedNetIncomePerShareCommonStockSubjectToPossibleRedemption",
        "label": "BasicAndDilutedNetIncomePerShareCommonStockSubjectToPossibleRedemption",
        "terseLabel": "Basic and diluted net income (loss) per share, Common stock subject to possible redemption(1) (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetIncomePerShareCommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetIncomePerShareCommonStockSubjectToPossibleRedemptioninDollar": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted net income per share, Common Stock subject to possible redemption.",
        "label": "BasicAndDilutedNetIncomePerShareCommonStockSubjectToPossibleRedemptioninDollar",
        "terseLabel": "Basic and diluted net income per share, Common Stock subject to possible redemption (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetIncomePerShareCommonStockSubjectToPossibleRedemptioninDollar",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetIncomePerShareCommonStockinDollarsPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted net income per share, Common Stock.",
        "label": "BasicAndDilutedNetIncomePerShareCommonStockinDollarsPerShare",
        "terseLabel": "Basic and diluted net income per share, Common Stock (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetIncomePerShareCommonStockinDollarsPerShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetIncomePerShareSCommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted net income per share, Common Stock subject to possible redemption.",
        "label": "BasicAndDilutedNetIncomePerShareSCommonStockSubjectToPossibleRedemption",
        "terseLabel": "Basic and diluted net income per share, Common Stock subject to possible redemption"
       }
      }
     },
     "localname": "BasicAndDilutedNetIncomePerShareSCommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetIncomePerShareinDollarsPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BasicAndDilutedNetIncomePerShareinDollarsPerShare",
        "terseLabel": "Basic and diluted net income per share (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetIncomePerShareinDollarsPerShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetIncomelossPerShareCommonStockSubjectToPossibleRedemptionin": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted net income (loss) per share, Common Stock subject to possible redemption.",
        "label": "BasicAndDilutedNetIncomelossPerShareCommonStockSubjectToPossibleRedemptionin",
        "terseLabel": "Basic and diluted net income (loss) per share, Common Stock subject to possible redemption (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetIncomelossPerShareCommonStockSubjectToPossibleRedemptionin",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetLossPerShareCommonStockinDollarsPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted net loss per share, Common Stock.",
        "label": "BasicAndDilutedNetLossPerShareCommonStockinDollarsPerShare",
        "terseLabel": "Basic and diluted net loss per share, Common Stock (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetLossPerShareCommonStockinDollarsPerShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetLossPerShareNonredeemableCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BasicAndDilutedNetLossPerShareNonredeemableCommonStock",
        "label": "BasicAndDilutedNetLossPerShareNonredeemableCommonStock",
        "terseLabel": "Basic and diluted net loss per share, Non-redeemable common stock (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetLossPerShareNonredeemableCommonStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetLossPerShareSCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted net loss per share, Common Stock.",
        "label": "BasicAndDilutedNetLossPerShareSCommonStock",
        "terseLabel": "Basic and diluted net loss per share, Common Stock"
       }
      }
     },
     "localname": "BasicAndDilutedNetLossPerShareSCommonStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedNetlossIncomePerShareNonredeemableCommonStockinDollarsPerShar": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BasicAndDilutedNetlossIncomePerShareNonredeemableCommonStockinDollarsPerShar",
        "terseLabel": "Basic and diluted net (loss) income per share, Non-redeemable common stock (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetlossIncomePerShareNonredeemableCommonStockinDollarsPerShar",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BasicAndDilutedWeightedAverageSharesOutstandingCommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BasicAndDilutedWeightedAverageSharesOutstandingCommonStockSubjectToPossibleRedemption",
        "label": "BasicAndDilutedWeightedAverageSharesOutstandingCommonStockSubjectToPossibleRedemption",
        "terseLabel": "Basic and diluted weighted-average shares outstanding, Common stock subject to possible redemption (in Shares)"
       }
      }
     },
     "localname": "BasicAndDilutedWeightedAverageSharesOutstandingCommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_BasicAndDilutedWeightedAverageSharesOutstandingNonredeemableCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BasicAndDilutedWeightedAverageSharesOutstandingNonredeemableCommonStock",
        "label": "BasicAndDilutedWeightedAverageSharesOutstandingNonredeemableCommonStock",
        "terseLabel": "Basic and diluted weighted-average shares outstanding, Non-redeemable common stock (in Shares)"
       }
      }
     },
     "localname": "BasicAndDilutedWeightedAverageSharesOutstandingNonredeemableCommonStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_BasicAndDilutedWeightedAverageSharesOutstandingNonredeemableCommonStockinSha": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BasicAndDilutedWeightedAverageSharesOutstandingNonredeemableCommonStockinSha",
        "terseLabel": "Basic and diluted weighted average shares outstanding, Non-redeemable common stock (in Shares)"
       }
      }
     },
     "localname": "BasicAndDilutedWeightedAverageSharesOutstandingNonredeemableCommonStockinSha",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_BasicAndDilutedWeightedAverageSharesOutstandinginShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BasicAndDilutedWeightedAverageSharesOutstandinginShares",
        "terseLabel": "Basic and diluted weighted average shares outstanding (in Shares)"
       }
      }
     },
     "localname": "BasicAndDilutedWeightedAverageSharesOutstandinginShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_BasicsAndDilutedNetLossPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted net loss per share.",
        "label": "BasicsAndDilutedNetLossPerShare",
        "terseLabel": "Basic and diluted net loss per share"
       }
      }
     },
     "localname": "BasicsAndDilutedNetLossPerShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcomputationofbasicanddilutednetlosspershareattributabletocommonstockholdersTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcomputationofbasicanddilutednetlosspershareattributabletocommonstockholdersTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_BrandsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BrandsMember",
        "terseLabel": "Brands [Member]"
       }
      }
     },
     "localname": "BrandsMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_BusinessCombinationOwnsOrAcquiresPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business Combination Owns or Acquires Percentage.",
        "label": "BusinessCombinationOwnsOrAcquiresPercentage",
        "terseLabel": "Business combination owns or acquires, percentage"
       }
      }
     },
     "localname": "BusinessCombinationOwnsOrAcquiresPercentage",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_CashAndCashEquivalents": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "CashAndCashEquivalents",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalents",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_CashAndCashEquivalentsAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash and cash equivalents.",
        "label": "CashAndCashEquivalentsAmount",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAmount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_CashCashEquivalentsandRestrictedCashDetailsScheduleofcashcashequivalentsandrestrictedcashLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, and Restricted Cash (Details) - Schedule of cash, cash equivalents, and restricted cash [Line Items]"
       }
      }
     },
     "localname": "CashCashEquivalentsandRestrictedCashDetailsScheduleofcashcashequivalentsandrestrictedcashLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashCashEquivalentsandRestrictedCashDetailsScheduleofcashcashequivalentsandrestrictedcashTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, and Restricted Cash (Details) - Schedule of cash, cash equivalents, and restricted cash [Table]"
       }
      }
     },
     "localname": "CashCashEquivalentsandRestrictedCashDetailsScheduleofcashcashequivalentsandrestrictedcashTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashCashEquivalentsandRestrictedCashLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, and Restricted Cash [Line Items]"
       }
      }
     },
     "localname": "CashCashEquivalentsandRestrictedCashLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCash"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashCashEquivalentsandRestrictedCashTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, and Restricted Cash [Table]"
       }
      }
     },
     "localname": "CashCashEquivalentsandRestrictedCashTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCash"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashCashEquivalentsandRestrictedCashTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, and Restricted Cash (Tables) [Line Items]"
       }
      }
     },
     "localname": "CashCashEquivalentsandRestrictedCashTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCashTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashCashEquivalentsandRestrictedCashTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, and Restricted Cash (Tables) [Table]"
       }
      }
     },
     "localname": "CashCashEquivalentsandRestrictedCashTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCashTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashFlowStatementForTheNineMonthsEndedSeptember302020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CashFlowStatementForTheNineMonthsEndedSeptember302020UnauditedAbstract",
        "terseLabel": "Cash Flow Statement for the Nine Months Ended September 30, 2020 (unaudited)"
       }
      }
     },
     "localname": "CashFlowStatementForTheNineMonthsEndedSeptember302020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashFlowStatementForTheYearEndedDecember312019AuditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CashFlowStatementForTheYearEndedDecember312019AuditedAbstract",
        "terseLabel": "Cash Flow Statement for the Year Ended December 31, 2019 (audited)"
       }
      }
     },
     "localname": "CashFlowStatementForTheYearEndedDecember312019AuditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashFlowStatementForTheYearEndedDecember312020AuditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CashFlowStatementForTheYearEndedDecember312020AuditedAbstract",
        "terseLabel": "Cash Flow Statement for the Year Ended December 31, 2020 (audited)"
       }
      }
     },
     "localname": "CashFlowStatementForTheYearEndedDecember312020AuditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CashWithdrawnFromTrustAccountForFranchiseAndIncomeTaxPayments": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CashWithdrawnFromTrustAccountForFranchiseAndIncomeTaxPayments",
        "label": "CashWithdrawnFromTrustAccountForFranchiseAndIncomeTaxPayments",
        "terseLabel": "Cash withdrawn from Trust Account for franchise, income tax payments, and working capital needs"
       }
      }
     },
     "localname": "CashWithdrawnFromTrustAccountForFranchiseAndIncomeTaxPayments",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInFairValueOfWarrantLiabilities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in fair value of warrant liability.",
        "label": "ChangeInFairValueOfWarrantLiabilities",
        "terseLabel": "Change in fair value of warrant liability"
       }
      }
     },
     "localname": "ChangeInFairValueOfWarrantLiabilities",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInFairValueOfWarrantLiability": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in fair value of warrant liability.",
        "label": "ChangeInFairValueOfWarrantLiability",
        "terseLabel": "Change in fair value of warrant liability"
       }
      }
     },
     "localname": "ChangeInFairValueOfWarrantLiability",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInFairValueOfWarrants": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherOperatingIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ChangeInFairValueOfWarrants",
        "label": "ChangeInFairValueOfWarrants",
        "terseLabel": "Change in fair value of warrant liability"
       }
      }
     },
     "localname": "ChangeInFairValueOfWarrants",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInRelatedPartyPayables": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in related party payables.",
        "label": "ChangeInRelatedPartyPayables",
        "terseLabel": "Change in related party payables"
       }
      }
     },
     "localname": "ChangeInRelatedPartyPayables",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInValuationAllowance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in valuation allowance.",
        "label": "ChangeInValuationAllowance",
        "terseLabel": "Change in valuation allowance"
       }
      }
     },
     "localname": "ChangeInValuationAllowance",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInValueOfClassACommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in value of Class A common stock subject to possible redemption.",
        "label": "ChangeInValueOfClassACommonStockSubjectToPossibleRedemption",
        "terseLabel": "Change in value of Class A common stock subject to possible redemption"
       }
      }
     },
     "localname": "ChangeInValueOfClassACommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInValueOfCommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ChangeInValueOfCommonStockSubjectToPossibleRedemption",
        "label": "ChangeInValueOfCommonStockSubjectToPossibleRedemption",
        "terseLabel": "Accretion change in value of common stock subject to possible redemption (Restated \u2013 see Note 2)"
       }
      }
     },
     "localname": "ChangeInValueOfCommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInValueOfCommonStockSubjectToPossibleRedemptions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in value of Common Stock subject to possible redemption.",
        "label": "ChangeInValueOfCommonStockSubjectToPossibleRedemptions",
        "terseLabel": "Change in value of Common Stock subject to possible redemption"
       }
      }
     },
     "localname": "ChangeInValueOfCommonStockSubjectToPossibleRedemptions",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ChangeInValueOfCommonStockSubjectToRedemption": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in value of common stock subject to redemption.",
        "label": "ChangeInValueOfCommonStockSubjectToRedemption",
        "terseLabel": "Change in value of common stock subject to redemption"
       }
      }
     },
     "localname": "ChangeInValueOfCommonStockSubjectToRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_Class1Class2AndClass3CommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class1Class2AndClass3CommonStockMember",
        "terseLabel": "Class 1, Class 2, and Class 3 Common Stock"
       }
      }
     },
     "localname": "Class1Class2AndClass3CommonStockMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_Class1CommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class1CommonStockMember",
        "terseLabel": "Class 1 Common Stock [Member]"
       }
      }
     },
     "localname": "Class1CommonStockMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_Class2CommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class2CommonStockMember",
        "terseLabel": "Class 2 Common Stock [Member]"
       }
      }
     },
     "localname": "Class2CommonStockMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_Class3CommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class3CommonStockMember",
        "terseLabel": "Class 3 Common Stock [Member]"
       }
      }
     },
     "localname": "Class3CommonStockMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_ClassCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ClassCommonStock",
        "terseLabel": "Class common stock"
       }
      }
     },
     "localname": "ClassCommonStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_ClassOfWarrantToPurchaseSharesOfCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ClassOfWarrantToPurchaseSharesOfCommonStock",
        "label": "ClassOfWarrantToPurchaseSharesOfCommonStock",
        "terseLabel": "Warrants to purchase shares of common stock, shares (in Shares)"
       }
      }
     },
     "localname": "ClassOfWarrantToPurchaseSharesOfCommonStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_ClassOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ClassOneMember",
        "terseLabel": "Class 1 [Member]",
        "verboseLabel": "Class 1 common stock [Member]"
       }
      }
     },
     "localname": "ClassOneMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_ClassThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ClassThreeMember",
        "terseLabel": "Class 3 [Member]"
       }
      }
     },
     "localname": "ClassThreeMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_ClassTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ClassTwoMember",
        "terseLabel": "Class 2 [Member]",
        "verboseLabel": "Class 2 common stock [Member]"
       }
      }
     },
     "localname": "ClassTwoMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_CommitmentsandContingenciesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) [Line Items]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CommitmentsandContingenciesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) [Table]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CommitmentsandContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies [Line Items]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingencies"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CommitmentsandContingenciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies [Table]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingencies"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CommonShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common shares.",
        "label": "CommonShares",
        "terseLabel": "Common Shares (in Shares)"
       }
      }
     },
     "localname": "CommonShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_CommonStockDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock, description.",
        "label": "CommonStockDescription",
        "terseLabel": "Common stock, description"
       }
      }
     },
     "localname": "CommonStockDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CommonStockIssuedInExchangeForSettlementOfPrivateerRelatedPartyPayable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock issued in exchange for settlement of Privateer related party payables",
        "label": "CommonStockIssuedInExchangeForSettlementOfPrivateerRelatedPartyPayable",
        "terseLabel": "Common stock issued in exchange for settlement of Privateer related party payables (in Shares)"
       }
      }
     },
     "localname": "CommonStockIssuedInExchangeForSettlementOfPrivateerRelatedPartyPayable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_CommonStockIssuedInExchangeForSettlementOfPrivateerRelatedPartyPayables": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock issued in exchange for settlement of Privateer related party payables.",
        "label": "CommonStockIssuedInExchangeForSettlementOfPrivateerRelatedPartyPayables",
        "terseLabel": "Common stock issued in exchange for settlement of Privateer related party payables"
       }
      }
     },
     "localname": "CommonStockIssuedInExchangeForSettlementOfPrivateerRelatedPartyPayables",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_CommonStockReservedForFutureIssuance": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock reserved for future issuance.",
        "label": "CommonStockReservedForFutureIssuance",
        "terseLabel": "Common stock reserved for future issuance"
       }
      }
     },
     "localname": "CommonStockReservedForFutureIssuance",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_CommonStockShareIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock, shares issued.",
        "label": "CommonStockShareIssued",
        "terseLabel": "Common stock, shares issued"
       }
      }
     },
     "localname": "CommonStockShareIssued",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_CommonStockShareOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock, shares outstanding.",
        "label": "CommonStockShareOutstanding",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockShareOutstanding",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_CommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock subject to possible redemption.",
        "label": "CommonStockSubjectToPossibleRedemption",
        "terseLabel": "Common stock subject to possible redemption"
       }
      }
     },
     "localname": "CommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_CommonStockSubjectToPossibleRedemptionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CommonStockSubjectToPossibleRedemptionAbstract",
        "terseLabel": "Common stock subject to possible redemption"
       }
      }
     },
     "localname": "CommonStockSubjectToPossibleRedemptionAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CommonStockSubjectToPossibleRedemptionPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CommonStockSubjectToPossibleRedemptionPolicyTextBlock",
        "label": "CommonStockSubjectToPossibleRedemptionPolicyTextBlock",
        "terseLabel": "Common Stock Subject to Possible Redemption (Restated, see Note 2 \u2014 Amendment 2)"
       }
      }
     },
     "localname": "CommonStockSubjectToPossibleRedemptionPolicyTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_CommonStockSubjectToPossibleRedemptionShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CommonStockSubjectToPossibleRedemptionShare",
        "label": "CommonStockSubjectToPossibleRedemptionShare",
        "terseLabel": "Common stock subject to possible redemption"
       }
      }
     },
     "localname": "CommonStockSubjectToPossibleRedemptionShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_CommonStockSubjectToPossibleRedemptionSharesAtRedemption": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 7.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of common stock subject to possible redemption shares at redemption value.",
        "label": "CommonStockSubjectToPossibleRedemptionSharesAtRedemption",
        "terseLabel": "Common stock subject to possible redemption 12,133,696 and 12,353,237 shares at redemption value as of December 31, 2020 and 2019, respectively"
       }
      }
     },
     "localname": "CommonStockSubjectToPossibleRedemptionSharesAtRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_CommonStockValuationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CommonStockValuationPolicyTextBlock",
        "terseLabel": "Common Stock Valuation"
       }
      }
     },
     "localname": "CommonStockValuationPolicyTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_CommonStockValueOne": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of common stock value.",
        "label": "CommonStockValueOne",
        "terseLabel": "Common stock, $0.0001 par value; 50,000,000 shares authorized; 4,238,244 and 4,018,703 shares issued and outstanding (excluding 12,133,696 and 12,353,237 shares subject to possible redemption) at December 31, 2020 and 2019, respectively"
       }
      }
     },
     "localname": "CommonStockValueOne",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_CommonStockVotingRightPerShareDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock, Voting Rights.",
        "label": "CommonStockVotingRightPerShareDescription",
        "terseLabel": "Common stock, Voting Rights Per Share",
        "verboseLabel": "Common stock, Voting Rights"
       }
      }
     },
     "localname": "CommonStockVotingRightPerShareDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CondensedStatementOfChangesInStockholdersEquityDeficitAsOfDecember312020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfDecember312020UnauditedAbstract",
        "terseLabel": "Condensed Statement of Changes in Stockholders\u2019 Equity (Deficit) as of December 31, 2020 (unaudited)"
       }
      }
     },
     "localname": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfDecember312020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CondensedStatementOfChangesInStockholdersEquityDeficitAsOfJune302020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfJune302020UnauditedAbstract",
        "terseLabel": "Condensed Statement of Changes in Stockholders\u2019 Equity (Deficit) as of June 30, 2020 (unaudited)"
       }
      }
     },
     "localname": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfJune302020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CondensedStatementOfChangesInStockholdersEquityDeficitAsOfJune302021UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfJune302021UnauditedAbstract",
        "terseLabel": "Condensed Statement of Changes in Stockholders\u2019 Equity (Deficit) as of June 30, 2021 (unaudited)"
       }
      }
     },
     "localname": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfJune302021UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CondensedStatementOfChangesInStockholdersEquityDeficitAsOfMarch312020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfMarch312020UnauditedAbstract",
        "terseLabel": "Condensed Statement of Changes in Stockholders\u2019 Equity (Deficit) as of March 31, 2020 (unaudited)"
       }
      }
     },
     "localname": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfMarch312020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CondensedStatementOfChangesInStockholdersEquityDeficitAsOfMarch312021UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfMarch312021UnauditedAbstract",
        "terseLabel": "Condensed Statement of Changes in Stockholders\u2019 Equity (Deficit) as of March 31, 2021 (unaudited)"
       }
      }
     },
     "localname": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfMarch312021UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CondensedStatementOfChangesInStockholdersEquityDeficitAsOfSeptember302020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfSeptember302020UnauditedAbstract",
        "terseLabel": "Condensed Statement of Changes in Stockholders\u2019 Equity (Deficit) as of September 30, 2020 (unaudited)"
       }
      }
     },
     "localname": "CondensedStatementOfChangesInStockholdersEquityDeficitAsOfSeptember302020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CondensedStatementOfChangesInStockholdersEquityDeficitForTheYearEndedDecember312020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CondensedStatementOfChangesInStockholdersEquityDeficitForTheYearEndedDecember312020UnauditedAbstract",
        "terseLabel": "Condensed Statement of Changes in Stockholders\u2019 Equity (Deficit) for the year ended December 31, 2020 (unaudited)"
       }
      }
     },
     "localname": "CondensedStatementOfChangesInStockholdersEquityDeficitForTheYearEndedDecember312020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_ConversionOfPromissoryNoteIntoSeriesAPreferredStockNet": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conversion of promissory notes into Series A preferred stock, net.",
        "label": "ConversionOfPromissoryNoteIntoSeriesAPreferredStockNet",
        "terseLabel": "Conversion of promissory notes into Series A preferred stock, net (in Shares)"
       }
      }
     },
     "localname": "ConversionOfPromissoryNoteIntoSeriesAPreferredStockNet",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_ConversionOfPromissoryNotesIntoSeriesAPreferredStockNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conversion of promissory notes into series A preferred stock, net.",
        "label": "ConversionOfPromissoryNotesIntoSeriesAPreferredStockNet",
        "terseLabel": "Conversion of promissory notes into Series A preferred stock, net"
       }
      }
     },
     "localname": "ConversionOfPromissoryNotesIntoSeriesAPreferredStockNet",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ConversionOfSharesDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conversion of shares, description.",
        "label": "ConversionOfSharesDescription",
        "terseLabel": "Conversion of shares, description"
       }
      }
     },
     "localname": "ConversionOfSharesDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_ConversionPrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conversion price.",
        "label": "ConversionPrice",
        "terseLabel": "Conversion price per share (in Dollars per share)"
       }
      }
     },
     "localname": "ConversionPrice",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_ConversionPricePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conversion price percentage.",
        "label": "ConversionPricePercentage",
        "terseLabel": "Conversion price, percentage"
       }
      }
     },
     "localname": "ConversionPricePercentage",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_ConvertiblePromissoryNotesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Promissory Notes (Details) [Line Items]"
       }
      }
     },
     "localname": "ConvertiblePromissoryNotesDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_ConvertiblePromissoryNotesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Promissory Notes (Details) [Table]"
       }
      }
     },
     "localname": "ConvertiblePromissoryNotesDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_ConvertiblePromissoryNotesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Promissory Notes [Line Items]"
       }
      }
     },
     "localname": "ConvertiblePromissoryNotesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotes"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_ConvertiblePromissoryNotesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Promissory Notes [Table]"
       }
      }
     },
     "localname": "ConvertiblePromissoryNotesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotes"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_CoverExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover Expenses.",
        "label": "CoverExpenses",
        "terseLabel": "Additional cover to purchase additional private warrants"
       }
      }
     },
     "localname": "CoverExpenses",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_DeferredRevenues": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable.",
        "label": "DeferredRevenues",
        "periodEndLabel": "Balance September 30, 2021",
        "periodStartLabel": "Balance December 31, 2020"
       }
      }
     },
     "localname": "DeferredRevenues",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_DeferredTaxLiabilityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DeferredTaxLiabilityAbstract",
        "terseLabel": "Deferred tax liability"
       }
      }
     },
     "localname": "DeferredTaxLiabilityAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcompanysnetdeferredtaxassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DeferredTaxLiabilityNonCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "DeferredTaxLiabilityNonCurrent",
        "terseLabel": "Deferred tax liability"
       }
      }
     },
     "localname": "DeferredTaxLiabilityNonCurrent",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_DefinedContributionPlanDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined Contribution Plan (Details) [Line Items]"
       }
      }
     },
     "localname": "DefinedContributionPlanDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DefinedContributionPlanDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined Contribution Plan (Details) [Table]"
       }
      }
     },
     "localname": "DefinedContributionPlanDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DefinedContributionPlanLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined Contribution Plan [Line Items]"
       }
      }
     },
     "localname": "DefinedContributionPlanLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlan"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DenominatorWeightedAverageCommonStockSubjectToPossibleRedemptionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DenominatorWeightedAverageCommonStockSubjectToPossibleRedemptionAbstract",
        "terseLabel": "Denominator: Weighted Average Common stock subject to possible redemption"
       }
      }
     },
     "localname": "DenominatorWeightedAverageCommonStockSubjectToPossibleRedemptionAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DenominatorWeightedAverageNonRedeemableCommonStockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DenominatorWeightedAverageNonRedeemableCommonStockAbstract",
        "terseLabel": "Denominator: Weighted Average Non-Redeemable Common Stock"
       }
      }
     },
     "localname": "DenominatorWeightedAverageNonRedeemableCommonStockAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DescriptionOfWarrantsForRedemption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "DescriptionOfWarrantsForRedemption",
        "label": "DescriptionOfWarrantsForRedemption",
        "terseLabel": "Description of warrants for redemption"
       }
      }
     },
     "localname": "DescriptionOfWarrantsForRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DescriptionofOrganizationBusinessOperationsandGoingConcernDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of Organization, Business Operations and Going Concern (Details) [Line Items]"
       }
      }
     },
     "localname": "DescriptionofOrganizationBusinessOperationsandGoingConcernDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DescriptionofOrganizationBusinessOperationsandGoingConcernDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of Organization, Business Operations and Going Concern (Details) [Table]"
       }
      }
     },
     "localname": "DescriptionofOrganizationBusinessOperationsandGoingConcernDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DescriptionofOrganizationBusinessOperationsandGoingConcernLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of Organization, Business Operations and Going Concern [Line Items]"
       }
      }
     },
     "localname": "DescriptionofOrganizationBusinessOperationsandGoingConcernLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcern"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DescriptionofOrganizationBusinessOperationsandGoingConcernTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of Organization, Business Operations and Going Concern [Table]"
       }
      }
     },
     "localname": "DescriptionofOrganizationBusinessOperationsandGoingConcernTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcern"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_DocumentAndEntityInformationAbstract": {
     "auth_ref": [],
     "localname": "DocumentAndEntityInformationAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_EarlyBirdCapitalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "EarlyBirdCapitalMember",
        "terseLabel": "EarlyBird Capital [Member]"
       }
      }
     },
     "localname": "EarlyBirdCapitalMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_EarlyExerciseStockOptionLiability": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable": {
       "order": 4.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Early exercise stock option liability.",
        "label": "EarlyExerciseStockOptionLiability",
        "negatedLabel": "Early exercise stock option liability"
       }
      }
     },
     "localname": "EarlyExerciseStockOptionLiability",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_EffectiveIncomeTaxRateReconciliationNetOperatingLossCarryback": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net operating loss carryback.",
        "label": "EffectiveIncomeTaxRateReconciliationNetOperatingLossCarryback",
        "terseLabel": "Net operating loss carryback \u2013 CARES Act"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNetOperatingLossCarryback",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_EffectiveIncomeTaxRateReconciliationTransactionCostsAllocableToWarrantLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective Income Tax Rate Reconciliation, transaction costs allocable to warrant liability.",
        "label": "EffectiveIncomeTaxRateReconciliationTransactionCostsAllocableToWarrantLiability",
        "terseLabel": "Transaction costs allocable to warrant liability"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTransactionCostsAllocableToWarrantLiability",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreconciliationoffederalincometaxratetothecompanyseffectivetaxrateTable"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_EmergingGrowthCompanyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EmergingGrowthCompanyPolicyTextBlock",
        "label": "EmergingGrowthCompanyPolicyTextBlock",
        "terseLabel": "Emerging Growth Company"
       }
      }
     },
     "localname": "EmergingGrowthCompanyPolicyTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_EquityIncentivePlansDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Details) [Line Items]"
       }
      }
     },
     "localname": "EquityIncentivePlansDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansDetailsScheduleofearlyexerciseactivityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Details) - Schedule of early exercise activity [Line Items]"
       }
      }
     },
     "localname": "EquityIncentivePlansDetailsScheduleofearlyexerciseactivityLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansDetailsScheduleofearlyexerciseactivityTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Details) - Schedule of early exercise activity [Table]"
       }
      }
     },
     "localname": "EquityIncentivePlansDetailsScheduleofearlyexerciseactivityTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansDetailsScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Details) - Schedule of fair value of each stock option award to employees on the date of grant using the Black-Scholes option pricing model [Line Items]"
       }
      }
     },
     "localname": "EquityIncentivePlansDetailsScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansDetailsScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Details) - Schedule of fair value of each stock option award to employees on the date of grant using the Black-Scholes option pricing model [Table]"
       }
      }
     },
     "localname": "EquityIncentivePlansDetailsScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansDetailsScheduleofstockoptionactivityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Details) - Schedule of stock option activity [Line Items]"
       }
      }
     },
     "localname": "EquityIncentivePlansDetailsScheduleofstockoptionactivityLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansDetailsScheduleofstockoptionactivityTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Details) - Schedule of stock option activity [Table]"
       }
      }
     },
     "localname": "EquityIncentivePlansDetailsScheduleofstockoptionactivityTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Details) [Table]"
       }
      }
     },
     "localname": "EquityIncentivePlansDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans [Line Items]"
       }
      }
     },
     "localname": "EquityIncentivePlansLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlans"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans [Table]"
       }
      }
     },
     "localname": "EquityIncentivePlansTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlans"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Tables) [Line Items]"
       }
      }
     },
     "localname": "EquityIncentivePlansTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_EquityIncentivePlansTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Incentive Plans (Tables) [Table]"
       }
      }
     },
     "localname": "EquityIncentivePlansTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_ExpectedTermInYears": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term in years.",
        "label": "ExpectedTermInYears",
        "terseLabel": "Expected term in years"
       }
      }
     },
     "localname": "ExpectedTermInYears",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0"
     ],
     "xbrltype": "durationItemType"
    },
    "mcmj_ExpectedVolatility": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected volatility.",
        "label": "ExpectedVolatility",
        "terseLabel": "Expected volatility"
       }
      }
     },
     "localname": "ExpectedVolatility",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_ExtinguishmentOfPrivateerRelatedPartyPayables": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Extinguishment of Privateer related party payables.",
        "label": "ExtinguishmentOfPrivateerRelatedPartyPayables",
        "terseLabel": "Extinguishment of Privateer related party payables"
       }
      }
     },
     "localname": "ExtinguishmentOfPrivateerRelatedPartyPayables",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_FINRAMembersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FINRAMembersMember",
        "label": "FINRAMembersMember",
        "terseLabel": "FINRA [Member]"
       }
      }
     },
     "localname": "FINRAMembersMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_FairValueAssetsLevel1ToLevel2TransferAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value Assets Level1 To Level2 Transfer Amount.",
        "label": "FairValueAssetsLevel1ToLevel2TransferAmount",
        "terseLabel": "Warrant Liability\u2013 Private Warrants",
        "verboseLabel": "Warrant Liability \u2013 Private Warrants"
       }
      }
     },
     "localname": "FairValueAssetsLevel1ToLevel2TransferAmount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_FairValueMeasurementsDetailsScheduleofassetsaremeasuredatfairvalueonarecurringbasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements (Details) - Schedule of assets are measured at fair value on a recurring basis [Line Items]"
       }
      }
     },
     "localname": "FairValueMeasurementsDetailsScheduleofassetsaremeasuredatfairvalueonarecurringbasisLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_FairValueMeasurementsDetailsScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements (Details) - Schedule of assets are measured at fair value on a recurring basis [Table]"
       }
      }
     },
     "localname": "FairValueMeasurementsDetailsScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_FairValueMeasurementsDetailsScheduleofchangesinfairvalueofwarrantliabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements (Details) - Schedule of changes in fair value of warrant liabilities [Line Items]"
       }
      }
     },
     "localname": "FairValueMeasurementsDetailsScheduleofchangesinfairvalueofwarrantliabilitiesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_FairValueMeasurementsDetailsScheduleofchangesinfairvalueofwarrantliabilitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements (Details) - Schedule of changes in fair value of warrant liabilities [Table]"
       }
      }
     },
     "localname": "FairValueMeasurementsDetailsScheduleofchangesinfairvalueofwarrantliabilitiesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_FairValueMeasurementsDetailsScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements (Details) - Schedule of quantitative information regarding Level 3 fair value measurements [Line Items]"
       }
      }
     },
     "localname": "FairValueMeasurementsDetailsScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_FairValueMeasurementsDetailsScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements (Details) - Schedule of quantitative information regarding Level 3 fair value measurements [Table]"
       }
      }
     },
     "localname": "FairValueMeasurementsDetailsScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_FederalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FederalAbstract",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "FederalAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_FederalDepositoryInsuranceCoverage": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FederalDepositoryInsuranceCoverage",
        "label": "FederalDepositoryInsuranceCoverage",
        "terseLabel": "Federal depository insurance coverage"
       }
      }
     },
     "localname": "FederalDepositoryInsuranceCoverage",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ForeignOperationsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ForeignOperationsPolicyTextBlock",
        "terseLabel": "Foreign Operations"
       }
      }
     },
     "localname": "ForeignOperationsPolicyTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_FounderSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FounderSharesMember",
        "terseLabel": "Founder Shares [Member]"
       }
      }
     },
     "localname": "FounderSharesMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_GainLossOnMerchandiseInventoryAndOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "GainLossOnMerchandiseInventoryAndOther",
        "terseLabel": "Loss on write-off of merchandise inventory and other"
       }
      }
     },
     "localname": "GainLossOnMerchandiseInventoryAndOther",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_GrantExercisedTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GrantExercisedTerm",
        "terseLabel": "Grant exercised term"
       }
      }
     },
     "localname": "GrantExercisedTerm",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "mcmj_GrantsExpiryTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GrantsExpiryTerm",
        "terseLabel": "Grants expiry term"
       }
      }
     },
     "localname": "GrantsExpiryTerm",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "mcmj_GrossMarginAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GrossMarginAbstract",
        "terseLabel": "Gross margin:"
       }
      }
     },
     "localname": "GrossMarginAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_GrossMarginAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GrossMarginAbstract0",
        "terseLabel": "Gross margin:"
       }
      }
     },
     "localname": "GrossMarginAbstract0",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_GrossProceedsPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GrossProceedsPercentage",
        "label": "GrossProceedsPercentage",
        "terseLabel": "Gross proceeds, percentage"
       }
      }
     },
     "localname": "GrossProceedsPercentage",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_HoldingShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Holding shares.",
        "label": "HoldingShares",
        "terseLabel": "Holding shares (in Shares)"
       }
      }
     },
     "localname": "HoldingShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_IncomeTaxDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax (Details) [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax (Details) [Table]"
       }
      }
     },
     "localname": "IncomeTaxDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTax"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxReconciliationAllOtherCountriesIncomeTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeTaxReconciliationOtherAdjustments",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeTaxReconciliationOtherAdjustments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "IncomeTaxReconciliationAllOtherCountriesIncomeTaxes",
        "terseLabel": "All other countries"
       }
      }
     },
     "localname": "IncomeTaxReconciliationAllOtherCountriesIncomeTaxes",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_IncomeTaxReconciliationOtherAdjustment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments.",
        "label": "IncomeTaxReconciliationOtherAdjustment",
        "terseLabel": "Deferred adjustments"
       }
      }
     },
     "localname": "IncomeTaxReconciliationOtherAdjustment",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_IncomeTaxReconciliationStateAndLocalTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxReconciliationOtherAdjustments",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxReconciliationOtherAdjustments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit).",
        "label": "IncomeTaxReconciliationStateAndLocalTaxes",
        "terseLabel": "United States"
       }
      }
     },
     "localname": "IncomeTaxReconciliationStateAndLocalTaxes",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_IncomeTaxReconciliationsStateAndLocalIncomeTaxes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit).",
        "label": "IncomeTaxReconciliationsStateAndLocalIncomeTaxes",
        "negatedLabel": "Net loss before income taxes"
       }
      }
     },
     "localname": "IncomeTaxReconciliationsStateAndLocalIncomeTaxes",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_IncomeTaxTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax [Table]"
       }
      }
     },
     "localname": "IncomeTaxTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTax"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax (Tables) [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax (Tables) [Table]"
       }
      }
     },
     "localname": "IncomeTaxTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxesDetailsScheduleofdeferredtaxassetsandliabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of deferred tax assets and liabilities [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofdeferredtaxassetsandliabilitiesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxesDetailsScheduleofdeferredtaxassetsandliabilitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of deferred tax assets and liabilities [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofdeferredtaxassetsandliabilitiesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxesDetailsScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of income taxes differs from the amount estimated by applying the statutory federal income tax rate to net loss before taxes [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxesDetailsScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of income taxes differs from the amount estimated by applying the statutory federal income tax rate to net loss before taxes [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxesDetailsScheduleofnetlossbeforeincometaxesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of net loss before income taxes [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofnetlossbeforeincometaxesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncomeTaxesDetailsScheduleofnetlossbeforeincometaxesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of net loss before income taxes [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofnetlossbeforeincometaxesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_IncreaseDecreaseInOtherOperatingAssetsAmount": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 22.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": "IncreaseDecreaseInOtherOperatingAssetsAmount",
        "negatedLabel": "Other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssetsAmount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_IncurredServiceFees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incurred fees for these services.",
        "label": "IncurredServiceFees",
        "terseLabel": "Incurred service fees"
       }
      }
     },
     "localname": "IncurredServiceFees",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_InitialClassificationOfClassACommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Initial classification of Class A common stock subject to possible redemption.",
        "label": "InitialClassificationOfClassACommonStockSubjectToPossibleRedemption",
        "terseLabel": "Initial classification of Class A common stock subject to possible redemption"
       }
      }
     },
     "localname": "InitialClassificationOfClassACommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_InitialClassificationOfCommonStockSubjectToPossibleRedemptions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Initial classification of Common Stock subject to possible redemption.",
        "label": "InitialClassificationOfCommonStockSubjectToPossibleRedemptions",
        "terseLabel": "Initial classification of Common Stock subject to possible redemption"
       }
      }
     },
     "localname": "InitialClassificationOfCommonStockSubjectToPossibleRedemptions",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_InitialClassificationOfCommonStockSubjectsToPossibleRedemption": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Initial classification of common stock subject to possible redemption.",
        "label": "InitialClassificationOfCommonStockSubjectsToPossibleRedemption",
        "terseLabel": "Initial classification of common stock subject to possible redemption"
       }
      }
     },
     "localname": "InitialClassificationOfCommonStockSubjectsToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_InitialMeasurement": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Initial measurement.",
        "label": "InitialMeasurement",
        "terseLabel": "Initial measurement on November 7, 2019 (Initial Public Offering, including over-allotment)"
       }
      }
     },
     "localname": "InitialMeasurement",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_InitialPublicOfferingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Initial Public Offering [Abstract]"
       }
      }
     },
     "localname": "InitialPublicOfferingAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_InitialPublicOfferingDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Initial Public Offering (Details) [Line Items]"
       }
      }
     },
     "localname": "InitialPublicOfferingDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_InitialPublicOfferingDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Initial Public Offering (Details) [Table]"
       }
      }
     },
     "localname": "InitialPublicOfferingDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_InitialPublicOfferingTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of initial public offering.",
        "label": "InitialPublicOfferingTextBlock",
        "terseLabel": "Initial Public Offering"
       }
      }
     },
     "localname": "InitialPublicOfferingTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/InitialPublicOffering"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_InitialValueOfCommonStockSubjectToRedemptionAtIPO": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock bought back by the entity at the exercise price or redemption price.",
        "label": "InitialValueOfCommonStockSubjectToRedemptionAtIPO",
        "terseLabel": "Initial value of common stock subject to redemption at IPO"
       }
      }
     },
     "localname": "InitialValueOfCommonStockSubjectToRedemptionAtIPO",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_InitialValueOfCommonStocksSubjectToRedemptionAtIPO": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Initial value of common stock subject to redemption at IPO.",
        "label": "InitialValueOfCommonStocksSubjectToRedemptionAtIPO",
        "terseLabel": "Initial value of common stock subject to redemption at IPO"
       }
      }
     },
     "localname": "InitialValueOfCommonStocksSubjectToRedemptionAtIPO",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_IssuanceCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "IssuanceCost",
        "terseLabel": "Issuance cost (in Dollars)"
       }
      }
     },
     "localname": "IssuanceCost",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_IssuanceOfCommonStockToSponsor": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of common stock to Sponsor.",
        "label": "IssuanceOfCommonStockToSponsor",
        "terseLabel": "Issuance of common stock to Sponsor (in Shares)"
       }
      }
     },
     "localname": "IssuanceOfCommonStockToSponsor",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_IssuanceOfRepresentativeShares": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of Representative Shares.",
        "label": "IssuanceOfRepresentativeShares",
        "terseLabel": "Issuance of Representative Shares"
       }
      }
     },
     "localname": "IssuanceOfRepresentativeShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_LEAFLYHOLDINGSINCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LEAFLYHOLDINGSINCMember",
        "terseLabel": "LEAFLY HOLDINGS, INC [Member]"
       }
      }
     },
     "localname": "LEAFLYHOLDINGSINCMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_LeaflyHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LeaflyHoldingsIncMember",
        "terseLabel": "Leafly Holdings, Inc.[Member]",
        "verboseLabel": "Leafly Holdings, Inc."
       }
      }
     },
     "localname": "LeaflyHoldingsIncMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy",
      "http://www.MeridaMergerCorp.com/role/AccruedExpenses",
      "http://www.MeridaMergerCorp.com/role/AccruedExpensesTables",
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCash",
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCashTables",
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingencies",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotes",
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails",
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlan",
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlanDetails",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcern",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlans",
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails",
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansTables",
      "http://www.MeridaMergerCorp.com/role/IncomeTax",
      "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails",
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables",
      "http://www.MeridaMergerCorp.com/role/Leases",
      "http://www.MeridaMergerCorp.com/role/LeasesDetails",
      "http://www.MeridaMergerCorp.com/role/LeasesTables",
      "http://www.MeridaMergerCorp.com/role/NetLossPerShare",
      "http://www.MeridaMergerCorp.com/role/NetLossPerShareTables",
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssets",
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssetsTables",
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNet",
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetDetails",
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetTables",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactions",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/RestructuringCharges",
      "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails",
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalances",
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesDetails",
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables",
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0",
      "http://www.MeridaMergerCorp.com/role/SegmentReporting",
      "http://www.MeridaMergerCorp.com/role/SegmentReportingDetails",
      "http://www.MeridaMergerCorp.com/role/SegmentReportingTables",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquity",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityTables",
      "http://www.MeridaMergerCorp.com/role/SubsequentEvents",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPolicies",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_LeasesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases (Details) [Line Items]"
       }
      }
     },
     "localname": "LeasesDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LeasesDetailsScheduleofmaturitiesofleaseliabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases (Details) - Schedule of maturities of lease liabilities [Line Items]"
       }
      }
     },
     "localname": "LeasesDetailsScheduleofmaturitiesofleaseliabilitiesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LeasesDetailsScheduleofmaturitiesofleaseliabilitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases (Details) - Schedule of maturities of lease liabilities [Table]"
       }
      }
     },
     "localname": "LeasesDetailsScheduleofmaturitiesofleaseliabilitiesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LeasesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases (Details) [Table]"
       }
      }
     },
     "localname": "LeasesDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LeasesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Line Items]"
       }
      }
     },
     "localname": "LeasesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/Leases"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LeasesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Table]"
       }
      }
     },
     "localname": "LeasesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/Leases"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LeasesTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases (Tables) [Line Items]"
       }
      }
     },
     "localname": "LeasesTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LeasesTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases (Tables) [Table]"
       }
      }
     },
     "localname": "LeasesTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LessAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LessAbstract",
        "terseLabel": "Less:"
       }
      }
     },
     "localname": "LessAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LessAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LessAbstract0",
        "terseLabel": "Less:"
       }
      }
     },
     "localname": "LessAbstract0",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofCommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_LessImputedInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "LessImputedInterest",
        "negatedLabel": "Less imputed interest"
       }
      }
     },
     "localname": "LessImputedInterest",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_LessInterestAvailableToBeWithdrawnForPaymentOfTaxes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LessInterestAvailableToBeWithdrawnForPaymentOfTaxes",
        "label": "LessInterestAvailableToBeWithdrawnForPaymentOfTaxes",
        "terseLabel": "Less: interest available to be withdrawn for payment of taxes"
       }
      }
     },
     "localname": "LessInterestAvailableToBeWithdrawnForPaymentOfTaxes",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_LongTermLiabilityForfeitedOrExpired": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "LongTermLiabilityForfeitedOrExpired",
        "terseLabel": "Long-Term Liability, Forfeited or expired"
       }
      }
     },
     "localname": "LongTermLiabilityForfeitedOrExpired",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_LongTermLiabilityUnvested": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "LongTermLiabilityUnvested",
        "periodEndLabel": "Long-Term Liability, Unvested at ending",
        "periodStartLabel": "Long-Term Liability, Unvested at beginning"
       }
      }
     },
     "localname": "LongTermLiabilityUnvested",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_LongTermLiabilityVested": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "LongTermLiabilityVested",
        "terseLabel": "Long-Term Liability, Vested"
       }
      }
     },
     "localname": "LongTermLiabilityVested",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_MarketableSecuritiesHeldInTrustAccount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Marketable securities held in Trust Account.",
        "label": "MarketableSecuritiesHeldInTrustAccount",
        "terseLabel": "Cash and marketable securities held in Trust Account"
       }
      }
     },
     "localname": "MarketableSecuritiesHeldInTrustAccount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_MergerAgreementDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merger agreement, description.",
        "label": "MergerAgreementDescription",
        "terseLabel": "Merger agreement description",
        "verboseLabel": "Merger agreement, description"
       }
      }
     },
     "localname": "MergerAgreementDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_MinimumAmountOfNetTangibleAssetsToCompleteBusinessCombination": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum Amount of Net Tangible Assets To Complete Business Combination.",
        "label": "MinimumAmountOfNetTangibleAssetsToCompleteBusinessCombination",
        "terseLabel": "Business combination net tangible assets"
       }
      }
     },
     "localname": "MinimumAmountOfNetTangibleAssetsToCompleteBusinessCombination",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_NetIncomeAllocableToCommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NetIncomeAllocableToCommonStockSubjectToPossibleRedemption",
        "label": "NetIncomeAllocableToCommonStockSubjectToPossibleRedemption",
        "terseLabel": "Net income allocable to Common stock subject to possible redemption"
       }
      }
     },
     "localname": "NetIncomeAllocableToCommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_NetLiabilitiesOfOurForeignSubsidiaries": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net liabilities of our foreign subsidiaries.",
        "label": "NetLiabilitiesOfOurForeignSubsidiaries",
        "terseLabel": "Net liabilities of our foreign subsidiaries"
       }
      }
     },
     "localname": "NetLiabilitiesOfOurForeignSubsidiaries",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_NetLossPerShareDetailsScheduleofthreeclassesofcommonstockoutstandingLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Loss Per Share (Details) - Schedule of three classes of common stock outstanding [Line Items]"
       }
      }
     },
     "localname": "NetLossPerShareDetailsScheduleofthreeclassesofcommonstockoutstandingLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_NetLossPerShareDetailsScheduleofthreeclassesofcommonstockoutstandingTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Loss Per Share (Details) - Schedule of three classes of common stock outstanding [Table]"
       }
      }
     },
     "localname": "NetLossPerShareDetailsScheduleofthreeclassesofcommonstockoutstandingTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_NetLossPerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Loss Per Share [Line Items]"
       }
      }
     },
     "localname": "NetLossPerShareLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/NetLossPerShare"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_NetLossPerShareTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Loss Per Share [Table]"
       }
      }
     },
     "localname": "NetLossPerShareTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/NetLossPerShare"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_NetLossPerShareTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Loss Per Share (Tables) [Line Items]"
       }
      }
     },
     "localname": "NetLossPerShareTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/NetLossPerShareTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_NetLossPerShareTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Loss Per Share (Tables) [Table]"
       }
      }
     },
     "localname": "NetLossPerShareTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/NetLossPerShareTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_NetProceedsSalesOfUnits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Proceeds Sales of Units.",
        "label": "NetProceedsSalesOfUnits",
        "terseLabel": "Net proceeds sales of units"
       }
      }
     },
     "localname": "NetProceedsSalesOfUnits",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_NetTangibleAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net tangible assets.",
        "label": "NetTangibleAssets",
        "terseLabel": "Net tangible assets"
       }
      }
     },
     "localname": "NetTangibleAssets",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_NonRedeemableCommonStockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NonRedeemableCommonStockAbstract",
        "terseLabel": "Non-Redeemable Common Stock"
       }
      }
     },
     "localname": "NonRedeemableCommonStockAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_NonRedeemableNetLossIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-redeemable net loss income.",
        "label": "NonRedeemableNetLossIncome",
        "terseLabel": "Non-Redeemable Net (Loss) Income"
       }
      }
     },
     "localname": "NonRedeemableNetLossIncome",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_NoncashInterestExpenseAssociatedWithConvertibleDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncash interest expense associated with convertible debt.",
        "label": "NoncashInterestExpenseAssociatedWithConvertibleDebt",
        "terseLabel": "Noncash interest expense associated with convertible debt"
       }
      }
     },
     "localname": "NoncashInterestExpenseAssociatedWithConvertibleDebt",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_NumberOfIndividuals": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NumberOfIndividuals",
        "terseLabel": "Number of indviduals"
       }
      }
     },
     "localname": "NumberOfIndividuals",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mcmj_NumberOfSharesExercised": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of Shares, Exercised.",
        "label": "NumberOfSharesExercised",
        "negatedLabel": "Number of Shares, Exercised"
       }
      }
     },
     "localname": "NumberOfSharesExercised",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_NumberOfSharesSubjectToRedemptioninShare": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "NumberOfSharesSubjectToRedemptioninShare",
        "terseLabel": "Number of shares subject to redemption"
       }
      }
     },
     "localname": "NumberOfSharesSubjectToRedemptioninShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_NumeratorEarningsAllocableToCommonStockSubjectToPossibleRedemptionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NumeratorEarningsAllocableToCommonStockSubjectToPossibleRedemptionAbstract",
        "terseLabel": "Numerator: Earnings allocable to Common stock subject to possible redemption"
       }
      }
     },
     "localname": "NumeratorEarningsAllocableToCommonStockSubjectToPossibleRedemptionAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_NumeratorNetLossIncomeMinusNetEarningsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NumeratorNetLossIncomeMinusNetEarningsAbstract",
        "terseLabel": "Numerator: Net (Loss) Income minus Net Earnings"
       }
      }
     },
     "localname": "NumeratorNetLossIncomeMinusNetEarningsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_OfferingCostPaidDirectlyByStockholderInConsiderationForTheIssuanceOfCommonStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Offering cost paid directly by stockholder in consideration for the issuance of common stock.",
        "label": "OfferingCostPaidDirectlyByStockholderInConsiderationForTheIssuanceOfCommonStock",
        "terseLabel": "Offering cost paid directly by stockholder in consideration for the issuance of common stock"
       }
      }
     },
     "localname": "OfferingCostPaidDirectlyByStockholderInConsiderationForTheIssuanceOfCommonStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_OfferingCostsAllocatedToWarrantLiability": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 4.0,
       "parentTag": "us-gaap_OtherOperatingIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Offering costs allocated to warrant liability.",
        "label": "OfferingCostsAllocatedToWarrantLiability",
        "negatedLabel": "Offering costs allocated to warrant liability",
        "terseLabel": "Offering costs allocated to warrant liability"
       }
      }
     },
     "localname": "OfferingCostsAllocatedToWarrantLiability",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_OfferingCostsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire policy disclosure of offering costs.",
        "label": "OfferingCostsPolicyTextBlock",
        "terseLabel": "Offering Costs"
       }
      }
     },
     "localname": "OfferingCostsPolicyTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_OfficeSpaceUtilitiesAndSecretarialAndAdministrativeSupport": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Office Space Utilities And Secretarial And Administrative Support.",
        "label": "OfficeSpaceUtilitiesAndSecretarialAndAdministrativeSupport",
        "terseLabel": "Office space utilities and secretarial and administrative support"
       }
      }
     },
     "localname": "OfficeSpaceUtilitiesAndSecretarialAndAdministrativeSupport",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_OriginalExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Original exercise price.",
        "label": "OriginalExercisePrice",
        "terseLabel": "Original exercise price (in Dollars per share)"
       }
      }
     },
     "localname": "OriginalExercisePrice",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_OtherServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OtherServicesMember",
        "terseLabel": "Other services [Member]"
       }
      }
     },
     "localname": "OtherServicesMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_OutstandingPromissoryNotes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding Promissory Notes.",
        "label": "OutstandingPromissoryNotes",
        "terseLabel": "Outstanding promissory note"
       }
      }
     },
     "localname": "OutstandingPromissoryNotes",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_OverTime": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable": {
       "order": 1.0,
       "parentTag": "mcmj_TotalTime",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00": {
       "order": 1.0,
       "parentTag": "mcmj_TotalTime",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "OverTime",
        "terseLabel": "Over time"
       }
      }
     },
     "localname": "OverTime",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_PercentageOfFairValueOfGrants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PercentageOfFairValueOfGrants",
        "terseLabel": "Fair value of shares, percentage"
       }
      }
     },
     "localname": "PercentageOfFairValueOfGrants",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_PlusAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PlusAbstract",
        "terseLabel": "Plus:"
       }
      }
     },
     "localname": "PlusAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PlusAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PlusAbstract0",
        "terseLabel": "Plus:"
       }
      }
     },
     "localname": "PlusAbstract0",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PlusAbstract00": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PlusAbstract00",
        "terseLabel": "Plus:"
       }
      }
     },
     "localname": "PlusAbstract00",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofCommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PointInTime": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable": {
       "order": 2.0,
       "parentTag": "mcmj_TotalTime",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00": {
       "order": 2.0,
       "parentTag": "mcmj_TotalTime",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Point in time.",
        "label": "PointInTime",
        "terseLabel": "Point in time"
       }
      }
     },
     "localname": "PointInTime",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_PrepaidExpensesandOtherCurrentAssetsDetailsScheduleofprepaidexpensesandothercurrentassetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expenses and Other Current Assets (Details) - Schedule of prepaid expenses and other current assets [Line Items]"
       }
      }
     },
     "localname": "PrepaidExpensesandOtherCurrentAssetsDetailsScheduleofprepaidexpensesandothercurrentassetsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrepaidExpensesandOtherCurrentAssetsDetailsScheduleofprepaidexpensesandothercurrentassetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expenses and Other Current Assets (Details) - Schedule of prepaid expenses and other current assets [Table]"
       }
      }
     },
     "localname": "PrepaidExpensesandOtherCurrentAssetsDetailsScheduleofprepaidexpensesandothercurrentassetsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrepaidExpensesandOtherCurrentAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expenses and Other Current Assets [Line Items]"
       }
      }
     },
     "localname": "PrepaidExpensesandOtherCurrentAssetsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrepaidExpensesandOtherCurrentAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expenses and Other Current Assets [Table]"
       }
      }
     },
     "localname": "PrepaidExpensesandOtherCurrentAssetsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrepaidExpensesandOtherCurrentAssetsTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expenses and Other Current Assets (Tables) [Line Items]"
       }
      }
     },
     "localname": "PrepaidExpensesandOtherCurrentAssetsTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssetsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrepaidExpensesandOtherCurrentAssetsTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expenses and Other Current Assets (Tables) [Table]"
       }
      }
     },
     "localname": "PrepaidExpensesandOtherCurrentAssetsTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssetsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PretaxSeveranceExpenseWithinSalesAndMarketingExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pre-tax severance expense within sales and marketing expenses.",
        "label": "PretaxSeveranceExpenseWithinSalesAndMarketingExpenses",
        "terseLabel": "Pre-tax severance expense within sales and marketing expenses"
       }
      }
     },
     "localname": "PretaxSeveranceExpenseWithinSalesAndMarketingExpenses",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_PretaxSeveranceExpenseWithinWithinGeneralAndAdministrativeExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pre-tax severance expense within within general and administrative expenses.",
        "label": "PretaxSeveranceExpenseWithinWithinGeneralAndAdministrativeExpenses",
        "terseLabel": "Pre-tax severance expense within within general and administrative expenses"
       }
      }
     },
     "localname": "PretaxSeveranceExpenseWithinWithinGeneralAndAdministrativeExpenses",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_PretaxSeveranceExpenseWithinWithinProductDevelopmentExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pre-tax severance expense within within product development expenses.",
        "label": "PretaxSeveranceExpenseWithinWithinProductDevelopmentExpenses",
        "terseLabel": "Pre-tax severance expense within within product development expenses"
       }
      }
     },
     "localname": "PretaxSeveranceExpenseWithinWithinProductDevelopmentExpenses",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_PrivatePlacementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Private Placement [Abstract]"
       }
      }
     },
     "localname": "PrivatePlacementAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_PrivatePlacementDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Private Placement (Details) [Line Items]"
       }
      }
     },
     "localname": "PrivatePlacementDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrivatePlacementDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Private Placement (Details) [Table]"
       }
      }
     },
     "localname": "PrivatePlacementDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrivatePlacementTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PrivatePlacementTextBlock",
        "terseLabel": "Private Placement"
       }
      }
     },
     "localname": "PrivatePlacementTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrivatePlacement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_PrivatePlacementWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PrivatePlacementWarrantsMember",
        "terseLabel": "Private Warrants Outstanding [Member]"
       }
      }
     },
     "localname": "PrivatePlacementWarrantsMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_PrivateWarrantDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants are a derivative that give the right, but not the obligation, to buy or sell a security most commonly an equity at a certain price before expiration. The price at which the underlying security can be bought or sold is referred to as the exercise price or strike price.",
        "label": "PrivateWarrantDescription",
        "terseLabel": "Private warrant description"
       }
      }
     },
     "localname": "PrivateWarrantDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrivateerHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PrivateerHoldingsMember",
        "terseLabel": "Privateer Holdings [Member]"
       }
      }
     },
     "localname": "PrivateerHoldingsMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_PrivateerPlanDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PrivateerPlanDescription",
        "terseLabel": "Privateer plan, description"
       }
      }
     },
     "localname": "PrivateerPlanDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PrivateerPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PrivateerPlanMember",
        "terseLabel": "Privateer Plan [Member]"
       }
      }
     },
     "localname": "PrivateerPlanMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_ProceedsFromEarlyExerciseOfStockOptions": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from early exercise of stock options.",
        "label": "ProceedsFromEarlyExerciseOfStockOptions",
        "terseLabel": "Proceeds from early exercise of stock options"
       }
      }
     },
     "localname": "ProceedsFromEarlyExerciseOfStockOptions",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ProceedsFromPromissoryNoteRelatedParty": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from promissory note \u2013 related party.",
        "label": "ProceedsFromPromissoryNoteRelatedParty",
        "terseLabel": "Proceeds from promissory note \u2013 related party"
       }
      }
     },
     "localname": "ProceedsFromPromissoryNoteRelatedParty",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ProceedsFromSaleOfPropertyAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sale of property and equipment.",
        "label": "ProceedsFromSaleOfPropertyAndEquipment",
        "terseLabel": "Proceeds from sale of property and equipment"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyAndEquipment",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_PromissoryNoteOutstanding": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "PromissoryNoteOutstanding",
        "terseLabel": "Promissory note outstanding"
       }
      }
     },
     "localname": "PromissoryNoteOutstanding",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_PromissoryNoteRelatedParty": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "mcmj_TotalCurrentLiabilitie",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of promissory note related party.",
        "label": "PromissoryNoteRelatedParty",
        "terseLabel": "Promissory note \u2013 related party"
       }
      }
     },
     "localname": "PromissoryNoteRelatedParty",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_PropertyandEquipmentNetDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property and Equipment, Net (Details) [Line Items]"
       }
      }
     },
     "localname": "PropertyandEquipmentNetDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PropertyandEquipmentNetDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property and Equipment, Net (Details) [Table]"
       }
      }
     },
     "localname": "PropertyandEquipmentNetDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PropertyandEquipmentNetLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property and Equipment, Net [Line Items]"
       }
      }
     },
     "localname": "PropertyandEquipmentNetLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNet"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PropertyandEquipmentNetTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property and Equipment, Net [Table]"
       }
      }
     },
     "localname": "PropertyandEquipmentNetTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNet"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PropertyandEquipmentNetTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property and Equipment, Net (Tables) [Line Items]"
       }
      }
     },
     "localname": "PropertyandEquipmentNetTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PropertyandEquipmentNetTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property and Equipment, Net (Tables) [Table]"
       }
      }
     },
     "localname": "PropertyandEquipmentNetTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_PublicPlacementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A public placement is a direct offering of securities to a limited number of sophisticated investors such as insurance companies, pension funds, mezzanine funds, stock funds and trusts.",
        "label": "PublicPlacementMember",
        "terseLabel": "Public Warrants Outstanding [Member]"
       }
      }
     },
     "localname": "PublicPlacementMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_PublicSharePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Share Percentage.",
        "label": "PublicSharePercentage",
        "terseLabel": "Public share, percentage"
       }
      }
     },
     "localname": "PublicSharePercentage",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_PurchaseOfGrantedStockOptions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PurchaseOfGrantedStockOptions",
        "terseLabel": "Purchase of granted stock options (in Shares)"
       }
      }
     },
     "localname": "PurchaseOfGrantedStockOptions",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_PurchaseOfUnvestedShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase of unvested shares.",
        "label": "PurchaseOfUnvestedShares",
        "terseLabel": "Purchase of unvested shares (in Shares)"
       }
      }
     },
     "localname": "PurchaseOfUnvestedShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_PurchaseOfVestedShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase of vested shares.",
        "label": "PurchaseOfVestedShares",
        "terseLabel": "Purchase of vested shares (in Shares)"
       }
      }
     },
     "localname": "PurchaseOfVestedShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_PurchaseValueOfPromissoryNote": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase value of promissory note.",
        "label": "PurchaseValueOfPromissoryNote",
        "terseLabel": "Purchase value of promissory note"
       }
      }
     },
     "localname": "PurchaseValueOfPromissoryNote",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_RecentlyAdoptedAccountingStandardsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RecentlyAdoptedAccountingStandardsPolicyTextBlock",
        "terseLabel": "Recently Adopted Accounting Standards"
       }
      }
     },
     "localname": "RecentlyAdoptedAccountingStandardsPolicyTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_RecognizedInterestExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "RecognizedInterestExpense",
        "terseLabel": "Recognized interest expense"
       }
      }
     },
     "localname": "RecognizedInterestExpense",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_RedemptionValuePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redemption value per share.",
        "label": "RedemptionValuePerShare",
        "terseLabel": "Redemption price per share"
       }
      }
     },
     "localname": "RedemptionValuePerShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_RelatedPartyTransactionsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions (Details) [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RelatedPartyTransactionsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions (Details) [Table]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RelatedPartyTransactionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactions"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RelatedPartyTransactionsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Table]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactions"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RepaymentOfPromissoryNoteRelatedParty": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayment of promissory note \u2013 related party.",
        "label": "RepaymentOfPromissoryNoteRelatedParty",
        "negatedLabel": "Repayment of promissory note \u2013 related party"
       }
      }
     },
     "localname": "RepaymentOfPromissoryNoteRelatedParty",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_RepresentativeShare": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Representative Share.",
        "label": "RepresentativeShare",
        "terseLabel": "Representative Share (in Dollars)"
       }
      }
     },
     "localname": "RepresentativeShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_RepresentativeShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Representative Shares.",
        "label": "RepresentativeShares",
        "terseLabel": "Representative shares"
       }
      }
     },
     "localname": "RepresentativeShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_RestatementofPreviouslyIssuedFinancialStatementsDetailsScheduleofrestatementofchangesinstockholdersequityDeficitLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of changes in stockholders\u2019 equity (Deficit) [Line Items]"
       }
      }
     },
     "localname": "RestatementofPreviouslyIssuedFinancialStatementsDetailsScheduleofrestatementofchangesinstockholdersequityDeficitLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RestatementofPreviouslyIssuedFinancialStatementsDetailsScheduleofrestatementofchangesinstockholdersequityDeficitParentheticalsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of changes in stockholders\u2019 equity (Deficit) (Parentheticals) [Line Items]"
       }
      }
     },
     "localname": "RestatementofPreviouslyIssuedFinancialStatementsDetailsScheduleofrestatementofchangesinstockholdersequityDeficitParentheticalsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable_Parentheticals"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RestatementofPreviouslyIssuedFinancialStatementsDetailsScheduleofrestatementofchangesinstockholdersequityDeficitParentheticalsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of changes in stockholders\u2019 equity (Deficit) (Parentheticals) [Table]"
       }
      }
     },
     "localname": "RestatementofPreviouslyIssuedFinancialStatementsDetailsScheduleofrestatementofchangesinstockholdersequityDeficitParentheticalsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable_Parentheticals"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RestatementofPreviouslyIssuedFinancialStatementsDetailsScheduleofrestatementofchangesinstockholdersequityDeficitTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement of Previously Issued Financial Statements (Details) - Schedule of restatement of changes in stockholders\u2019 equity (Deficit) [Table]"
       }
      }
     },
     "localname": "RestatementofPreviouslyIssuedFinancialStatementsDetailsScheduleofrestatementofchangesinstockholdersequityDeficitTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RestructuringChargesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restructuring Charges (Details) [Line Items]"
       }
      }
     },
     "localname": "RestructuringChargesDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RestructuringChargesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restructuring Charges (Details) [Table]"
       }
      }
     },
     "localname": "RestructuringChargesDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RestructuringChargesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restructuring Charges [Line Items]"
       }
      }
     },
     "localname": "RestructuringChargesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringCharges"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RestructuringChargesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restructuring Charges [Table]"
       }
      }
     },
     "localname": "RestructuringChargesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringCharges"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RestructuringReserves": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan.",
        "label": "RestructuringReserves",
        "periodEndLabel": "Balance September 30, 2021",
        "periodStartLabel": "Balance December 31, 2020"
       }
      }
     },
     "localname": "RestructuringReserves",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_RevenueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RevenueAbstract",
        "terseLabel": "Revenue:"
       }
      }
     },
     "localname": "RevenueAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RevenueAbstract0",
        "terseLabel": "Revenue:"
       }
      }
     },
     "localname": "RevenueAbstract0",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueAndContractBalanceDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue and contract balance description.",
        "label": "RevenueAndContractBalanceDescription",
        "terseLabel": "Revenue and contract balance description"
       }
      }
     },
     "localname": "RevenueAndContractBalanceDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueAndContractBalancesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue And Contract Balances [Abstract]"
       }
      }
     },
     "localname": "RevenueAndContractBalancesAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueAndContractBalancesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RevenueAndContractBalancesTextBlock",
        "terseLabel": "Revenue and Contract Balances"
       }
      }
     },
     "localname": "RevenueAndContractBalancesTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalances"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_RevenueandContractBalancesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue and Contract Balances (Details) [Line Items]"
       }
      }
     },
     "localname": "RevenueandContractBalancesDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueandContractBalancesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue and Contract Balances (Details) [Table]"
       }
      }
     },
     "localname": "RevenueandContractBalancesDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueandContractBalancesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue and Contract Balances [Line Items]"
       }
      }
     },
     "localname": "RevenueandContractBalancesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalances"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueandContractBalancesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue and Contract Balances [Table]"
       }
      }
     },
     "localname": "RevenueandContractBalancesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalances"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueandContractBalancesTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue and Contract Balances (Tables) [Line Items]"
       }
      }
     },
     "localname": "RevenueandContractBalancesTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenueandContractBalancesTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue and Contract Balances (Tables) [Table]"
       }
      }
     },
     "localname": "RevenueandContractBalancesTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_RevenuesAndExpensesPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenues and expenses percentage.",
        "label": "RevenuesAndExpensesPercentage",
        "terseLabel": "Revenues and expenses percentage"
       }
      }
     },
     "localname": "RevenuesAndExpensesPercentage",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_RiskfreeInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk-free interest rate.",
        "label": "RiskfreeInterestRate",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "RiskfreeInterestRate",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_SaleOf13001552UnitsNetOfUnderwritingDiscountAndOfferingExpenses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of units, net of underwriting discount and offering expenses.",
        "label": "SaleOf13001552UnitsNetOfUnderwritingDiscountAndOfferingExpenses",
        "terseLabel": "Sale of 13,001,552 Units, net of underwriting discount and offering expenses"
       }
      }
     },
     "localname": "SaleOf13001552UnitsNetOfUnderwritingDiscountAndOfferingExpenses",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_SaleOfUnitsNetOfUnderwritingDiscountAndOfferingExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of units, net of underwriting discount and offering expenses",
        "label": "SaleOfUnitsNetOfUnderwritingDiscountAndOfferingExpenses",
        "terseLabel": "Sale of 13,001,552 Units, net of underwriting discount and offering expenses"
       }
      }
     },
     "localname": "SaleOfUnitsNetOfUnderwritingDiscountAndOfferingExpenses",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ScheduleOfAccruedExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of accrued expenses [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfAccruedExpensesAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of accrued expenses and other current liabilities [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfAllowanceForDoubtfulAccountsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of allowance for doubtful accounts [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfAllowanceForDoubtfulAccountsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfAntidilutiveExcludedFromTheComputationOfDilutedNetIncomePerShareAttributableToCommonStockholdersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of antidilutive excluded from the computation of diluted net income per share attributable to common stockholders [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveExcludedFromTheComputationOfDilutedNetIncomePerShareAttributableToCommonStockholdersAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfAssetsAreMeasuredAtFairValueOnARecurringBasisAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of assets are measured at fair value on a recurring basis [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfAssetsAreMeasuredAtFairValueOnARecurringBasisAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfBasicAndDilutedNetIncomeLossPerCommonShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of basic and diluted net income (loss) per common share [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfBasicAndDilutedNetIncomeLossPerCommonShareAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfBasicAndDilutedNetLossPerCommonShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of basic and diluted net loss per common share [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfBasicAndDilutedNetLossPerCommonShareAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfCashCashEquivalentsAndRestrictedCashAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of cash, cash equivalents, and restricted cash [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfCashCashEquivalentsAndRestrictedCashAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfChangesInDeferredRevenueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of changes in deferred revenue [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfChangesInDeferredRevenueAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfChangesInFairValueOfWarrantLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of changes in fair value of warrant liabilities [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfChangesInFairValueOfWarrantLiabilitiesAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfCommonStockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of common stock [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfCommonStockAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfCommonStockReflectedInTheBalanceSheetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of common Stock reflected in the balance sheets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfCommonStockReflectedInTheBalanceSheetsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of schedule of common Stock reflected in the balance sheets.",
        "label": "ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock",
        "terseLabel": "Schedule of common Stock reflected in the balance sheets"
       }
      }
     },
     "localname": "ScheduleOfCommonStockReflectedInTheBalanceSheetsTableTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_ScheduleOfCompanySNetDeferredTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of company\u2019s net deferred tax assets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfCompanySNetDeferredTaxAssetsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfComputationOfBasicAndDilutedNetLossPerShareAttributableToCommonStockholdersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of computation of basic and diluted net loss per share attributable to common stockholders [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfComputationOfBasicAndDilutedNetLossPerShareAttributableToCommonStockholdersAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfDeferredTaxAssetsAndLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of deferred tax assets and liabilities [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfEarlyExerciseActivityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of early exercise activity [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfEarlyExerciseActivityAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfFairValueOfEachStockOptionAwardToEmployeesOnTheDateOfGrantUsingTheBlackScholesOptionPricingModelAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of fair value of each stock option award to employees on the date of grant using the Black-Scholes option pricing model [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFairValueOfEachStockOptionAwardToEmployeesOnTheDateOfGrantUsingTheBlackScholesOptionPricingModelAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfIncomeTaxProvisionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of income tax provision [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfIncomeTaxProvisionAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfIncomeTaxesDiffersFromTheAmountEstimatedByApplyingTheStatutoryFederalIncomeTaxRateToNetLossBeforeTaxesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of income taxes differs from the amount estimated by applying the statutory federal income tax rate to net loss before taxes [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfIncomeTaxesDiffersFromTheAmountEstimatedByApplyingTheStatutoryFederalIncomeTaxRateToNetLossBeforeTaxesAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfMaturitiesOfLeaseLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of maturities of lease liabilities [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLeaseLiabilitiesAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfNetLossBeforeIncomeTaxesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of net loss before income taxes [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfNetLossBeforeIncomeTaxesAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfPrepaidExpensesAndOtherCurrentAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of prepaid expenses and other current assets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfPrepaidExpensesAndOtherCurrentAssetsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfPropertyAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of property and equipment [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfPropertyAndEquipmentAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfQuantitativeInformationRegardingLevel3FairValueMeasurementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of quantitative information regarding Level 3 fair value measurements [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfQuantitativeInformationRegardingLevel3FairValueMeasurementsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfReconciliationOfFederalIncomeTaxRateToTheCompanySEffectiveTaxRateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of reconciliation of federal income tax rate to the company\u2019s effective tax rate [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfReconciliationOfFederalIncomeTaxRateToTheCompanySEffectiveTaxRateAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfReservedSharesOfCommonStockForFutureIssuanceAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of reserved shares of common stock for future issuance [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfReservedSharesOfCommonStockForFutureIssuanceAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock",
        "terseLabel": "Schedule of reserved shares of common stock for future issuance"
       }
      }
     },
     "localname": "ScheduleOfReservedSharesOfCommonStockForFutureIssuanceTableTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_ScheduleOfRestatementOfBalanceSheetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of restatement of balance sheet [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfRestatementOfBalanceSheetAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfRestatementOfChangesInStockholdersEquityDeficitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of restatement of changes in stockholders\u2019 equity (Deficit) [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfRestatementOfChangesInStockholdersEquityDeficitAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfRestatementOfOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of restatement of operations [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfRestatementOfOperationsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfRestatementOfOperationsStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of restatement of operations statement [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfRestatementOfOperationsStatementAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfRevenueByGeographicRegionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of revenue by geographic region [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfRevenueByGeographicRegionAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfRevenueByServiceTypeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of revenue by service type [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfRevenueByServiceTypeAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfRevenueByTimingOfRecognitionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of revenue by timing of recognition [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfRevenueByTimingOfRecognitionAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfSegmentRevenueAndGrossMarginAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of segment revenue and gross margin [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfSegmentRevenueAndGrossMarginAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfStockOptionActivityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of stock option activity [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfStockOptionActivityAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfThreeClassesOfCommonStockOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of three classes of common stock outstanding [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfThreeClassesOfCommonStockOutstandingAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_ScheduleOfThreeClassesOfCommonStockOutstandingTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ScheduleOfThreeClassesOfCommonStockOutstandingTableTextBlock",
        "terseLabel": "Schedule of three classes of common stock outstanding"
       }
      }
     },
     "localname": "ScheduleOfThreeClassesOfCommonStockOutstandingTableTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/NetLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_SecurityholdersAmount": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securityholders amount.",
        "label": "SecurityholdersAmount",
        "terseLabel": "Aggregate consideration to be paid to the company\u2019s securityholders"
       }
      }
     },
     "localname": "SecurityholdersAmount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_SegmentReportingDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting (Details) [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReportingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SegmentReportingDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting (Details) [Table]"
       }
      }
     },
     "localname": "SegmentReportingDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReportingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SegmentReportingLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReporting"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SegmentReportingTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Table]"
       }
      }
     },
     "localname": "SegmentReportingTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReporting"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SegmentReportingTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting (Tables) [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReportingTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SegmentReportingTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting (Tables) [Table]"
       }
      }
     },
     "localname": "SegmentReportingTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReportingTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SerieAPreferredStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A preferred stock",
        "label": "SerieAPreferredStock",
        "terseLabel": "Series A preferred stock"
       }
      }
     },
     "localname": "SerieAPreferredStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_SeriesAPreferredStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SeriesAPreferredStock",
        "terseLabel": "Series A preferred stock"
       }
      }
     },
     "localname": "SeriesAPreferredStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_SeriesAPreferredStockIssuedNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A preferred stock issued, net",
        "label": "SeriesAPreferredStockIssuedNet",
        "terseLabel": "Series A preferred stock issued, net"
       }
      }
     },
     "localname": "SeriesAPreferredStockIssuedNet",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ShareBasedSubjectToForfeiture": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based subject to forfeiture.",
        "label": "ShareBasedSubjectToForfeiture",
        "terseLabel": "Share based subject to forfeiture (in Shares)"
       }
      }
     },
     "localname": "ShareBasedSubjectToForfeiture",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_ShareIssuedPricePerShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued price per share.",
        "label": "ShareIssuedPricePerShares",
        "terseLabel": "Share issued price per shares"
       }
      }
     },
     "localname": "ShareIssuedPricePerShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_ShareSubjectToConvertiblePromissoryNotes": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares subject to convertible promissory notes",
        "label": "ShareSubjectToConvertiblePromissoryNotes",
        "terseLabel": "Shares subject to convertible promissory notes"
       }
      }
     },
     "localname": "ShareSubjectToConvertiblePromissoryNotes",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_ShareSubjectToOutstandingCommonStockOptions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares subject to outstanding common stock options.",
        "label": "ShareSubjectToOutstandingCommonStockOptions",
        "terseLabel": "Shares subject to outstanding common stock options"
       }
      }
     },
     "localname": "ShareSubjectToOutstandingCommonStockOptions",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_SharesForfeitDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares Forfeit Description.",
        "label": "SharesForfeitDescription",
        "terseLabel": "Shares forfeit description"
       }
      }
     },
     "localname": "SharesForfeitDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SharesIssuedForConversionOfOfficerNote": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued for conversion of officer note.",
        "label": "SharesIssuedForConversionOfOfficerNote",
        "terseLabel": "Shares issued for conversion of officer note (in Shares)"
       }
      }
     },
     "localname": "SharesIssuedForConversionOfOfficerNote",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_ShortTermLiabilitiesUnvested": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "ShortTermLiabilitiesUnvested",
        "periodEndLabel": "Short-Term Liability, Unvested at ending",
        "periodStartLabel": "Short-Term Liability, Unvested at beginning"
       }
      }
     },
     "localname": "ShortTermLiabilitiesUnvested",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ShortTermLiabilityForfeitedOrExpired": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short-term liability, forfeited or expired.",
        "label": "ShortTermLiabilityForfeitedOrExpired",
        "terseLabel": "Short-Term Liability, Forfeited or expired"
       }
      }
     },
     "localname": "ShortTermLiabilityForfeitedOrExpired",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_ShortTermLiabilityVested": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short-term liability, vested.",
        "label": "ShortTermLiabilityVested",
        "terseLabel": "Short-Term Liability, Vested"
       }
      }
     },
     "localname": "ShortTermLiabilityVested",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_SponsorAgreementDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sponsor agreement description.",
        "label": "SponsorAgreementDescription",
        "terseLabel": "Sponsor agreement description"
       }
      }
     },
     "localname": "SponsorAgreementDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SponsorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sponsor Member",
        "label": "SponsorMember",
        "terseLabel": "Sponsor [Member]"
       }
      }
     },
     "localname": "SponsorMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_StateAndLocalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StateAndLocalAbstract",
        "terseLabel": "State and Local"
       }
      }
     },
     "localname": "StateAndLocalAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfCashFlowsForThePeriodFromJune202019InceptionToDecember312019AuditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfCashFlowsForThePeriodFromJune202019InceptionToDecember312019AuditedAbstract",
        "terseLabel": "Statement of Cash Flows for the Period from June 20, 2019 (inception) to December 31, 2019 (audited)"
       }
      }
     },
     "localname": "StatementOfCashFlowsForThePeriodFromJune202019InceptionToDecember312019AuditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfCashFlowsForThePeriodFromJune202019InceptionToDecember312019AuditedAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfCashFlowsForThePeriodFromJune202019InceptionToDecember312019AuditedAbstract0",
        "terseLabel": "Statement of Cash Flows for the Period from June 20, 2019 (inception) to December 31, 2019 (audited)"
       }
      }
     },
     "localname": "StatementOfCashFlowsForThePeriodFromJune202019InceptionToDecember312019AuditedAbstract0",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfOperationsForTheNineMonthsEndedSeptember302020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfOperationsForTheNineMonthsEndedSeptember302020UnauditedAbstract",
        "terseLabel": "Statement of Operations for the nine months ended September 30, 2020 (unaudited)"
       }
      }
     },
     "localname": "StatementOfOperationsForTheNineMonthsEndedSeptember302020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfOperationsForThePeriodFromJune202019InceptionThroughDecember312019AuditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfOperationsForThePeriodFromJune202019InceptionThroughDecember312019AuditedAbstract",
        "terseLabel": "Statement of Operations for the Period from June 20, 2019 (inception) Through December 31, 2019 (audited)"
       }
      }
     },
     "localname": "StatementOfOperationsForThePeriodFromJune202019InceptionThroughDecember312019AuditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfOperationsForTheSixMonthsEndedJune302020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfOperationsForTheSixMonthsEndedJune302020UnauditedAbstract",
        "terseLabel": "Statement of Operations for the six months ended June 30, 2020 (unaudited)"
       }
      }
     },
     "localname": "StatementOfOperationsForTheSixMonthsEndedJune302020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfOperationsForTheSixMonthsEndedJune302021UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfOperationsForTheSixMonthsEndedJune302021UnauditedAbstract",
        "terseLabel": "Statement of Operations for the six months ended June 30, 2021 (unaudited)"
       }
      }
     },
     "localname": "StatementOfOperationsForTheSixMonthsEndedJune302021UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfOperationsForTheThreeMonthsEndedJune302021UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfOperationsForTheThreeMonthsEndedJune302021UnauditedAbstract",
        "terseLabel": "Statement of Operations for the three months ended June 30, 2021 (unaudited)"
       }
      }
     },
     "localname": "StatementOfOperationsForTheThreeMonthsEndedJune302021UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfOperationsForTheThreeMonthsEndedMarch312020UnauditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfOperationsForTheThreeMonthsEndedMarch312020UnauditedAbstract",
        "terseLabel": "Statement of Operations for the three months ended March 31, 2020 (unaudited)"
       }
      }
     },
     "localname": "StatementOfOperationsForTheThreeMonthsEndedMarch312020UnauditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfOperationsForTheYearEndedDecember312020AuditedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfOperationsForTheYearEndedDecember312020AuditedAbstract",
        "terseLabel": "Statement of Operations for the year ended December 31, 2020 (audited)"
       }
      }
     },
     "localname": "StatementOfOperationsForTheYearEndedDecember312020AuditedAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StatementOfOperationsForTheYearEndedDecember312020AuditedAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StatementOfOperationsForTheYearEndedDecember312020AuditedAbstract0",
        "terseLabel": "Statement of Operations for the Year Ended December 31, 2020 (audited)"
       }
      }
     },
     "localname": "StatementOfOperationsForTheYearEndedDecember312020AuditedAbstract0",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrant": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A preferred stock issued, net.",
        "label": "StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrant",
        "terseLabel": "Series A preferred stock issued, net (in Shares)"
       }
      }
     },
     "localname": "StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrant",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_StockDividendDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock dividend description.",
        "label": "StockDividendDescription",
        "terseLabel": "Stock dividend description"
       }
      }
     },
     "localname": "StockDividendDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockIssuedDuringPeriodIssuanceOfCommonStockToSponsor": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of common stock to Sponsor.",
        "label": "StockIssuedDuringPeriodIssuanceOfCommonStockToSponsor",
        "terseLabel": "Issuance of common stock to Sponsor"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodIssuanceOfCommonStockToSponsor",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_StockIssuedDuringPeriodIssuanceOfRepresentativeShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of Representative Shares.",
        "label": "StockIssuedDuringPeriodIssuanceOfRepresentativeShare",
        "terseLabel": "Issuance of Representative Shares (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodIssuanceOfRepresentativeShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_StockIssuedDuringPeriodIssuanceOfRepresentativeShares": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of Representative Shares.",
        "label": "StockIssuedDuringPeriodIssuanceOfRepresentativeShares",
        "terseLabel": "Issuance of Representative Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodIssuanceOfRepresentativeShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_StockIssuedDuringPeriodSaleOfUnitsNetOfUnderwritingDiscountsAndOfferingExpenses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period sale of units, net of underwriting discounts and offering expenses.",
        "label": "StockIssuedDuringPeriodSaleOfUnitsNetOfUnderwritingDiscountsAndOfferingExpenses",
        "terseLabel": "Accretion for common stock to redemption amount"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSaleOfUnitsNetOfUnderwritingDiscountsAndOfferingExpenses",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_StockIssuedDuringPeriodShaersIssuedForRepresentativeShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued for representative shares.",
        "label": "StockIssuedDuringPeriodShaersIssuedForRepresentativeShare",
        "terseLabel": "Issuance of representative shares, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodShaersIssuedForRepresentativeShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_StockIssuedDuringPeriodSharesStockOptionExercised": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock Issued During Period, shares stock option exercised.",
        "label": "StockIssuedDuringPeriodSharesStockOptionExercised",
        "terseLabel": "Stock exercised (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionExercised",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_StockIssuedDuringPeriodValueIssuedForRepersentativeShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of stock issued for representative shares.",
        "label": "StockIssuedDuringPeriodValueIssuedForRepersentativeShares",
        "terseLabel": "Issuance of representative shares, value (in Dollars)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueIssuedForRepersentativeShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_StockOptionRepricingDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock option repricing, description.",
        "label": "StockOptionRepricingDescription",
        "terseLabel": "Stock option repricing, description"
       }
      }
     },
     "localname": "StockOptionRepricingDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockOptionsVestPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StockOptionsVestPercentage",
        "terseLabel": "Stock options vest, percentage"
       }
      }
     },
     "localname": "StockOptionsVestPercentage",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mcmj_StockholdersDeficitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StockholdersDeficitAbstract",
        "terseLabel": "Stockholders\u2019 Deficit"
       }
      }
     },
     "localname": "StockholdersDeficitAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockholdersEquityDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity (Details) [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockholdersEquityDetailsScheduleofreservedsharesofcommonstockforfutureissuanceLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholder\u2019s Equity (Details) - Schedule of reserved shares of common stock for future issuance [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsScheduleofreservedsharesofcommonstockforfutureissuanceLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockholdersEquityDetailsScheduleofreservedsharesofcommonstockforfutureissuanceTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholder\u2019s Equity (Details) - Schedule of reserved shares of common stock for future issuance [Table]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsScheduleofreservedsharesofcommonstockforfutureissuanceTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockholdersEquityDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity (Details) [Table]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockholdersEquityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockholdersEquityTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity [Table]"
       }
      }
     },
     "localname": "StockholdersEquityTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockholdersEquityTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholder\u2019s Equity (Tables) [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_StockholdersEquityTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholder\u2019s Equity (Tables) [Table]"
       }
      }
     },
     "localname": "StockholdersEquityTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SubsequentEventsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events (Details) [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventsDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SubsequentEventsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events (Details) [Table]"
       }
      }
     },
     "localname": "SubsequentEventsDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SubsequentEventsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEvents"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SubsequentEventsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Table]"
       }
      }
     },
     "localname": "SubsequentEventsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEvents"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SummaryofSignificantAccountingPoliciesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Details) [Line Items]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SummaryofSignificantAccountingPoliciesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Details) [Table]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SummaryofSignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPolicies"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SummaryofSignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPolicies"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SummaryofSignificantAccountingPoliciesTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Tables) [Line Items]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesTablesLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_SummaryofSignificantAccountingPoliciesTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Tables) [Table]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesTablesTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_TemporaryEquityAccretionToRedemptionsValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of accretion of temporary equity to its redemption value during the period.",
        "label": "TemporaryEquityAccretionToRedemptionsValue",
        "terseLabel": "Accretion of carrying value to redemption value"
       }
      }
     },
     "localname": "TemporaryEquityAccretionToRedemptionsValue",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_TheLeaflyPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TheLeaflyPlanMember",
        "terseLabel": "The Leafly Plan [Member]"
       }
      }
     },
     "localname": "TheLeaflyPlanMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_TotalCurrentLiabilitie": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 9.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Current Liabilities.",
        "label": "TotalCurrentLiabilitie",
        "totalLabel": "Total Current Liabilities"
       }
      }
     },
     "localname": "TotalCurrentLiabilitie",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_TotalCurrentLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 8.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of total Current Liabilities.",
        "label": "TotalCurrentLiabilities",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "TotalCurrentLiabilities",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_TotalNumberOfSharesOutstandingOnAFullyDilutedBasis": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of shares outstanding on a fully diluted basis.",
        "label": "TotalNumberOfSharesOutstandingOnAFullyDilutedBasis",
        "terseLabel": "Total number of shares outstanding on a fully diluted basis"
       }
      }
     },
     "localname": "TotalNumberOfSharesOutstandingOnAFullyDilutedBasis",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_TotalTime": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "TotalTime",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "TotalTime",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_Totalpreferredshares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total preferred shares.",
        "label": "Totalpreferredshares",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "Totalpreferredshares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofantidilutiveexcludedfromthecomputationofdilutednetincomepershareattributabletocommonstockholdersTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_TransactionCostAssociatedWithInitialPublicOffering": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction costs associated with Initial Public Offering.",
        "label": "TransactionCostAssociatedWithInitialPublicOffering",
        "terseLabel": "Transaction costs associated with Initial Public Offering"
       }
      }
     },
     "localname": "TransactionCostAssociatedWithInitialPublicOffering",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_TransactionCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is transaction costs.",
        "label": "TransactionCosts",
        "terseLabel": "Transaction costs"
       }
      }
     },
     "localname": "TransactionCosts",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_TransactionCostsAllocableToWarrantLiability": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction costs allocable to warrant liability.",
        "label": "TransactionCostsAllocableToWarrantLiability",
        "terseLabel": "Transaction costs allocable to warrant liability"
       }
      }
     },
     "localname": "TransactionCostsAllocableToWarrantLiability",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_TrustAccountMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TrustAccountMember",
        "terseLabel": "Trust Account [Member]"
       }
      }
     },
     "localname": "TrustAccountMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_TwentyNinteenNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TwentyNinteenNotesMember",
        "terseLabel": "2019 Notes [Member]"
       }
      }
     },
     "localname": "TwentyNinteenNotesMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_TwentyTwentyNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TwentyTwentyNotesMember",
        "terseLabel": "2021 Notes [Member]"
       }
      }
     },
     "localname": "TwentyTwentyNotesMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_UnderwritersAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "UnderwritersAgreementMember",
        "label": "UnderwritersAgreementMember",
        "terseLabel": "Underwriting Agreement [Member]",
        "verboseLabel": "UnderwritersAgreementMember"
       }
      }
     },
     "localname": "UnderwritersAgreementMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_UnderwritingFeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UnderwritingFeesMember",
        "terseLabel": "Underwriting Fees [Member]"
       }
      }
     },
     "localname": "UnderwritingFeesMember",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mcmj_UnrealizedGainLossOnMarketableSecuritiesHeldInTrustAccount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "UnrealizedGainLossOnMarketableSecuritiesHeldInTrustAccount",
        "label": "UnrealizedGainLossOnMarketableSecuritiesHeldInTrustAccount",
        "terseLabel": "Unrealized gain (loss) on marketable securities held in Trust Account"
       }
      }
     },
     "localname": "UnrealizedGainLossOnMarketableSecuritiesHeldInTrustAccount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_UnrealizedGainLossOnSecurity": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "UnrealizedGainLossOnSecurity",
        "label": "UnrealizedGainLossOnSecurity",
        "negatedLabel": "Interest earned on marketable securities held in Trust Account"
       }
      }
     },
     "localname": "UnrealizedGainLossOnSecurity",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_UnrealizedLossOnMarketableSecuritiesHeldInTrustAccount": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized loss on marketable securities held in Trust Account.",
        "label": "UnrealizedLossOnMarketableSecuritiesHeldInTrustAccount",
        "terseLabel": "Unrealized gain on marketable securities held in Trust Account"
       }
      }
     },
     "localname": "UnrealizedLossOnMarketableSecuritiesHeldInTrustAccount",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_UnsecuredPromissoryNotes": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "UnsecuredPromissoryNotes",
        "terseLabel": "Unsecured promissory note"
       }
      }
     },
     "localname": "UnsecuredPromissoryNotes",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_WarrantDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A warrant is a legal document that allows someone to do something, especially one that is signed by a judge or magistrate and gives the police permission to arrest someone or search their house.",
        "label": "WarrantDescription",
        "terseLabel": "Warrant description"
       }
      }
     },
     "localname": "WarrantDescription",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_WarrantPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "WarrantPricePerShare",
        "terseLabel": "Warrant price per share (in Dollars per share)"
       }
      }
     },
     "localname": "WarrantPricePerShare",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/FairValueMeasurementsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_WarrantsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants [Abstract]"
       }
      }
     },
     "localname": "WarrantsAbstract",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "xbrltype": "stringItemType"
    },
    "mcmj_WarrantsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants (Details) [Line Items]"
       }
      }
     },
     "localname": "WarrantsDetailsLineItems",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_WarrantsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants (Details) [Table]"
       }
      }
     },
     "localname": "WarrantsDetailsTable",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mcmj_WarrantsExercisableToPurchase": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "WarrantsExercisableToPurchase",
        "terseLabel": "Warrants exercisable to purchase (in Shares)"
       }
      }
     },
     "localname": "WarrantsExercisableToPurchase",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_WarrantsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants Text Block",
        "label": "WarrantsTextBlock",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantsTextBlock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/Warrants"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mcmj_WeightedAverageExercisePriceForfeitedOrExpired": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "WeightedAverageExercisePriceForfeitedOrExpired",
        "terseLabel": "Weighted Average Exercise Price, Forfeited or expired (in Dollars per share)"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceForfeitedOrExpired",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "mcmj_WeightedAverageShareOutstandingCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average shares outstanding, Common Stock.",
        "label": "WeightedAverageShareOutstandingCommonStock",
        "terseLabel": "Weighted average shares outstanding, Common Stock"
       }
      }
     },
     "localname": "WeightedAverageShareOutstandingCommonStock",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_WeightedAverageShareOutstandingCommonStockSubjectToPossibleRedemption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average shares outstanding, Common Stock subject to possible redemption.",
        "label": "WeightedAverageShareOutstandingCommonStockSubjectToPossibleRedemption",
        "terseLabel": "Weighted average shares outstanding, Common Stock subject to possible redemption"
       }
      }
     },
     "localname": "WeightedAverageShareOutstandingCommonStockSubjectToPossibleRedemption",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_WeightedAverageSharesOutstandingCommonStockSubjectToPossibleRedemptioninShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average shares outstanding, Common Stock subject to possible redemption.",
        "label": "WeightedAverageSharesOutstandingCommonStockSubjectToPossibleRedemptioninShares",
        "terseLabel": "Weighted average shares outstanding, Common Stock subject to possible redemption (in Shares)"
       }
      }
     },
     "localname": "WeightedAverageSharesOutstandingCommonStockSubjectToPossibleRedemptioninShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_WeightedAverageSharesOutstandingCommonStockinShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average shares outstanding, Common Stock.",
        "label": "WeightedAverageSharesOutstandingCommonStockinShares",
        "terseLabel": "Weighted average shares outstanding, Common Stock (in Shares)"
       }
      }
     },
     "localname": "WeightedAverageSharesOutstandingCommonStockinShares",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "mcmj_WeightedaverageRemainingRequisiteServicePeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average remaining requisite service period.",
        "label": "WeightedaverageRemainingRequisiteServicePeriod",
        "terseLabel": "Weighted-average service period"
       }
      }
     },
     "localname": "WeightedaverageRemainingRequisiteServicePeriod",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "mcmj_WithdrawalAmountOfWorkingCapitalPurposesOnAnnualBasis": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Withdrawal Amount of Working Capital Purposes on Annual Basis.",
        "label": "WithdrawalAmountOfWorkingCapitalPurposesOnAnnualBasis",
        "terseLabel": "Tax obligations"
       }
      }
     },
     "localname": "WithdrawalAmountOfWorkingCapitalPurposesOnAnnualBasis",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_WorkingCapitalDeficit": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Working capital deficit.",
        "label": "WorkingCapitalDeficit",
        "terseLabel": "Working capital deficit"
       }
      }
     },
     "localname": "WorkingCapitalDeficit",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mcmj_WorkingCapitalLoans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Working capital loans.",
        "label": "WorkingCapitalLoans",
        "terseLabel": "Working capital loans"
       }
      }
     },
     "localname": "WorkingCapitalLoans",
     "nsuri": "http://www.MeridaMergerCorp.com/20210930",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "srt_CondensedBalanceSheetStatementTable": {
     "auth_ref": [
      "r120",
      "r438",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet Statement [Table]"
       }
      }
     },
     "localname": "CondensedBalanceSheetStatementTable",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedBalanceSheetStatementsCaptionsLineItems": {
     "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": "Condensed Balance Sheet Statements, Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedBalanceSheetStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Financial Information Disclosure [Abstract]"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "srt_CondensedIncomeStatementTable": {
     "auth_ref": [
      "r120",
      "r438",
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed income statement including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Income Statement [Table]"
       }
      }
     },
     "localname": "CondensedIncomeStatementTable",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedIncomeStatementsCaptionsLineItems": {
     "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": "Condensed Income Statements, Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedIncomeStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r120",
      "r245",
      "r249",
      "r254",
      "r442",
      "r443",
      "r449",
      "r450",
      "r514",
      "r611",
      "r618",
      "r621",
      "r622",
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by consolidated entity or group of entities.",
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy",
      "http://www.MeridaMergerCorp.com/role/AccruedExpenses",
      "http://www.MeridaMergerCorp.com/role/AccruedExpensesTables",
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCash",
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCashTables",
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingencies",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotes",
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails",
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlan",
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlanDetails",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcern",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlans",
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails",
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansTables",
      "http://www.MeridaMergerCorp.com/role/IncomeTax",
      "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails",
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables",
      "http://www.MeridaMergerCorp.com/role/Leases",
      "http://www.MeridaMergerCorp.com/role/LeasesDetails",
      "http://www.MeridaMergerCorp.com/role/LeasesTables",
      "http://www.MeridaMergerCorp.com/role/NetLossPerShare",
      "http://www.MeridaMergerCorp.com/role/NetLossPerShareTables",
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssets",
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssetsTables",
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNet",
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetDetails",
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetTables",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactions",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/RestructuringCharges",
      "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails",
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalances",
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesDetails",
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables",
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0",
      "http://www.MeridaMergerCorp.com/role/SegmentReporting",
      "http://www.MeridaMergerCorp.com/role/SegmentReportingDetails",
      "http://www.MeridaMergerCorp.com/role/SegmentReportingTables",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquity",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityTables",
      "http://www.MeridaMergerCorp.com/role/SubsequentEvents",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPolicies",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r120",
      "r245",
      "r249",
      "r254",
      "r442",
      "r443",
      "r449",
      "r450",
      "r514",
      "r611",
      "r618",
      "r621",
      "r622",
      "r623"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy",
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingencies",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcern",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/IncomeTax",
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactions",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquity",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails",
      "http://www.MeridaMergerCorp.com/role/SubsequentEvents",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPolicies",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_DirectorMember": {
     "auth_ref": [
      "r204"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Person serving on board of directors.",
        "label": "Director [Member]",
        "terseLabel": "Director [Member]"
       }
      }
     },
     "localname": "DirectorMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r260",
      "r295",
      "r353",
      "r356",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r588",
      "r590",
      "r612",
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r260",
      "r295",
      "r353",
      "r356",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r588",
      "r590",
      "r612",
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r199",
      "r329",
      "r330",
      "r532",
      "r587",
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by product and service, or group of similar products and similar services.",
        "label": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r199",
      "r329",
      "r330",
      "r532",
      "r587",
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product or service, or a group of similar products or similar services.",
        "label": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r260",
      "r295",
      "r340",
      "r353",
      "r356",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r588",
      "r590",
      "r612",
      "r613"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r260",
      "r295",
      "r340",
      "r353",
      "r356",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r588",
      "r590",
      "r612",
      "r613"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAdjustmentMember": {
     "auth_ref": [
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r130",
      "r132",
      "r133",
      "r135",
      "r136",
      "r156",
      "r463",
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative increase (decrease) for adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period, Adjustment [Member]",
        "terseLabel": "Adjustment [Member]"
       }
      }
     },
     "localname": "RestatementAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r1",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r156",
      "r217",
      "r218",
      "r391",
      "r419",
      "r462",
      "r463",
      "r464",
      "r465",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r131",
      "r354",
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information reported for future period. Excludes information expected to be reported in future period for effect on historical fact.",
        "label": "Forecast [Member]",
        "terseLabel": "Forecast [Member]"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioPreviouslyReportedMember": {
     "auth_ref": [
      "r1",
      "r122",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r132",
      "r133",
      "r135",
      "r136",
      "r156",
      "r217",
      "r218",
      "r391",
      "r419",
      "r462",
      "r463",
      "r464",
      "r465",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount as previously reported before adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Previously Reported [Member]",
        "terseLabel": "As Previously Reported [Member]"
       }
      }
     },
     "localname": "ScenarioPreviouslyReportedMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r131",
      "r137",
      "r354"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts.",
        "label": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfCondensedBalanceSheetTableTextBlock": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet [Table Text Block]",
        "terseLabel": "Schedule of restatement of balance sheet",
        "verboseLabel": "Schedule of common stock"
       }
      }
     },
     "localname": "ScheduleOfCondensedBalanceSheetTableTextBlock",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsTables",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfCondensedIncomeStatementTableTextBlock": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed income statement, including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Income Statement [Table Text Block]",
        "terseLabel": "Schedule of restatement of operations",
        "verboseLabel": "Schedule of restatement of operations statement"
       }
      }
     },
     "localname": "ScheduleOfCondensedIncomeStatementTableTextBlock",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r131",
      "r137",
      "r243",
      "r354",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts.",
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r204",
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by title of individual or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of individual, or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r43"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "mcmj_TotalCurrentLiabilitie",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date and due within one year (or the operating cycle, if longer), including liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received, taxes, interest, rent and utilities, accrued salaries and bonuses, payroll taxes and fringe benefits.",
        "label": "Accounts Payable and Accrued Liabilities, Current",
        "terseLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for accounts payable and accrued liabilities at the end of the reporting period.",
        "label": "Accounts Payable and Accrued Liabilities Disclosure [Text Block]",
        "terseLabel": "Accrued Expenses"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccruedExpenses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r41",
      "r517"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "mcmj_TotalCurrentLiabilitie",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable, Current",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "AccountsPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableFairValueDisclosure": {
     "auth_ref": [
      "r473"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 7.0,
       "parentTag": "mcmj_TotalCurrentLiabilitie",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of liabilities incurred for goods and services received that are used in an entity's business and related party payables.",
        "label": "Accounts Payable, Fair Value Disclosure",
        "terseLabel": "Related party payables"
       }
      }
     },
     "localname": "AccountsPayableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r118",
      "r509",
      "r556",
      "r583"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount for accounts payable to related parties.",
        "label": "Accounts Payable, Related Parties",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "AccountsPayableRelatedPartiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNet": {
     "auth_ref": [
      "r25",
      "r570",
      "r606"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business.",
        "label": "Accounts Receivable, after Allowance for Credit Loss",
        "terseLabel": "Accounts receivable, net of allowance for doubtful accounts"
       }
      }
     },
     "localname": "AccountsReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedIncomeTaxesCurrent": {
     "auth_ref": [
      "r16",
      "r551",
      "r572"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "mcmj_TotalCurrentLiabilitie",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all currently due domestic and foreign income tax obligations.",
        "label": "Accrued Income Taxes, Current",
        "terseLabel": "Income taxes payable",
        "verboseLabel": "Accruals"
       }
      }
     },
     "localname": "AccruedIncomeTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r45"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "mcmj_TotalCurrentLiabilitie",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Liabilities, Current",
        "terseLabel": "Accrued expenses",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r38",
      "r227"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Less: accumulated depreciation and amortization"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r26",
      "r391",
      "r517"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Additional paid-in capital",
        "verboseLabel": "Additional Paid-in Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r122",
      "r123",
      "r124",
      "r388",
      "r389",
      "r390",
      "r463"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-in Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued": {
     "auth_ref": [
      "r256",
      "r308",
      "r314"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants.",
        "label": "Adjustments to Additional Paid in Capital, Warrant Issued",
        "terseLabel": "Proceeds received in excess of fair value of Private Warrants"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalWarrantIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net loss to net cash used in operating activities:",
        "verboseLabel": "Adjustments to reconcile net (loss) income to net cash used in operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdvertisingCostsPolicyTextBlock": {
     "auth_ref": [
      "r395"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for advertising cost.",
        "label": "Advertising Cost [Policy Text Block]",
        "terseLabel": "Advertising"
       }
      }
     },
     "localname": "AdvertisingCostsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AdvertisingExpense": {
     "auth_ref": [
      "r396"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line.",
        "label": "Advertising Expense",
        "terseLabel": "Advertising expense"
       }
      }
     },
     "localname": "AdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdvertisingMember": {
     "auth_ref": [
      "r330"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Announcement promoting product, service, or event.",
        "label": "Advertising [Member]",
        "terseLabel": "Advertising [Member]"
       }
      }
     },
     "localname": "AdvertisingMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r358",
      "r382",
      "r393"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r207",
      "r221"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Schedule of allowance for doubtful accounts"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent": {
     "auth_ref": [
      "r31",
      "r210",
      "r219"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable, classified as current.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Current",
        "terseLabel": "Allowance for doubtful accounts (in Dollars)"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r114",
      "r183",
      "r188",
      "r195",
      "r215",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r442",
      "r449",
      "r474",
      "r515",
      "r517",
      "r549",
      "r571"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "TOTAL ASSETS"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r6",
      "r7",
      "r55",
      "r114",
      "r215",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r442",
      "r449",
      "r474",
      "r515",
      "r517"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "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 expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "totalLabel": "Total Current Assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "Current assets"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsHeldInTrustNoncurrent": {
     "auth_ref": [
      "r109"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash, securities, or other assets held by a third-party trustee pursuant to the terms of an agreement which assets are available to be used by beneficiaries to that agreement only within the specific terms thereof and which agreement is expected to terminate more than one year from the balance sheet date (or operating cycle, if longer) at which time the assets held-in-trust will be released or forfeited.",
        "label": "Assets Held-in-trust, Noncurrent",
        "terseLabel": "Marketable securities held in Trust Account",
        "verboseLabel": "Securities held in the Trust Account"
       }
      }
     },
     "localname": "AssetsHeldInTrustNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r360",
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r352",
      "r355"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r352",
      "r355",
      "r433",
      "r434"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionDescriptionOfAcquiredEntity": {
     "auth_ref": [
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "With respect to a business combination completed during the period, this element provides a description of the business, other than the name, which may include the industry, size, products and other important information.",
        "label": "Business Acquisition, Description of Acquired Entity",
        "terseLabel": "Business combination, description"
       }
      }
     },
     "localname": "BusinessAcquisitionDescriptionOfAcquiredEntity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionSharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks paid or offered to be paid in a business combination.",
        "label": "Business Acquisition, Share Price",
        "terseLabel": "Business combination entity price (in Dollars per share)"
       }
      }
     },
     "localname": "BusinessAcquisitionSharePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "auth_ref": [
      "r435",
      "r436",
      "r437"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer.",
        "label": "Business Combination, Consideration Transferred",
        "terseLabel": "received in cash"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferred1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationControlObtainedDescription": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents a description of how the entity obtained control of the acquired entity.",
        "label": "Business Combination, Control Obtained Description",
        "terseLabel": "Business combination, description"
       }
      }
     },
     "localname": "BusinessCombinationControlObtainedDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CapitalUnitsByClassAxis": {
     "auth_ref": [
      "r601",
      "r605"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type or class of the entity's capital units.",
        "label": "Capital Units by Class [Axis]"
       }
      }
     },
     "localname": "CapitalUnitsByClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_Cash": {
     "auth_ref": [
      "r36",
      "r517",
      "r602",
      "r603"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash",
        "terseLabel": "Cash",
        "totalLabel": "Total",
        "verboseLabel": "Operating bank accounts"
       }
      }
     },
     "localname": "Cash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and Cash Equivalents [Abstract]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r5",
      "r36",
      "r98"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "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, at Carrying Value",
        "periodEndLabel": "Cash \u2013 End of period",
        "periodStartLabel": "Cash \u2013 Beginning",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsDisclosureTextBlock": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for cash and cash equivalent footnotes,  which may include the types of deposits and money market instruments, applicable carrying amounts, restricted amounts and compensating balance arrangements. Cash and equivalents include: (1) currency on hand (2) demand deposits with banks or financial institutions (3) other kinds of accounts that have the general characteristics of demand deposits (4) 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. Generally, only investments maturing within three months from the date of acquisition qualify.",
        "label": "Cash and Cash Equivalents Disclosure [Text Block]",
        "terseLabel": "Cash, Cash Equivalents, and Restricted Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCash"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r12",
      "r99"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r12",
      "r99",
      "r548"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's cash and cash equivalents accounting policy with respect to restricted balances.  Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
        "label": "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash, Cash Equivalents, and Restricted Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r90",
      "r98",
      "r104"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "Cash \u2013 End of period",
        "periodStartLabel": "Cash \u2013 Beginning of period"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r90",
      "r475"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "Net Change in Cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r90",
      "r475"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "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": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net increase (decrease) in cash, cash equivalents, and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r36"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0": {
       "order": 1.0,
       "parentTag": "us-gaap_Cash",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of 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 Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
        "netLabel": "Supplemental disclosure of non-cash investing and financing activities",
        "terseLabel": "Non-cash investing and financing activities:",
        "verboseLabel": "Non-Cash investing and financing activities:"
       }
      }
     },
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1": {
     "auth_ref": [
      "r461"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the increase (decrease) in fair value of the hedged item in a fair value hedge recognized in the income statement.",
        "label": "Change in Unrealized Gain (Loss) on Hedged Item in Fair Value Hedge",
        "terseLabel": "Change in fair value"
       }
      }
     },
     "localname": "ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r111",
      "r114",
      "r141",
      "r142",
      "r147",
      "r150",
      "r152",
      "r160",
      "r161",
      "r162",
      "r215",
      "r245",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r292",
      "r293",
      "r297",
      "r301",
      "r474",
      "r615"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "auth_ref": [
      "r309"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Exercise Price of Warrants or Rights",
        "terseLabel": "Exercise price"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ClassOfWarrantOrRightOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Outstanding",
        "terseLabel": "Public warrants outstanding",
        "verboseLabel": "Private warrants outstanding"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/FairValueMeasurementsDetails",
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightUnissued": {
     "auth_ref": [
      "r317"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of warrants or rights which entitle the entity to receive future services in exchange for the unvested, forfeitable warrants or rights.",
        "label": "Class of Warrant or Right, Unissued",
        "terseLabel": "Private warrants outstanding"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightUnissued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r50",
      "r242",
      "r557",
      "r579"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r239",
      "r240",
      "r241",
      "r244",
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance": {
     "auth_ref": [
      "r51"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate number of common shares reserved for future issuance.",
        "label": "Common Stock, Capital Shares Reserved for Future Issuance",
        "terseLabel": "Common stock reserved for issuance (in Shares)"
       }
      }
     },
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockDividendsShares": {
     "auth_ref": [
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock issued as dividends during the period. Excludes stock splits.",
        "label": "Common Stock Dividends, Shares",
        "terseLabel": "Shares of common stock"
       }
      }
     },
     "localname": "CommonStockDividendsShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r122",
      "r123",
      "r463"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock [Member]",
        "verboseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r24"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, par value (in Dollars per share)",
        "verboseLabel": "Common stock, Par Value (in Dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r24"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized",
        "verboseLabel": "Common stock, Authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r24"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r24",
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, shares outstanding",
        "verboseLabel": "Common stock, Outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r24",
      "r517"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "netLabel": "Common Stock",
        "terseLabel": "Common stock, $0.0001 par value; 50,000,000 shares authorized; 3,370,388 shares issued and outstanding (excluding 13,001,552 shares subject to possible redemption) as of September 30, 2021 and December 31, 2020",
        "verboseLabel": "Common stock"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskCreditRisk": {
     "auth_ref": [
      "r165",
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for credit risk.",
        "label": "Concentration Risk, Credit Risk, Policy [Policy Text Block]",
        "terseLabel": "Concentration of Credit Risk"
       }
      }
     },
     "localname": "ConcentrationRiskCreditRisk",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock": {
     "auth_ref": [
      "r2",
      "r120",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for condensed financial information, including the financial position, cash flows, and the results of operations of the registrant (parent company) as of the same dates or for the same periods for which audited consolidated financial statements are being presented. Alternatively, the details of this disclosure can be reported by the specific parent company taxonomy elements, indicating the appropriate date and period contexts in an instance document.",
        "label": "Condensed Financial Information of Parent Company Only Disclosure [Text Block]",
        "terseLabel": "Restatement of Previously Issued Financial Statements"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangeDueToNetIncomeAttributableToParentAndEffectsOfChangesNet": {
     "auth_ref": [
      "r315",
      "r448",
      "r454"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the total net income attributable to the parent for the period and the effect of net changes during the period impacting the parent's ownership interest in a subsidiary as it relates to the total (consolidated) equity attributable to the parent. The changes to the parent's ownership interest in a subsidiary represented by this element did not result in a deconsolidation of the subsidiary from the consolidated financial statements.",
        "label": "Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Change Due to Net Income Attributable to Parent and Effects of Changes, Net",
        "terseLabel": "Net income attributable"
       }
      }
     },
     "localname": "ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangeDueToNetIncomeAttributableToParentAndEffectsOfChangesNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r106",
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Principles of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConversionOfStockAmountConverted1": {
     "auth_ref": [
      "r101",
      "r102",
      "r103"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of the stock converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Amount Converted",
        "terseLabel": "Conversion of outstanding promissory note (in Dollars)"
       }
      }
     },
     "localname": "ConversionOfStockAmountConverted1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConversionOfStockDescription": {
     "auth_ref": [
      "r101",
      "r102",
      "r103"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique description of a noncash or part noncash stock conversion. The description would be expected to include sufficient information to provide an understanding of the nature and purpose of the conversion. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Description",
        "terseLabel": "Conversion of stock, description"
       }
      }
     },
     "localname": "ConversionOfStockDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConversionOfStockSharesIssued1": {
     "auth_ref": [
      "r101",
      "r102",
      "r103"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of new shares issued in the conversion of stock in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Shares Issued",
        "terseLabel": "Authorized a maximum of common stock for issuance (in Shares)"
       }
      }
     },
     "localname": "ConversionOfStockSharesIssued1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ConvertibleDebt": {
     "auth_ref": [
      "r17",
      "r553",
      "r574"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.",
        "label": "Convertible Debt",
        "terseLabel": "Convertible promissory note"
       }
      }
     },
     "localname": "ConvertibleDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleLongTermNotesPayable": {
     "auth_ref": [
      "r48"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of long-term debt (with maturities initially due after one year or beyond the operating cycle if longer) identified as Convertible Notes Payable, excluding current portion. Convertible Notes Payable is a written promise to pay a note which can be exchanged for a specified amount of another, related security, at the option of the issuer and the holder.",
        "label": "Convertible Notes Payable, Noncurrent",
        "terseLabel": "Convertible promissory notes"
       }
      }
     },
     "localname": "ConvertibleLongTermNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleNotesPayable": {
     "auth_ref": [
      "r17",
      "r553",
      "r573",
      "r604"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder.",
        "label": "Convertible Notes Payable",
        "terseLabel": "Convertible promissory notes"
       }
      }
     },
     "localname": "ConvertibleNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion": {
     "auth_ref": [
      "r22",
      "r23",
      "r304",
      "r309",
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued for each share of convertible preferred stock that is converted.",
        "label": "Convertible Preferred Stock, Shares Issued upon Conversion",
        "terseLabel": "Issuance of shares"
       }
      }
     },
     "localname": "ConvertiblePreferredStockSharesIssuedUponConversion",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSoldDepreciation": {
     "auth_ref": [
      "r71",
      "r225"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for allocation of cost of tangible asset over its useful life directly used in production of good and rendering of service.",
        "label": "Cost, Depreciation",
        "terseLabel": "Recognized depreciation expense"
       }
      }
     },
     "localname": "CostOfGoodsAndServicesSoldDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfRevenue": {
     "auth_ref": [
      "r76",
      "r114",
      "r215",
      "r245",
      "r246",
      "r247",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r474"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period.",
        "label": "Cost of Revenue",
        "terseLabel": "Cost of revenue"
       }
      }
     },
     "localname": "CostOfRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostsAndExpenses": {
     "auth_ref": [
      "r72"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total costs of sales and operating expenses for the period.",
        "label": "Costs and Expenses",
        "terseLabel": "Cover expenses"
       }
      }
     },
     "localname": "CostsAndExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "auth_ref": [
      "r115",
      "r415",
      "r422"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current federal tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current Federal Tax Expense (Benefit)",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "CurrentFederalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentStateAndLocalTaxExpenseBenefit": {
     "auth_ref": [
      "r115",
      "r415",
      "r422"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current state and local tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current State and Local Tax Expense (Benefit)",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "CurrentStateAndLocalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtConversionConvertedInstrumentAmount1": {
     "auth_ref": [
      "r101",
      "r103"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of the financial instrument(s) that the original debt is being converted into in a noncash (or part noncash) transaction. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Debt Conversion, Converted Instrument, Amount",
        "terseLabel": "Conversion of promissory notes into Series A preferred stock, net"
       }
      }
     },
     "localname": "DebtConversionConvertedInstrumentAmount1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r110",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r274",
      "r281",
      "r282",
      "r283",
      "r288"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Convertible Promissory Notes"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r15",
      "r16",
      "r17",
      "r113",
      "r120",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r264",
      "r270",
      "r271",
      "r272",
      "r273",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r284",
      "r285",
      "r286",
      "r287",
      "r487",
      "r550",
      "r553",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentConvertibleTermsOfConversionFeature": {
     "auth_ref": [
      "r47",
      "r309",
      "r312",
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of conversion terms for debt instrument.",
        "label": "Debt Instrument, Convertible, Terms of Conversion Feature",
        "terseLabel": "Convertible promissory notes description"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleTermsOfConversionFeature",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentConvertibleTypeOfEquitySecurity": {
     "auth_ref": [
      "r47",
      "r309",
      "r311",
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the type of equity security or securities into which conversion will be made (for example, common stock or preferred shares).",
        "label": "Debt Instrument, Convertible, Type of Equity Security",
        "terseLabel": "Conversion price, description"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleTypeOfEquitySecurity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentDescription": {
     "auth_ref": [
      "r15",
      "r17",
      "r309",
      "r550",
      "r553",
      "r566",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the lender and information about a contractual promise to repay a short-term or long-term obligation, which includes borrowings under lines of credit, notes payable, commercial paper, bonds payable, debentures, and other contractual obligations for payment. This may include rationale for entering into the arrangement, significant terms of the arrangement, which may include amount, repayment terms, priority, collateral required, debt covenants, borrowing capacity, call features, participation rights, conversion provisions, sinking-fund requirements, voting rights, basis for conversion if convertible and remarketing provisions. The description may be provided for individual debt instruments, rational groupings of debt instruments, or by debt in total.",
        "label": "Debt Instrument, Description",
        "terseLabel": "Promissory note payable, description"
       }
      }
     },
     "localname": "DebtInstrumentDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r257",
      "r284",
      "r285",
      "r485",
      "r487",
      "r488"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Officer note, amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFairValue": {
     "auth_ref": [
      "r272",
      "r284",
      "r285",
      "r473"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable.",
        "label": "Debt Instrument, Fair Value Disclosure",
        "terseLabel": "Estimated fair value of convertible debt instruments"
       }
      }
     },
     "localname": "DebtInstrumentFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentIncreaseAccruedInterest": {
     "auth_ref": [
      "r113"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase for accrued, but unpaid interest on the debt instrument for the period.",
        "label": "Debt Instrument, Increase, Accrued Interest",
        "terseLabel": "Accrued interest (in Dollars)"
       }
      }
     },
     "localname": "DebtInstrumentIncreaseAccruedInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentIncreaseDecreaseForPeriodNet": {
     "auth_ref": [
      "r113"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net increase or decrease in the carrying amount of the debt instrument for the period.",
        "label": "Debt Instrument, Increase (Decrease), Net",
        "terseLabel": "Net carrying amount"
       }
      }
     },
     "localname": "DebtInstrumentIncreaseDecreaseForPeriodNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r46",
      "r258"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Bearing interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r48",
      "r113",
      "r120",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r264",
      "r270",
      "r271",
      "r272",
      "r273",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r284",
      "r285",
      "r286",
      "r287",
      "r487"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPaymentInterest": {
     "auth_ref": [
      "r48"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the required periodic payments applied to interest.",
        "label": "Debt Instrument, Periodic Payment, Interest",
        "terseLabel": "Accrued interest"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPaymentInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPaymentPrincipal": {
     "auth_ref": [
      "r48"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the required periodic payments applied to principal.",
        "label": "Debt Instrument, Periodic Payment, Principal",
        "terseLabel": "Aggregate principal balance"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPaymentPrincipal",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentRepurchaseAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value amount of debt instrument that was repurchased.",
        "label": "Debt Instrument, Repurchase Amount",
        "terseLabel": "Series of convertible promissory notes issued"
       }
      }
     },
     "localname": "DebtInstrumentRepurchaseAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Term",
        "terseLabel": "Debt instrument term"
       }
      }
     },
     "localname": "DebtInstrumentTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DebtIssuanceCostsIncurredDuringNoncashOrPartialNoncashTransaction": {
     "auth_ref": [
      "r101",
      "r102",
      "r103"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of debt issuance costs that were incurred during a noncash or partial noncash transaction.",
        "label": "Debt Issuance Costs Incurred During Noncash or Partial Noncash Transaction",
        "terseLabel": "Extinguishment of Privateer related party payables"
       }
      }
     },
     "localname": "DebtIssuanceCostsIncurredDuringNoncashOrPartialNoncashTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Debt instrument interest rate"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r115",
      "r416",
      "r422"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred federal income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Federal Income Tax Expense (Benefit)",
        "terseLabel": "Deferred"
       }
      }
     },
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r96",
      "r115",
      "r416",
      "r422",
      "r423",
      "r424"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "terseLabel": "Deferred tax benefit"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r19",
      "r20",
      "r407",
      "r552",
      "r568"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofcompanysnetdeferredtaxassetsTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "negatedLabel": "Total deferred tax liabilities",
        "negatedTotalLabel": "Total deferred tax liability"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcompanysnetdeferredtaxassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredOfferingCosts": {
     "auth_ref": [
      "r54",
      "r222"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Specific incremental costs directly attributable to a proposed or actual offering of securities which are deferred at the end of the reporting period.",
        "label": "Deferred Offering Costs",
        "terseLabel": "Offering costs"
       }
      }
     },
     "localname": "DeferredOfferingCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRentCreditCurrent": {
     "auth_ref": [
      "r16",
      "r490",
      "r503"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of rental payment required by lease over rental income recognized, classified as current.",
        "label": "Deferred Rent Credit, Current",
        "terseLabel": "Deferred rent liabilities de-recognized"
       }
      }
     },
     "localname": "DeferredRentCreditCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenue": {
     "auth_ref": [
      "r33"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable.",
        "label": "Deferred Revenue",
        "periodEndLabel": "Balance, end of period",
        "periodStartLabel": "Balance, beginning of period"
       }
      }
     },
     "localname": "DeferredRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueCurrent": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 8.0,
       "parentTag": "mcmj_TotalCurrentLiabilitie",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Deferred Revenue, Current",
        "terseLabel": "Deferred revenue"
       }
      }
     },
     "localname": "DeferredRevenueCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r115",
      "r416",
      "r422"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred state and local tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred State and Local Income Tax Expense (Benefit)",
        "terseLabel": "Deferred"
       }
      }
     },
     "localname": "DeferredStateAndLocalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill.",
        "label": "Deferred Tax Assets, Goodwill and Intangible Assets",
        "terseLabel": "Intangible assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGoodwillAndIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r408"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "terseLabel": "Total deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "auth_ref": [
      "r410"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting.",
        "label": "Deferred Tax Assets, Net",
        "terseLabel": "Valuation Allowance",
        "verboseLabel": "Total deferred tax assets, net"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcompanysnetdeferredtaxassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r410"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "terseLabel": "Total deferred tax assets, net of allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsDomestic": {
     "auth_ref": [
      "r413",
      "r414"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible domestic operating loss carryforwards. Excludes state and local operating loss carryforwards.",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards, Domestic",
        "terseLabel": "Net operating loss carryforwards \u2013 domestic"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwardsDomestic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsForeign": {
     "auth_ref": [
      "r413",
      "r414"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible foreign operating loss carryforwards.",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards, Foreign",
        "terseLabel": "Net operating loss carryforwards \u2013 foreign"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwardsForeign",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "auth_ref": [
      "r413",
      "r414"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
        "label": "Deferred Tax Assets, Other",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "DeferredTaxAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r409"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r400",
      "r410"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities, Net",
        "negatedLabel": "Deferred tax liability",
        "terseLabel": "Net liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcompanysnetdeferredtaxassetsTable",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesOther": {
     "auth_ref": [
      "r413",
      "r414"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences classified as other.",
        "label": "Deferred Tax Liabilities, Other",
        "negatedLabel": "Other"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities": {
     "auth_ref": [
      "r413",
      "r414"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofcompanysnetdeferredtaxassetsTable": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from unrealized gains on trading securities.",
        "label": "Deferred Tax Liabilities, Unrealized Gains on Trading Securities",
        "negatedLabel": "Unrealized gain on marketable securities"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesUnrealizedGainsOnTradingSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcompanysnetdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanAdministrativeExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of administrative expense incurred by defined contribution plan.",
        "label": "Defined Contribution Plan, Administrative Expense",
        "terseLabel": "Contribution plan expenses"
       }
      }
     },
     "localname": "DefinedContributionPlanAdministrativeExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanTable": {
     "auth_ref": [
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about defined contribution pension plans or defined contribution other postretirement plans, separately for pension plans and other postretirement benefit plans.",
        "label": "Defined Contribution Plan [Table]"
       }
      }
     },
     "localname": "DefinedContributionPlanTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlan"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedContributionPlanTextBlock": {
     "auth_ref": [
      "r350",
      "r351"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for defined contribution plan.",
        "label": "Defined Contribution Plan [Text Block]",
        "terseLabel": "Defined Contribution Plan"
       }
      }
     },
     "localname": "DefinedContributionPlanTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlan"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r96",
      "r225"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "auth_ref": [
      "r96",
      "r181"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
        "label": "Depreciation, Depletion and Amortization",
        "terseLabel": "Depreciation and amortization"
       }
      }
     },
     "localname": "DepreciationDepletionAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r56",
      "r57",
      "r58",
      "r473"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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": "Derivative Asset",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate related to the interest rate derivative.",
        "label": "Derivative, Fixed Interest Rate",
        "terseLabel": "Interest rate"
       }
      }
     },
     "localname": "DerivativeFixedInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r56",
      "r57",
      "r58",
      "r473"
     ],
     "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": "Derivative Liability",
        "terseLabel": "Warrant Liability"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilitiesNoncurrent": {
     "auth_ref": [
      "r56"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "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, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability, Noncurrent",
        "terseLabel": "Warrant liability"
       }
      }
     },
     "localname": "DerivativeLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r119",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Warrant Liability"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DescriptionOfDefinedContributionPensionAndOtherPostretirementPlans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of defined contribution pension and other postretirement plans.",
        "label": "Defined Contribution Plan, Description",
        "terseLabel": "Defined contribution plan, description"
       }
      }
     },
     "localname": "DescriptionOfDefinedContributionPensionAndOtherPostretirementPlans",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DefinedContributionPlanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DevelopmentCosts": {
     "auth_ref": [
      "r533"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The capitalized costs incurred during the period (excluded from amortization) to obtain access to proved reserves and to provide facilities for extracting, treating, gathering and storing the oil and gas.",
        "label": "Development Costs, Period Cost",
        "terseLabel": "Product development"
       }
      }
     },
     "localname": "DevelopmentCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "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": "Disaggregation of Revenue [Line Items]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "auth_ref": [
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "terseLabel": "Schedule of revenue by timing of recognition"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r394"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]",
        "terseLabel": "Equity Incentive Plans"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlans"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisclosureTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Text Block [Abstract]"
       }
      }
     },
     "localname": "DisclosureTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisclosureTextBlockSupplementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Text Block Supplement [Abstract]"
       }
      }
     },
     "localname": "DisclosureTextBlockSupplementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DomesticCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
        "label": "Domestic Tax Authority [Member]",
        "terseLabel": "Domestic Tax Authority [Member]"
       }
      }
     },
     "localname": "DomesticCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DueToOtherRelatedPartiesClassifiedCurrent": {
     "auth_ref": [
      "r41",
      "r118",
      "r509"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "mcmj_TotalCurrentLiabilitie",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount payable to related parties classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Due to Other Related Parties, Current",
        "terseLabel": "Due to Sponsor"
       }
      }
     },
     "localname": "DueToOtherRelatedPartiesClassifiedCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasicAndDiluted": {
     "auth_ref": [
      "r151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements.  Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period.  Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Basic and diluted net income (loss) per share, common stock",
        "netLabel": "Basic and diluted net income (loss) per share, Common Stock (in Dollars per share)",
        "terseLabel": "Basic and diluted loss per share (in Dollars per share)",
        "totalLabel": "Basic and diluted net loss per share",
        "verboseLabel": "Basic and diluted net loss per share, common stock"
       }
      }
     },
     "localname": "EarningsPerShareBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetlosspercommonshareTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r153",
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Net Loss Per Common Share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r153",
      "r154",
      "r155",
      "r158"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Net Loss Per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/NetLossPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r402"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "terseLabel": "Income tax provision"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreconciliationoffederalincometaxratetothecompanyseffectivetaxrateTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r116",
      "r402",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "netLabel": "Effective tax rate",
        "terseLabel": "Statutory federal income tax rate",
        "verboseLabel": "Statutory tax rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreconciliationoffederalincometaxratetothecompanyseffectivetaxrateTable",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r402",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the valuation allowance for deferred tax assets.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Percent",
        "terseLabel": "Valuation allowance"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreconciliationoffederalincometaxratetothecompanyseffectivetaxrateTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate": {
     "auth_ref": [
      "r402",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the income tax rates.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Percent",
        "terseLabel": "Change in fair value of warrant liability"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreconciliationoffederalincometaxratetothecompanyseffectivetaxrateTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r402",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to state and local income tax expense (benefit), net of federal tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent",
        "terseLabel": "State taxes, net of federal tax benefit"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreconciliationoffederalincometaxratetothecompanyseffectivetaxrateTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmployeeBenefitsAndShareBasedCompensation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for employee benefit and equity-based compensation.",
        "label": "Employee Benefits and Share-based Compensation",
        "terseLabel": "Recognized compensation cost"
       }
      }
     },
     "localname": "EmployeeBenefitsAndShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeRelatedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r556",
      "r581"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable": {
       "order": 1.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable": {
       "order": 1.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits.",
        "label": "Employee-related Liabilities",
        "terseLabel": "Employee-related liabilities"
       }
      }
     },
     "localname": "EmployeeRelatedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost to be recognized for option under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Option, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized stock-based compensation expense"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r62",
      "r63",
      "r64",
      "r122",
      "r123",
      "r124",
      "r126",
      "r133",
      "r136",
      "r159",
      "r216",
      "r308",
      "r314",
      "r388",
      "r389",
      "r390",
      "r418",
      "r419",
      "r463",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r591",
      "r592",
      "r593",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExcessStockSharesIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of excess stock shares of an entity that have been sold or granted to shareholders.",
        "label": "Excess Stock, Shares Issued",
        "terseLabel": "Shares issued"
       }
      }
     },
     "localname": "ExcessStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ExcessStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of excess stock held by shareholders.",
        "label": "Excess Stock, Shares Outstanding",
        "terseLabel": "Shares outstanding"
       }
      }
     },
     "localname": "ExcessStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_FairValueAdjustmentOfWarrants": {
     "auth_ref": [
      "r96",
      "r289"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of warrant liability.",
        "label": "Fair Value Adjustment of Warrants",
        "terseLabel": "Change in fair value of warrant liability"
       }
      }
     },
     "localname": "FairValueAdjustmentOfWarrants",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "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": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "terseLabel": "Schedule of assets are measured at fair value on a recurring basis"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock": {
     "auth_ref": [
      "r466",
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class 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": "Fair Value, Assets Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of assets are measured at fair value on a recurring basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r272",
      "r284",
      "r285",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r349",
      "r467",
      "r522",
      "r523",
      "r524"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r470"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/FairValueMeasurements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r272",
      "r341",
      "r342",
      "r347",
      "r349",
      "r467",
      "r522"
     ],
     "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]",
        "terseLabel": "Level 1 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r272",
      "r284",
      "r285",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r349",
      "r467",
      "r524"
     ],
     "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]",
        "terseLabel": "Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueNetAssetLiability": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of asset after deduction of liability.",
        "label": "Fair Value, Net Asset (Liability)",
        "periodEndLabel": "Fair value",
        "periodStartLabel": "Fair value"
       }
      }
     },
     "localname": "FairValueNetAssetLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r471",
      "r472"
     ],
     "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]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r115",
      "r401"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred federal income tax expense (benefit) attributable to income (loss) from continuing operations.",
        "label": "Federal Income Tax Expense (Benefit), Continuing Operations",
        "terseLabel": "U.S federal"
       }
      }
     },
     "localname": "FederalIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "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": "Financing Receivable, Allowance for Credit Loss [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ForeignCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax departments of governments entitled to levy and collect income taxes from the entity outside the entity's country of domicile.",
        "label": "Foreign Tax Authority [Member]",
        "terseLabel": "Foreign Tax Authority [Member]"
       }
      }
     },
     "localname": "ForeignCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r483"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Foreign Currency"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r115"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred foreign income tax expense (benefit) attributable to income (loss) from continuing operations.",
        "label": "Foreign Income Tax Expense (Benefit), Continuing Operations",
        "terseLabel": "Foreign net operating losses"
       }
      }
     },
     "localname": "ForeignIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FurnitureAndFixturesGross": {
     "auth_ref": [
      "r226"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation of equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture and Fixtures, Gross",
        "terseLabel": "Property and Equipment, Net"
       }
      }
     },
     "localname": "FurnitureAndFixturesGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture and Fixtures [Member]",
        "terseLabel": "Furniture and Fixtures [Member]"
       }
      }
     },
     "localname": "FurnitureAndFixturesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r78"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "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 Expense",
        "terseLabel": "General and administrative",
        "verboseLabel": "General and administrative expense"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing general and administrative expense.",
        "label": "General and Administrative Expense [Member]",
        "terseLabel": "General and Administrative Expense [Member]"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GrossProfit": {
     "auth_ref": [
      "r74",
      "r114",
      "r183",
      "r187",
      "r191",
      "r194",
      "r197",
      "r215",
      "r245",
      "r246",
      "r247",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r474"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
        "label": "Gross Profit",
        "terseLabel": "Total gross margin",
        "totalLabel": "Gross margin"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IPOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First sale of stock by a private company to the public.",
        "label": "IPO [Member]",
        "terseLabel": "IPO [Member]",
        "verboseLabel": "Initial Public Offering [Member]"
       }
      }
     },
     "localname": "IPOMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "auth_ref": [
      "r224",
      "r230"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing and measuring the impairment of long-lived assets. An entity also may disclose its accounting policy for long-lived assets to be sold. This policy excludes goodwill and intangible assets.",
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "terseLabel": "Accounting for Impairment of Long-Lived Assets"
       }
      }
     },
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r67",
      "r183",
      "r187",
      "r191",
      "r194",
      "r197",
      "r546",
      "r558",
      "r563",
      "r585"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "(Loss) income before provision for income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r114",
      "r125",
      "r183",
      "r187",
      "r191",
      "r194",
      "r197",
      "r215",
      "r245",
      "r246",
      "r247",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r441",
      "r465",
      "r474"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Less: revenue recognized from beginning balance"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) from continuing operations per each basic and diluted share of common stock or unit when the per share amount is the same for both basic and diluted shares.",
        "label": "Income (Loss) from Continuing Operations, Per Basic and Diluted Share",
        "terseLabel": "Basic and diluted net income per share, common stock subject to possible redemption",
        "verboseLabel": "Basic and diluted net income (loss) per share, common stock subject to possible redemption"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsPerBasicAndDilutedShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetlosspercommonshareTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r229",
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r404"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofnetlossbeforeincometaxesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r116",
      "r403",
      "r405",
      "r412",
      "r420",
      "r426",
      "r428",
      "r429",
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "INCOME TAX"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTax"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r117",
      "r135",
      "r136",
      "r182",
      "r401",
      "r421",
      "r427",
      "r586"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 4.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "Benefit from (provision for) income taxes",
        "terseLabel": "Income tax provision",
        "verboseLabel": "Provision for income taxes"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r61",
      "r398",
      "r399",
      "r405",
      "r406",
      "r411",
      "r417"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r402"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount",
        "terseLabel": "Change in valuation allowance"
       }
      }
     },
     "localname": "IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r402"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
        "terseLabel": "Federal tax (benefit) at statutory rate"
       }
      }
     },
     "localname": "IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationOtherAdjustments": {
     "auth_ref": [
      "r402"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments.",
        "label": "Effective Income Tax Rate Reconciliation, Other Adjustments, Amount",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "IncomeTaxReconciliationOtherAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationOtherReconcilingItems": {
     "auth_ref": [
      "r402"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to tax exempt income, equity in earnings (loss) of an unconsolidated subsidiary, minority noncontrolling interest income (loss), tax holiday, disposition of a business, disposition of an asset, repatriation of foreign earnings, repatriation of foreign earnings jobs creation act of 2004, increase (decrease) in enacted tax rate, prior year income taxes, increase (decrease) in deferred tax asset valuation allowance, and other adjustments.",
        "label": "Effective Income Tax Rate Reconciliation, Other Reconciling Items, Amount",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "IncomeTaxReconciliationOtherReconcilingItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes": {
     "auth_ref": [
      "r402"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to revisions of previously reported income tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, Prior Year Income Taxes, Amount",
        "terseLabel": "Permanent differences"
       }
      }
     },
     "localname": "IncomeTaxReconciliationPriorYearIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r402"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Amount",
        "terseLabel": "State tax at statutory rate, net of federal"
       }
      }
     },
     "localname": "IncomeTaxReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofincometaxesdiffersfromtheamountestimatedbyapplyingthestatutoryfederalincometaxratetonetlossbeforetaxesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r92",
      "r100"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
        "label": "Income Taxes Paid",
        "terseLabel": "Cash paid for income taxes"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayable": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 13.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 liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.",
        "label": "Increase (Decrease) in Accounts Payable",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Receivable",
        "negatedLabel": "Accounts receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in the amount due for taxes based on the reporting entity's earnings or attributable to the entity's income earning process (business presence) within a given jurisdiction.",
        "label": "Increase (Decrease) in Income Taxes Payable",
        "terseLabel": "Income taxes payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedIncomeTaxesPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilities": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 5.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 expenses incurred but not yet paid.",
        "label": "Increase (Decrease) in Accrued Liabilities",
        "terseLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in accrued expenses, and obligations classified as other.",
        "label": "Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities",
        "terseLabel": "Accrued expenses and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredRevenue": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable.",
        "label": "Increase (Decrease) in Deferred Revenue",
        "terseLabel": "Deferred revenue"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities": {
     "auth_ref": [
      "r95"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Liabilities",
        "terseLabel": "Add: net increase in current period contract liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidExpensesOther": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) of consideration paid in advance for other costs that provide economic benefits in future periods.",
        "label": "Increase (Decrease) in Prepaid Expenses, Other",
        "negatedLabel": "Prepaid expenses and other current assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidExpensesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecuritiesOther": {
     "auth_ref": [
      "r561"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other operating dividend and interest income, including amortization and accretion of premiums and discounts, on securities.",
        "label": "Interest and Dividend Income, Securities, Operating, Other",
        "terseLabel": "Interest earned on marketable securities held in Trust Account"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecuritiesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndOtherIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherOperatingIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest income and other income recognized during the period. Included in this element is interest derived from investments in debt securities, cash and cash equivalents, and other investments which reflect the time value of money or transactions in which the payments are for the use or forbearance of money and other income from ancillary business-related activities (that is, excluding major activities considered part of the normal operations of the business).",
        "label": "Interest and Other Income",
        "terseLabel": "Interest earned on marketable securities held in Trust Account"
       }
      }
     },
     "localname": "InterestAndOtherIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r65",
      "r180",
      "r484",
      "r486",
      "r562"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest expense recognized"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r560"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "terseLabel": "Interest expense, net"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeRelatedParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income earned from interest-bearing assets owed to the entity by related party.",
        "label": "Interest Income, Related Party",
        "terseLabel": "Interest earned"
       }
      }
     },
     "localname": "InterestIncomeRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r88",
      "r91",
      "r100"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "negatedLabel": "Less: write-offs, net of recoveries"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseAndRentalExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of rent expense incurred for leased assets, including but not limited to, furniture and equipment, that is not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "Operating Leases, Rent Expense",
        "terseLabel": "Rent expense"
       }
      }
     },
     "localname": "LeaseAndRentalExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r226"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold Improvements [Member]"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "auth_ref": [
      "r494"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
        "label": "Lessee, Leases [Policy Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeLeasesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r499"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Schedule of maturities of lease liabilities"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r499"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "terseLabel": "Total minimum lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r499"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r499"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r499"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/Leases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r44",
      "r114",
      "r189",
      "r215",
      "r245",
      "r246",
      "r247",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r443",
      "r449",
      "r450",
      "r474",
      "r515",
      "r516"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total Liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "Liabilities:"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofassetsaremeasuredatfairvalueonarecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r30",
      "r114",
      "r215",
      "r474",
      "r517",
      "r554",
      "r577"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "TOTAL LIABILITIES AND STOCKHOLDERS\u2019 DEFICIT"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "Current liabilities:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtTerm": {
     "auth_ref": [
      "r469"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period between issuance and maturity of long-term debt, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Long-term Debt, Term",
        "terseLabel": "Effective date"
       }
      }
     },
     "localname": "LongTermDebtTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_MajorCustomersPolicyPolicyTextBlock": {
     "auth_ref": [
      "r168",
      "r169",
      "r170",
      "r202"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for major customers. Major customers are those that the loss of such customers would have a material adverse effect on the entity.",
        "label": "Major Customers, Policy [Policy Text Block]",
        "terseLabel": "Costs to Obtain Contracts with Customers"
       }
      }
     },
     "localname": "MajorCustomersPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MarketableSecuritiesGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherOperatingIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in marketable security, including other-than-temporary impairment (OTTI).",
        "label": "Marketable Securities, Gain (Loss)",
        "terseLabel": "Unrealized gain (loss) on marketable securities held in Trust Account"
       }
      }
     },
     "localname": "MarketableSecuritiesGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketableSecuritiesPolicy": {
     "auth_ref": [
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment classified as marketable security.",
        "label": "Marketable Securities, Policy [Policy Text Block]",
        "terseLabel": "Marketable Securities Held in Trust Account"
       }
      }
     },
     "localname": "MarketableSecuritiesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r90"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 3.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": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash Flows from Financing Activities:",
        "verboseLabel": "Cash flows from financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r90"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash provided by (used in) investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash Flows from Investing Activities:",
        "verboseLabel": "Cash flows from investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r90",
      "r94",
      "r97"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "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": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash used in operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash Flows from Operating Activities:",
        "verboseLabel": "Cash flows from operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r3",
      "r59",
      "r60",
      "r64",
      "r68",
      "r97",
      "r114",
      "r125",
      "r127",
      "r128",
      "r130",
      "r131",
      "r135",
      "r136",
      "r148",
      "r183",
      "r187",
      "r191",
      "r194",
      "r197",
      "r215",
      "r245",
      "r246",
      "r247",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r465",
      "r474",
      "r559",
      "r584"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net income (loss)",
        "totalLabel": "Net (loss) income"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAllocatedToLimitedPartners": {
     "auth_ref": [
      "r316"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of net income allocated to limited partners.",
        "label": "Net Income (Loss) Allocated to Limited Partners",
        "terseLabel": "Net income (loss)"
       }
      }
     },
     "localname": "NetIncomeLossAllocatedToLimitedPartners",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest": {
     "auth_ref": [
      "r75"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of net income (loss) attributable to nonredeemable noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Nonredeemable Noncontrolling Interest",
        "terseLabel": "Allocation of net loss, common stock"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNonredeemableNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetlosspercommonshareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "auth_ref": [
      "r140",
      "r143",
      "r144",
      "r145",
      "r146",
      "r149",
      "r152"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "terseLabel": "Net loss (numerator)"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcomputationofbasicanddilutednetlosspershareattributabletocommonstockholdersTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcomputationofbasicanddilutednetlosspershareattributabletocommonstockholdersTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossIncludingPortionAttributableToNonredeemableNoncontrollingInterest": {
     "auth_ref": [
      "r291",
      "r446",
      "r447"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after income tax of income (loss) including the portion attributable to nonredeemable noncontrolling interest. Excludes the portion attributable to redeemable noncontrolling interest recognized as temporary equity.",
        "label": "Net Income (Loss), Including Portion Attributable to Nonredeemable Noncontrolling Interest",
        "terseLabel": "Net (loss) income"
       }
      }
     },
     "localname": "NetIncomeLossIncludingPortionAttributableToNonredeemableNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable"
     ],
     "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]",
        "terseLabel": "Recently Adopted Accounting Standards"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r175"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segment"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReportingDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingCostsAndExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Excludes Selling, General and Administrative Expense.",
        "label": "Operating Costs and Expenses",
        "terseLabel": "Operating costs"
       }
      }
     },
     "localname": "OperatingCostsAndExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "Operating expenses"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r183",
      "r187",
      "r191",
      "r194",
      "r197"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "totalLabel": "Loss from operations"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r495",
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating lease cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r492"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r492"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable": {
       "order": 2.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable": {
       "order": 2.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Lease liability"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r492"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "Present value of lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofmaturitiesofleaseliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r493",
      "r496"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease, Payments",
        "terseLabel": "Operating lease, payments"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r491"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense": {
     "auth_ref": [
      "r96"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for right-of-use asset from operating lease.",
        "label": "Operating Lease, Right-of-Use Asset, Amortization Expense",
        "terseLabel": "Amortization of right of use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetAmortizationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r498",
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Weighted-average discount rate"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r497",
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Lease term"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r4",
      "r455"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Description of Organization, Business Operations and Going Concern"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcern"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r8",
      "r9",
      "r10",
      "r45"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable": {
       "order": 3.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Accrued Liabilities, Current",
        "terseLabel": "Other accrued expenses"
       }
      }
     },
     "localname": "OtherAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r556",
      "r581"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable": {
       "order": 4.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid classified as other.",
        "label": "Other Accrued Liabilities",
        "terseLabel": "Other accrued expenses"
       }
      }
     },
     "localname": "OtherAccruedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsCurrent": {
     "auth_ref": [
      "r54",
      "r517"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current assets classified as other.",
        "label": "Other Assets, Current",
        "terseLabel": "Other current assets"
       }
      }
     },
     "localname": "OtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r39"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "auth_ref": [
      "r77"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation.",
        "label": "Other Cost and Expense, Operating",
        "terseLabel": "Transaction costs"
       }
      }
     },
     "localname": "OtherCostAndExpenseOperating",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCurrentAssetsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for other current assets.",
        "label": "Other Current Assets [Text Block]",
        "terseLabel": "Prepaid Expenses and Other Current Assets"
       }
      }
     },
     "localname": "OtherCurrentAssetsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherDeferredCostsNet": {
     "auth_ref": [
      "r39"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net amount of other deferred costs capitalized at the end of the reporting period. Does not include deferred finance costs or deferred acquisition costs of insurance companies.",
        "label": "Other Deferred Costs, Net",
        "terseLabel": "Other offering costs"
       }
      }
     },
     "localname": "OtherDeferredCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherGeneralExpense": {
     "auth_ref": [
      "r79"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of general expenses not normally included in Other Operating Costs and Expenses.",
        "label": "Other General Expense",
        "terseLabel": "Corporate services and expenses"
       }
      }
     },
     "localname": "OtherGeneralExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherIntangibleAssetsNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated amortization of finite-lived and indefinite-lived intangible assets classified as other.",
        "label": "Other Intangible Assets, Net",
        "terseLabel": "Net tangible assets"
       }
      }
     },
     "localname": "OtherIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Noncurrent",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncashExpense": {
     "auth_ref": [
      "r97"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense or loss included in net income that result in no cash flow, classified as other.",
        "label": "Other Noncash Expense",
        "terseLabel": "Noncash lease costs"
       }
      }
     },
     "localname": "OtherNoncashExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncashIncomeExpense": {
     "auth_ref": [
      "r97"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) included in net income that results in no cash inflow (outflow), classified as other.",
        "label": "Other Noncash Income (Expense)",
        "negatedLabel": "Other"
       }
      }
     },
     "localname": "OtherNoncashIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Nonoperating Income (Expense) [Abstract]",
        "terseLabel": "Other income (expense):",
        "verboseLabel": "Other (expense) income:"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherOperatingIncomeExpenseNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of other operating income and expenses, the components of which are not separately disclosed on the income statement, from items that are associated with the entity's normal revenue producing operations.",
        "label": "Other Operating Income (Expense), Net",
        "totalLabel": "Other (expense) income, net"
       }
      }
     },
     "localname": "OtherOperatingIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OverAllotmentOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right given to the underwriter to sell additional shares over the initial allotment.",
        "label": "Over-Allotment Option [Member]",
        "terseLabel": "Over-Allotment Option [Member]"
       }
      }
     },
     "localname": "OverAllotmentOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PayablesAndAccrualsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payables and Accruals [Abstract]"
       }
      }
     },
     "localname": "PayablesAndAccrualsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsForRent": {
     "auth_ref": [
      "r93"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash payments to lessor's for use of assets under operating leases.",
        "label": "Payments for Rent",
        "terseLabel": "Payment for rent"
       }
      }
     },
     "localname": "PaymentsForRent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/LeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r87"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments of Stock Issuance Costs",
        "negatedLabel": "Payment of offering costs",
        "terseLabel": "Transaction costs",
        "verboseLabel": "Issuance cost amount (in Dollars)"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
        "label": "Payments to Acquire Businesses, Net of Cash Acquired",
        "negatedLabel": "Deposits paid"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquired",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchase of property and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToInvestInDecommissioningFund": {
     "auth_ref": [
      "r83"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the purchase of investments that will be held in a decommissioning trust fund.",
        "label": "Payments to Acquire Investments to be Held in Decommissioning Trust Fund",
        "negatedLabel": "Investment of cash in Trust Account"
       }
      }
     },
     "localname": "PaymentsToInvestInDecommissioningFund",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r360",
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding nonredeemable preferred class A stock or outstanding convertible preferred class A stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Preferred Class A [Member]",
        "terseLabel": "Series A Preferred Stock [Member]"
       }
      }
     },
     "localname": "PreferredClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockConvertibleSharesIssuable": {
     "auth_ref": [
      "r294"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common shares issuable upon conversion of preferred stock.",
        "label": "Preferred Stock, Convertible, Shares Issuable",
        "terseLabel": "Shares issued"
       }
      }
     },
     "localname": "PreferredStockConvertibleSharesIssuable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockLiquidationPreferenceValue": {
     "auth_ref": [
      "r111",
      "r297"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the difference between preference in liquidation and the par or stated values of the preferred shares.",
        "label": "Preferred Stock, Liquidation Preference, Value",
        "terseLabel": "Aggregate liquidation preference (in Dollars)"
       }
      }
     },
     "localname": "PreferredStockLiquidationPreferenceValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]",
        "terseLabel": "Preferred Stock"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r23",
      "r292"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock par value (in Dollars per share)",
        "verboseLabel": "Preferred stock, par value (in Dollars per share)"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r23"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r23",
      "r292"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred Stock, Shares Issued",
        "terseLabel": "Preferred stock, shares issued"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r23"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock, Shares Outstanding",
        "terseLabel": "Preferred stock, shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r23",
      "r517"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock, Value, Issued",
        "terseLabel": "Series A preferred stock; $0.0001 par value; 20,033 authorized, 18,702 issued and outstanding, and aggregate liquidation preference of $19,436 at September 30, 2021 and December 31, 2020, respectively"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r6",
      "r34",
      "r35"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Current",
        "terseLabel": "Prepaid expenses and other current assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseCurrentAndNoncurrent": {
     "auth_ref": [
      "r555",
      "r580"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of expenditures made in advance of when the economic benefit of the cost will be realized, and which will be expensed in future periods with the passage of time or when a triggering event occurs.",
        "label": "Prepaid Expense",
        "terseLabel": "Prepaid expenses"
       }
      }
     },
     "localname": "PrepaidExpenseCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofprepaidexpensesandothercurrentassetsTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrincipleTransactionRevenueLineItems": {
     "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": "Principal Transaction Revenue [Line Items]"
       }
      }
     },
     "localname": "PrincipleTransactionRevenueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PrincipleTransactionRevenueTable": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of revenue by reporting categories or types of financial instruments, including derivatives but excluding dividends and interests, from trading for own account by broker dealers. This element may be used for the entire principal transactions revenue schedule.",
        "label": "Principal Transaction Revenue [Table]"
       }
      }
     },
     "localname": "PrincipleTransactionRevenueTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesindeferredrevenueTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PrivatePlacementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A private placement is a direct offering of securities to a limited number of sophisticated investors such as insurance companies, pension funds, mezzanine funds, stock funds and trusts.",
        "label": "Private Placement [Member]",
        "terseLabel": "Private Placement [Member]"
       }
      }
     },
     "localname": "PrivatePlacementMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromIssuanceInitialPublicOffering": {
     "auth_ref": [
      "r84"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from entity's first offering of stock to the public.",
        "label": "Proceeds from Issuance Initial Public Offering",
        "terseLabel": "Gross proceeds",
        "verboseLabel": "Generating gross proceeds"
       }
      }
     },
     "localname": "ProceedsFromIssuanceInitialPublicOffering",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofCommonStockreflectedinthebalancesheetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from issuance of Class 1 common stock",
        "verboseLabel": "Common stock issuance costs"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ScheduleofCommonStockreflectedinthebalancesheetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from issuance of preferred stocks identified as being convertible into another form of financial instrument, typically the entity's common stock.",
        "label": "Proceeds from Issuance of Convertible Preferred Stock",
        "terseLabel": "Proceeds from Series A preferred stock, net"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfConvertiblePreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfPrivatePlacement": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from entity's raising of capital via private rather than public placement.",
        "label": "Proceeds from Issuance of Private Placement",
        "netLabel": "Aggregate proceeds",
        "terseLabel": "Proceeds from sale of Private Warrants",
        "verboseLabel": "Gross proceeds from investors"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfPrivatePlacement",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromOtherEquity": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from the issuance of equity classified as other.",
        "label": "Proceeds from Other Equity",
        "terseLabel": "Proceeds from sale of Units, net of underwriting discounts paid"
       }
      }
     },
     "localname": "ProceedsFromOtherEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRelatedPartyDebt": {
     "auth_ref": [
      "r85"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a long-term borrowing made from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Proceeds from Advances from Affiliates.",
        "label": "Proceeds from Related Party Debt",
        "terseLabel": "Proceeds from related party payables"
       }
      }
     },
     "localname": "ProceedsFromRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRepaymentsOfDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash inflow or outflow in aggregate debt due to repayments and proceeds from additional borrowings.",
        "label": "Proceeds from (Repayments of) Debt",
        "terseLabel": "Proceeds from convertible promissory notes"
       }
      }
     },
     "localname": "ProceedsFromRepaymentsOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRepaymentsOfRelatedPartyDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from long-term debt by a related party. Related parties, include, but are not limited to, affiliates, owners or officers and their immediate families, and pension trusts.",
        "label": "Proceeds from (Repayments of) Related Party Debt",
        "terseLabel": "Payments on related party payables"
       }
      }
     },
     "localname": "ProceedsFromRepaymentsOfRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
        "label": "Proceeds from Sale of Property, Plant, and Equipment",
        "terseLabel": "Proceeds from sale of property and equipment"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r84",
      "r387"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Proceeds from exercise of stock options"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r3",
      "r59",
      "r60",
      "r64",
      "r89",
      "r114",
      "r125",
      "r135",
      "r136",
      "r183",
      "r187",
      "r191",
      "r194",
      "r197",
      "r215",
      "r245",
      "r246",
      "r247",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r441",
      "r445",
      "r447",
      "r452",
      "r453",
      "r465",
      "r474",
      "r563"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income (loss)",
        "verboseLabel": "Net income"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r38",
      "r228"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r231",
      "r608",
      "r609",
      "r610"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property and Equipment, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "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": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r13",
      "r14",
      "r228",
      "r517",
      "r565",
      "r578"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Property and equipment, net",
        "verboseLabel": "Total"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r37",
      "r228",
      "r608",
      "r609"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r13",
      "r228"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Schedule of property and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PropertyandEquipmentNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r13",
      "r226"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProvisionForDoubtfulAccounts": {
     "auth_ref": [
      "r70",
      "r220"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
        "label": "Accounts Receivable, Credit Loss Expense (Reversal)",
        "terseLabel": "Bad debt expense",
        "verboseLabel": "Add: provision for doubtful accounts"
       }
      }
     },
     "localname": "ProvisionForDoubtfulAccounts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReceivablesTradeAndOtherAccountsReceivableAllowanceForDoubtfulAccountsPolicy": {
     "auth_ref": [
      "r32",
      "r212"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the allowance for doubtful accounts for trade and other accounts receivable balances, and when impairments, charge-offs or recoveries are recognized.",
        "label": "Receivables, Trade and Other Accounts Receivable, Allowance for Doubtful Accounts, Policy [Policy Text Block]",
        "terseLabel": "Allowance for Doubtful Accounts"
       }
      }
     },
     "localname": "ReceivablesTradeAndOtherAccountsReceivableAllowanceForDoubtfulAccountsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r348",
      "r508",
      "r509"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r348",
      "r508",
      "r509",
      "r511"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDescriptionOfTransaction": {
     "auth_ref": [
      "r18",
      "r489",
      "r500",
      "r504",
      "r505",
      "r507"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A description of the related party transaction, including transactions to which no amounts or nominal amounts were ascribed and such other information deemed necessary to an understanding of the effects of the transactions on the financial statements. Examples of common related party transactions are, sales, purchases and transfers of realty and personal property, services received or furnished, loans and leases to and from top management and affiliates.",
        "label": "Related Party Transaction, Description of Transaction",
        "terseLabel": "Related party, description"
       }
      }
     },
     "localname": "RelatedPartyTransactionDescriptionOfTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r348"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party.",
        "label": "Related Party Transaction, Purchases from Related Party",
        "terseLabel": "Advances from related party"
       }
      }
     },
     "localname": "RelatedPartyTransactionPurchasesFromRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r348",
      "r508",
      "r511",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r506",
      "r507",
      "r509",
      "r512",
      "r513"
     ],
     "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]",
        "terseLabel": "Related Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfRelatedPartyDebt": {
     "auth_ref": [
      "r86"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the payment of a long-term borrowing made from a related party where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Payments for Advances from Affiliates.",
        "label": "Repayments of Related Party Debt",
        "negatedLabel": "Repayment of advances from related party"
       }
      }
     },
     "localname": "RepaymentsOfRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpensePolicy": {
     "auth_ref": [
      "r397"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for costs it has incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process.",
        "label": "Research and Development Expense, Policy [Policy Text Block]",
        "terseLabel": "Product Development"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpensePolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestrictedCash": {
     "auth_ref": [
      "r104",
      "r548",
      "r575"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage. 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.",
        "label": "Restricted Cash",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalents": {
     "auth_ref": [
      "r12",
      "r98",
      "r104",
      "r548",
      "r575"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents restricted as to withdrawal or usage. 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": "Restricted Cash and Cash Equivalents",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems": {
     "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": "Restricted Cash and Cash Equivalents Items [Line Items]"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsItemsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RestrictedCashCurrent": {
     "auth_ref": [
      "r5",
      "r12",
      "r104"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0": {
       "order": 2.0,
       "parentTag": "us-gaap_Cash",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as current. 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.",
        "label": "Restricted Cash, Current",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCashCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestructuringAndRelatedActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restructuring and Related Activities [Abstract]"
       }
      }
     },
     "localname": "RestructuringAndRelatedActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RestructuringAndRelatedActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r232",
      "r233",
      "r235",
      "r237",
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for restructuring and related activities. Description of restructuring activities such as exit and disposal activities, include facts and circumstances leading to the plan, the expected plan completion date, the major types of costs associated with the plan activities, total expected costs, the accrual balance at the end of the period, and the periods over which the remaining accrual will be settled.",
        "label": "Restructuring and Related Activities Disclosure [Text Block]",
        "terseLabel": "Restructuring Charges"
       }
      }
     },
     "localname": "RestructuringAndRelatedActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringCharges"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestructuringReserve": {
     "auth_ref": [
      "r233",
      "r236"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan.",
        "label": "Restructuring Reserve",
        "periodEndLabel": "Balance, end of period",
        "periodStartLabel": "Balance, beginning of period"
       }
      }
     },
     "localname": "RestructuringReserve",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetailMember": {
     "auth_ref": [
      "r330"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of product directly to consumer.",
        "label": "Retail [Member]",
        "terseLabel": "Retail [Member]"
       }
      }
     },
     "localname": "RetailMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r27",
      "r314",
      "r391",
      "r517",
      "r576",
      "r595",
      "r600"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Additional paid-in capital and accumulated deficit",
        "netLabel": "Retained Earnings",
        "terseLabel": "Accumulated deficit",
        "verboseLabel": "Accumulated Deficit"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r122",
      "r123",
      "r124",
      "r126",
      "r133",
      "r136",
      "r216",
      "r388",
      "r389",
      "r390",
      "r418",
      "r419",
      "r463",
      "r591",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Accumulated Deficit"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r178",
      "r179",
      "r186",
      "r192",
      "r193",
      "r199",
      "r200",
      "r202",
      "r328",
      "r329",
      "r532"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "terseLabel": "Revenue earned from contracts with customer"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r107",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r337"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "terseLabel": "Revenue from Contracts with Customers"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueNotFromContractWithCustomer": {
     "auth_ref": [
      "r66"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue that is not accounted for under Topic 606.",
        "label": "Revenue Not from Contract with Customer",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "RevenueNotFromContractWithCustomer",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebyservicetypeTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r107",
      "r108"
     ],
     "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]",
        "terseLabel": "Cost of Revenue"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems": {
     "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": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about expected timing for satisfying remaining performance obligation.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebytimingofrecognitionTable00"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock": {
     "auth_ref": [
      "r319"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of expected timing for satisfying remaining performance obligation.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table Text Block]",
        "terseLabel": "Schedule of revenue by timing of recognition"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r66",
      "r114",
      "r178",
      "r179",
      "r186",
      "r192",
      "r193",
      "r199",
      "r200",
      "r202",
      "r215",
      "r245",
      "r246",
      "r247",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r474",
      "r563"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "netLabel": "Total revenue",
        "terseLabel": "Revenue",
        "verboseLabel": "Total Revenue"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems": {
     "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": "Revenues from External Customers and Long-Lived Assets [Line Items]"
       }
      }
     },
     "localname": "RevenuesFromExternalCustomersAndLongLivedAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedOnTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received on stock transaction after deduction of issuance costs.",
        "label": "Sale of Stock, Consideration Received on Transaction",
        "terseLabel": "Gross proceeds from sale of stock",
        "verboseLabel": "Gross proceeds (in Dollars)"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedOnTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedPerTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration received by subsidiary or equity investee in exchange for shares of stock issued or sold. Includes amount of cash received, fair value of noncash assets received, and fair value of liabilities assumed by the investor.",
        "label": "Sale of Stock, Consideration Received Per Transaction",
        "terseLabel": "Aggregate amount of purchased value"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedPerTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails",
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction.",
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "netLabel": "Sale of additional stock issued",
        "terseLabel": "Sale of Units, net of underwriting discount and offering expenses",
        "verboseLabel": "Sale of additional stock issued (in Shares)"
       }
      }
     },
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable_Parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale of Stock, Price Per Share",
        "terseLabel": "Sale of stock price (in Dollars per share)",
        "verboseLabel": "Stock per price (in Dollars per share)"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accrued liabilities.",
        "label": "Schedule of Accrued Liabilities [Table Text Block]",
        "terseLabel": "Schedule of accrued expenses",
        "verboseLabel": "Schedule of accrued expenses and other current liabilities"
       }
      }
     },
     "localname": "ScheduleOfAccruedLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccruedExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts that are recognized in the balance sheet (or statement of financial position) for pension plans and/or other employee benefit plans, showing separately the assets and current and noncurrent liabilities (if applicable) recognized.",
        "label": "Schedule of Amounts Recognized in Balance Sheet [Table Text Block]",
        "terseLabel": "Schedule of Common Stock reflected in the balance sheets"
       }
      }
     },
     "localname": "ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock": {
     "auth_ref": [
      "r153"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities.",
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]",
        "terseLabel": "Schedule of antidilutive excluded from the computation of diluted net income per share attributable to common stockholders"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/NetLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of cash, cash equivalents, and investments.",
        "label": "Cash, Cash Equivalents and Investments [Table Text Block]",
        "terseLabel": "Schedule of cash, cash equivalents, and restricted cash"
       }
      }
     },
     "localname": "ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CashCashEquivalentsandRestrictedCashTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock": {
     "auth_ref": [
      "r338"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation of beginning and ending balances of the fair value of plan assets of pension plans and/or other employee benefit plans showing separately, if applicable, the effects during the period attributable to each of the following: actual return on plan assets, foreign currency exchange rate changes, contributions by the employer, contributions by plan participants, benefits paid, business combinations, divestitures, and settlements.",
        "label": "Schedule of Changes in Fair Value of Plan Assets [Table Text Block]",
        "terseLabel": "Schedule of changes in fair value of warrant liabilities"
       }
      }
     },
     "localname": "ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r417"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "terseLabel": "Schedule of income tax provision"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of company\u2019s net deferred tax assets",
        "verboseLabel": "Schedule of deferred tax assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r152"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of basic and diluted net loss per common share",
        "verboseLabel": "Schedule of basic and diluted net income (loss) per common share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTextBlock": {
     "auth_ref": [
      "r142",
      "r152",
      "r157"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the effect of income (loss) on an entity's diluted earnings per share.",
        "label": "Schedule of Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Table Text Block]",
        "terseLabel": "Schedule of basic and diluted net income (loss) per common share",
        "verboseLabel": "Schedule of computation of basic and diluted net loss per share attributable to common stockholders"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareDilutedByCommonClassTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/NetLossPerShareTables",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r402"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of federal income tax rate to the company\u2019s effective tax rate",
        "verboseLabel": "Schedule of income taxes differs from the amount estimated by applying the statutory federal income tax rate to net loss before taxes"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r221",
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofallowancefordoubtfulaccountsTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock": {
     "auth_ref": [
      "r115"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of income before income tax between domestic and foreign jurisdictions.",
        "label": "Schedule of Income before Income Tax, Domestic and Foreign [Table Text Block]",
        "terseLabel": "Schedule of net loss before income taxes"
       }
      }
     },
     "localname": "ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfOtherCurrentAssetsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the carrying amounts of other current assets.",
        "label": "Schedule of Other Current Assets [Table Text Block]",
        "terseLabel": "Schedule of prepaid expenses and other current assets"
       }
      }
     },
     "localname": "ScheduleOfOtherCurrentAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/PrepaidExpensesandOtherCurrentAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPrincipalTransactionsRevenueTextBlock": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of revenue by reporting categories or types of financial instruments, including derivatives but excluding dividends and interests, from trading for own account by broker dealers.",
        "label": "Schedule of Principal Transactions Revenue [Table Text Block]",
        "terseLabel": "Schedule of changes in deferred revenue"
       }
      }
     },
     "localname": "ScheduleOfPrincipalTransactionsRevenueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r38",
      "r228"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofpropertyandequipmentTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable": {
     "auth_ref": [
      "r12",
      "r104",
      "r548",
      "r575"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about cash and cash equivalents restricted as to withdrawal or usage.",
        "label": "Restrictions on Cash and Cash Equivalents [Table]"
       }
      }
     },
     "localname": "ScheduleOfRestrictedCashAndCashEquivalentsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcashcashequivalentsandrestrictedcashTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTextBlock": {
     "auth_ref": [
      "r12",
      "r104",
      "r548",
      "r575"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cash and cash equivalents restricted as to withdrawal or usage.",
        "label": "Restrictions on Cash and Cash Equivalents [Table Text Block]",
        "terseLabel": "Schedule of cash, cash equivalents, and restricted cash"
       }
      }
     },
     "localname": "ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock": {
     "auth_ref": [
      "r73",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information concerning material long-lived assets (excluding financial instruments, customer relationships with financial institutions, mortgage and other servicing rights, deferred policy acquisition costs, and deferred taxes assets) located in identified geographic areas and/or the amount of revenue from external customers attributed to that country from which revenue is material.  An entity may also provide subtotals of geographic information about groups of countries.",
        "label": "Schedule of Revenue from External Customers and Long-Lived Assets, by Geographical Areas [Table Text Block]",
        "terseLabel": "Schedule of revenue by geographic region"
       }
      }
     },
     "localname": "ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RevenueandContractBalancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable": {
     "auth_ref": [
      "r66",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of material long-lived assets (excluding financial instruments, customer relationships with financial institutions, mortgage and other servicing rights, deferred policy acquisition costs, and deferred taxes assets) located in identified geographic areas and/or the amount of revenue from external customers attributed to that country from which revenue is material.  An entity may also provide subtotals of geographic information about groups of countries.",
        "label": "Schedule of Revenues from External Customers and Long-Lived Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrevenuebygeographicregionTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r183",
      "r184",
      "r190",
      "r223"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r183",
      "r184",
      "r190",
      "r223"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Schedule of segment revenue and gross margin"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReportingTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r364",
      "r372",
      "r374"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Schedule of stock option activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r377"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Schedule of quantitative information regarding Level 3 fair value measurements",
        "verboseLabel": "Schedule of fair value of each stock option award to employees on the date of grant using the Black-Scholes option pricing model"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansTables",
      "http://www.MeridaMergerCorp.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockOptionsRollForwardTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the change in stock options.",
        "label": "Schedule of Stock Options Roll Forward [Table Text Block]",
        "terseLabel": "Schedule of early exercise activity"
       }
      }
     },
     "localname": "ScheduleOfStockOptionsRollForwardTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockholdersEquityTableTextBlock": {
     "auth_ref": [
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in the separate accounts comprising stockholders' equity (in addition to retained earnings) and of the changes in the number of shares of equity securities during at least the most recent annual fiscal period and any subsequent interim period presented is required to make the financial statements sufficiently informative if both financial position and results of operations are presented.",
        "label": "Schedule of Stockholders Equity [Table Text Block]",
        "terseLabel": "Schedule of restatement of changes in stockholders\u2019 equity (Deficit)"
       }
      }
     },
     "localname": "ScheduleOfStockholdersEquityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r174",
      "r176",
      "r177",
      "r183",
      "r185",
      "r191",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r201",
      "r202",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SegmentReporting"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "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": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofsegmentrevenueandgrossmarginTable0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SellingAndMarketingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total amount of expenses directly related to the marketing or selling of products or services.",
        "label": "Selling and Marketing Expense",
        "terseLabel": "Sales and marketing"
       }
      }
     },
     "localname": "SellingAndMarketingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding nonredeemable series A preferred stock or outstanding series A preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series A Preferred Stock [Member]",
        "netLabel": "Series A preferred stock [Member]",
        "terseLabel": "Series A Preferred Stock",
        "verboseLabel": "Series A"
       }
      }
     },
     "localname": "SeriesAPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember": {
     "auth_ref": [
      "r434"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the aggregation and reporting of combined amounts of individually immaterial business combinations that were completed during the period.",
        "label": "Series of Individually Immaterial Business Acquisitions [Member]",
        "terseLabel": "usiness Acquisition [Member]",
        "verboseLabel": "Series of Individually Immaterial Business Acquisitions [Member]"
       }
      }
     },
     "localname": "SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeveranceCosts1": {
     "auth_ref": [
      "r96"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses for special or contractual termination benefits provided to current employees involuntarily terminated under a benefit arrangement associated exit or disposal activities pursuant to an authorized plan. Excludes expenses related to one-time termination benefits, a discontinued operation or an asset retirement obligation.",
        "label": "Severance Costs",
        "terseLabel": "Pre-tax severance expense"
       }
      }
     },
     "localname": "SeveranceCosts1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestructuringChargesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Noncash Expense",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period",
        "terseLabel": "Payment terms vary by arrangement"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Exercise price (in Dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r369"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Number of Shares, Unvested at ending (in Shares)",
        "periodStartLabel": "Number of Shares, Unvested at beginning (in Shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r371"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedLabel": "Number of Shares, Vested (in Shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreed-upon price for the exchange of the underlying asset relating to the share-based payment award.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Exercise Price",
        "terseLabel": "Exercise price (in Dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate",
        "terseLabel": "Dividend yield",
        "verboseLabel": "Expected dividend yield"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable0"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "terseLabel": "Volatility",
        "verboseLabel": "Expected volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable0"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r381"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free rate",
        "verboseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable0"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant",
        "terseLabel": "Stock options available for future grants",
        "verboseLabel": "Purchase an aggregate shares of common stock (in Shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r368"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period",
        "negatedLabel": "Number of Shares, Forfeit or expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Number of Shares, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value of options granted (in Dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r366",
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Number of Shares, Outstanding at ending",
        "periodStartLabel": "Number of Shares, Outstanding at beginning",
        "terseLabel": "Stock options outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r365"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Weighted Average Exercise Price, Outstanding at ending",
        "periodStartLabel": "Weighted Average Exercise Price, Outstanding at beginning"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue": {
     "auth_ref": [
      "r376"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which current fair value of underlying stock exceeds exercise price of fully vested and expected to vest exercisable or convertible options. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Aggregate Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value, Vested and exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of fully vested and expected to vest exercisable options that may be converted into shares under option plan. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Number",
        "terseLabel": "Number of Shares, Vested and exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest exercisable or convertible options. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Exercise Price",
        "periodEndLabel": "Weighted Average Exercise Price, Unvested at ending (in Dollars per share)",
        "periodStartLabel": "Weighted Average Exercise Price, Unvested at beginning (in Dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r375"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Vested and exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r357",
      "r362"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Forfeit or expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r360",
      "r363"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Stock-Based Compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionModificationOfTermsIncrementalCompensationCost": {
     "auth_ref": [
      "r383"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The excess of the fair value of the modified award over the fair value of the award immediately before the modification.",
        "label": "Share-based Goods and Nonemployee Services Transaction, Modification of Terms, Incremental Compensation Cost",
        "terseLabel": "Incremental stock-based compensation cost"
       }
      }
     },
     "localname": "ShareBasedGoodsAndNonemployeeServicesTransactionModificationOfTermsIncrementalCompensationCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionValuationMethodExpectedTerm1": {
     "auth_ref": [
      "r378"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period an equity-based award is expected to be outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Goods and Nonemployee Services Transaction, Valuation Method, Expected Term",
        "terseLabel": "Term",
        "verboseLabel": "Expected term in years"
       }
      }
     },
     "localname": "ShareBasedGoodsAndNonemployeeServicesTransactionValuationMethodExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleoffairvalueofeachstockoptionawardtoemployeesonthedateofgrantusingtheBlackScholesoptionpricingmodelTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable0"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price",
        "terseLabel": "Stock price (in Dollars per share)"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofquantitativeinformationregardingLevel3fairvaluemeasurementsTable0"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intrinsic value of outstanding award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Outstanding",
        "terseLabel": "Aggregate Intrinsic Value, Outstanding at ending"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r378",
      "r392"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Contractual term"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of non-vested options forfeited.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Number of Shares",
        "negatedLabel": "Number of Shares, Forfeited or expired (in Shares)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average grant-date fair value of options vested.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Exercise Price, Vested (in Dollars per share)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofearlyexerciseactivityTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term of exercisable stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Payment Arrangement, Option, Exercise Price Range, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted Average Remaining Contractual Term (in years), Vested and exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r375"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Payment Arrangement, Option, Exercise Price Range, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted Average Remaining Contractual Term (in years), Outstanding",
        "verboseLabel": "Weighted Average Remaining Contractual Term (in years), Outstanding at ending"
       }
      }
     },
     "localname": "SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable0"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharesIssuedPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or per unit amount of equity securities issued.",
        "label": "Shares Issued, Price Per Share",
        "terseLabel": "Stock price (in Dollars per share)"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails"
     ],
     "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": "Shares, Outstanding",
        "periodEndLabel": "Balance (in Shares)",
        "periodStartLabel": "Balance (in Shares)"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermBankLoansAndNotesPayable": {
     "auth_ref": [
      "r40",
      "r582"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowings from a bank classified as other, maturing within one year or operating cycle, if longer.",
        "label": "Short-term Bank Loans and Notes Payable",
        "terseLabel": "Working capital loans"
       }
      }
     },
     "localname": "ShortTermBankLoansAndNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r105",
      "r121"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r115",
      "r401",
      "r421"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of state and local current and deferred income tax expense (benefit) attributable to continuing operations.",
        "label": "State and Local Income Tax Expense (Benefit), Continuing Operations",
        "terseLabel": "State and Local Income Tax"
       }
      }
     },
     "localname": "StateAndLocalIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/IncomeTaxDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r22",
      "r23",
      "r24",
      "r111",
      "r114",
      "r141",
      "r142",
      "r147",
      "r150",
      "r152",
      "r160",
      "r161",
      "r162",
      "r215",
      "r245",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r292",
      "r293",
      "r297",
      "r301",
      "r308",
      "r474",
      "r615"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofreservedsharesofcommonstockforfutureissuanceTable0",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r53",
      "r62",
      "r63",
      "r64",
      "r122",
      "r123",
      "r124",
      "r126",
      "r133",
      "r136",
      "r159",
      "r216",
      "r308",
      "r314",
      "r388",
      "r389",
      "r390",
      "r418",
      "r419",
      "r463",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r591",
      "r592",
      "r593",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonstockTable0",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "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/2021-01-31",
     "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/2021-01-31",
     "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/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r122",
      "r123",
      "r124",
      "r159",
      "r532"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow",
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssued1": {
     "auth_ref": [
      "r101",
      "r102",
      "r103"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of stock issued in noncash financing activities.",
        "label": "Stock Issued",
        "terseLabel": "Issuance of convertible preferred shares in exchange for settlement of Privateer related party payables"
       }
      }
     },
     "localname": "StockIssued1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "auth_ref": [
      "r23",
      "r24",
      "r314"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued during the period pursuant to acquisitions.",
        "label": "Stock Issued During Period, Shares, Acquisitions",
        "terseLabel": "Common stock repurchased (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities": {
     "auth_ref": [
      "r52",
      "r275",
      "r308",
      "r309",
      "r314"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period as a result of the conversion of convertible securities.",
        "label": "Stock Issued During Period, Shares, Conversion of Convertible Securities",
        "terseLabel": "Shares issued for convertible notes (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits": {
     "auth_ref": [
      "r23",
      "r24",
      "r308",
      "r309",
      "r314"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued during the period upon the conversion of units. An example of a convertible unit is an umbrella partnership real estate investment trust unit (UPREIT unit).",
        "label": "Stock Issued During Period, Shares, Conversion of Units",
        "terseLabel": "Conversion of Series A preferred stock into common stock (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesConversionOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesIssuedForServices": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders.",
        "label": "Stock Issued During Period, Shares, Issued for Services",
        "terseLabel": "Common stock contributed by Privateer (in Shares)",
        "verboseLabel": "Stock issued shares (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesIssuedForServices",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r23",
      "r24",
      "r308",
      "r314"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Common stock issued (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesOther": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued attributable to transactions classified as other.",
        "label": "Stock Issued During Period, Shares, Other",
        "terseLabel": "Sale of IPO consumed (in Shares)",
        "verboseLabel": "Aggregate purchase shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationForfeited": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares (or other type of equity) forfeited during the period.",
        "label": "Shares Issued, Shares, Share-based Payment Arrangement, Forfeited",
        "terseLabel": "Forfeiture of Founder Shares (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesShareBasedCompensationForfeited",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r23",
      "r24",
      "r308",
      "r314",
      "r367"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
        "negatedLabel": "Number of Shares, Exercised",
        "terseLabel": "Exercise of stock options (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofstockoptionactivityTable",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueAcquisitions": {
     "auth_ref": [
      "r53",
      "r308",
      "r314"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued pursuant to acquisitions during the period.",
        "label": "Stock Issued During Period, Value, Acquisitions",
        "terseLabel": "Initial classification of common stock subject to possible redemption (Restated \u2013 see Note 2)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities": {
     "auth_ref": [
      "r53",
      "r308",
      "r314"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gross value of stock issued during the period upon the conversion of convertible securities.",
        "label": "Stock Issued During Period, Value, Conversion of Convertible Securities",
        "terseLabel": "Purchase of equity securities"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueConversionOfConvertibleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueConversionOfUnits": {
     "auth_ref": [
      "r53",
      "r308",
      "r314"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued during the period upon the conversion of units. An example of a convertible unit is an umbrella partnership real estate investment trust unit (UPREIT unit).",
        "label": "Stock Issued During Period, Value, Conversion of Units",
        "terseLabel": "Conversion of Series A preferred stock into common stock"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueConversionOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueIssuedForServices": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued in lieu of cash for services contributed to the entity. Value of the stock issued includes, but is not limited to, services contributed by vendors and founders.",
        "label": "Stock Issued During Period, Value, Issued for Services",
        "terseLabel": "Stock issued value"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueIssuedForServices",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r23",
      "r24",
      "r308",
      "r314"
     ],
     "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": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Common stock issued"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation": {
     "auth_ref": [
      "r23",
      "r24",
      "r314",
      "r359",
      "r373"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value, after forfeiture, of shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).",
        "label": "Shares Issued, Value, Share-based Payment Arrangement, after Forfeiture",
        "terseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensationForfeited": {
     "auth_ref": [
      "r385"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of forfeited shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).",
        "label": "Shares Issued, Value, Share-based Payment Arrangement, Forfeited",
        "terseLabel": "Forfeiture of Founder Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensationForfeited",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockDividend": {
     "auth_ref": [
      "r53",
      "r308",
      "r314"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued to shareholders as a dividend during the period.",
        "label": "Stock Issued During Period, Value, Stock Dividend",
        "terseLabel": "Common stock contributed by Privateer"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockDividend",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r53",
      "r308",
      "r314"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "terseLabel": "Exercise of stock options"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockOptionExercisePriceDecrease": {
     "auth_ref": [
      "r309"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share decrease in exercise price of option. Excludes change due to standard antidilution provision and option granted under share-based payment arrangement.",
        "label": "Stock Option, Exercise Price, Decrease",
        "terseLabel": "Price per share (in Dollars per share)"
       }
      }
     },
     "localname": "StockOptionExercisePriceDecrease",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_StockOptionExercisePriceIncrease": {
     "auth_ref": [
      "r309"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share increase in exercise price of option. Excludes change due to standard antidilution provision and option granted under share-based payment arrangement.",
        "label": "Stock Option, Exercise Price, Increase",
        "terseLabel": "Exercise price per share (in Dollars per share)"
       }
      }
     },
     "localname": "StockOptionExercisePriceIncrease",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/EquityIncentivePlansDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodValue": {
     "auth_ref": [
      "r308"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock bought back by the entity at the exercise price or redemption price.",
        "label": "Stock Redeemed or Called During Period, Value",
        "netLabel": "Redeem shares in cash",
        "terseLabel": "Change in value of Accretion for common stock subject to possible redemption amount",
        "verboseLabel": "Change in value of common stock subject to redemption"
       }
      }
     },
     "localname": "StockRedeemedOrCalledDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofchangesinstockholdersequityDeficitTable",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "auth_ref": [
      "r23",
      "r24",
      "r308",
      "r314"
     ],
     "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": "Stock Repurchased During Period, Value",
        "terseLabel": "Common stock repurchased"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r24",
      "r28",
      "r29",
      "r114",
      "r213",
      "r215",
      "r474",
      "r517"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total stockholders\u2019 equity (deficit)"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r0",
      "r1",
      "r63",
      "r114",
      "r122",
      "r123",
      "r124",
      "r126",
      "r133",
      "r215",
      "r216",
      "r314",
      "r388",
      "r389",
      "r390",
      "r418",
      "r419",
      "r439",
      "r440",
      "r451",
      "r463",
      "r474",
      "r476",
      "r477",
      "r481",
      "r592",
      "r593",
      "r627"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Total stockholders\u2019 equity (deficit)",
        "totalLabel": "Total Stockholders\u2019 Deficit"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r112",
      "r293",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r305",
      "r306",
      "r307",
      "r314",
      "r318"
     ],
     "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]",
        "terseLabel": "Stockholders' Equity"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r482",
      "r519"
     ],
     "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]",
        "terseLabel": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r482",
      "r519"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r482",
      "r519"
     ],
     "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/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r518",
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/SubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.MeridaMergerCorp.com/role/DescriptionofOrganizationBusinessOperationsandGoingConcernDetails",
      "http://www.MeridaMergerCorp.com/role/InitialPublicOfferingDetails",
      "http://www.MeridaMergerCorp.com/role/PrivatePlacementDetails",
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofchangesinfairvalueofwarrantliabilitiesTable0",
      "http://www.MeridaMergerCorp.com/role/SummaryofSignificantAccountingPoliciesDetails",
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplementary cash flow information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityAggregateAmountOfRedemptionRequirement": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of redemption requirements for each class or type of redeemable stock classified as temporary equity for each of the five years following the latest balance sheet date. The redemption requirement does not constitute an unconditional obligation that will be settled in a variable number of shares constituting a monetary value predominantly indexed to (a) a fixed monetary amount known at inception, (b) an amount inversely correlated with the residual value of the entity, or (c) an amount determined by reference to something other than the fair value of issuer's stock. Does not include mandatorily redeemable stock. The exception is if redemption is required upon liquidation or termination of the reporting entity.",
        "label": "Temporary Equity, Aggregate Amount of Redemption Requirement",
        "terseLabel": "Common stocks subject to possible redemption"
       }
      }
     },
     "localname": "TemporaryEquityAggregateAmountOfRedemptionRequirement",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofCommonStockreflectedinthebalancesheetsTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcommonStockreflectedinthebalancesheetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "auth_ref": [
      "r245",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255"
     ],
     "calculation": {
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Carrying Amount, Attributable to Parent",
        "terseLabel": "Common stock subject to possible redemption 13,001,552 shares at redemption value as of September 30, 2021 and December 31, 2020",
        "verboseLabel": "Common Stock Subject to Possible Redemption"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityLiquidationPreference": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate liquidation preference (or restrictions) of stock classified as temporary equity that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Liquidation Preference",
        "terseLabel": "Liquidation preference (in Dollars)"
       }
      }
     },
     "localname": "TemporaryEquityLiquidationPreference",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityNetIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of net income or loss attributable to temporary equity interest.",
        "label": "Temporary Equity, Net Income",
        "terseLabel": "Allocation of net loss, common stock subject to redemption"
       }
      }
     },
     "localname": "TemporaryEquityNetIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetlosspercommonshareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityOtherChanges": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in temporary equity from changes classified as other.",
        "label": "Temporary Equity, Other Changes",
        "terseLabel": "Change in value of common stock subject to redemption"
       }
      }
     },
     "localname": "TemporaryEquityOtherChanges",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofoperationsstatementTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityParOrStatedValuePerShare": {
     "auth_ref": [
      "r11",
      "r290"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.",
        "label": "Temporary Equity, Par or Stated Value Per Share",
        "terseLabel": "Redemption of per shares"
       }
      }
     },
     "localname": "TemporaryEquityParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RestatementofPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_TemporaryEquitySharesAuthorized": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of securities classified as temporary equity that are permitted to be issued by an entity's charter and bylaws. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Shares Authorized",
        "terseLabel": "Common stock subject to possible redemption"
       }
      }
     },
     "localname": "TemporaryEquitySharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.MeridaMergerCorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquitySharesOutstanding": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders. Securities outstanding equals securities issued minus securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Shares Outstanding",
        "terseLabel": "Number of shares subject to redemption (in Shares)"
       }
      }
     },
     "localname": "TemporaryEquitySharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofrestatementofbalancesheetTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TradeAndOtherAccountsReceivablePolicy": {
     "auth_ref": [
      "r205",
      "r206",
      "r208",
      "r209",
      "r211",
      "r214"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for accounts receivable.",
        "label": "Accounts Receivable [Policy Text Block]",
        "terseLabel": "Accounts Receivable, Net and Payment Terms"
       }
      }
     },
     "localname": "TradeAndOtherAccountsReceivablePolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "auth_ref": [
      "r39"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset.",
        "label": "Unamortized Debt Issuance Expense",
        "terseLabel": "Unamortized issuance costs"
       }
      }
     },
     "localname": "UnamortizedDebtIssuanceExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConvertiblePromissoryNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r163",
      "r164",
      "r166",
      "r167",
      "r171",
      "r172",
      "r173"
     ],
     "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]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_WarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Security that gives the holder the right to purchase shares of stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Warrant [Member]",
        "terseLabel": "Private Warrants [Member]"
       }
      }
     },
     "localname": "WarrantMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingTerm": {
     "auth_ref": [
      "r469"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Warrants and Rights Outstanding, Term",
        "terseLabel": "Public warrants expire"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/WarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS).",
        "label": "Weighted Average Number of Shares Outstanding, Basic and Diluted",
        "netLabel": "Weighted average shares outstanding (denominator)",
        "terseLabel": "Weighted-average basic and diluted shares outstanding (in Shares)",
        "verboseLabel": "Weighted average shares outstanding, common stock"
       }
      }
     },
     "localname": "WeightedAverageNumberOfShareOutstandingBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ConsolidatedIncomeStatement",
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetlosspercommonshareTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofthreeclassesofcommonstockoutstandingTable0"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesCommonStockSubjectToRepurchaseOrCancellation": {
     "auth_ref": [
      "r139"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock subject to repurchase or cancellation determined by relating the portion of time within a reporting period that these shares have been outstanding to the total time in that period. Common stock subject to repurchase are outstanding common shares that are contingently returnable (that is, subject to recall).",
        "label": "Weighted Average Number of Shares, Common Stock Subject to Repurchase or Cancellation",
        "terseLabel": "Weighted average shares outstanding, common stock subject to possible redemption"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesCommonStockSubjectToRepurchaseOrCancellation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetincomelosspercommonshareTable0",
      "http://www.MeridaMergerCorp.com/role/ScheduleofbasicanddilutednetlosspercommonshareTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r138",
      "r152"
     ],
     "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 Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average shares outstanding (denominator)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.MeridaMergerCorp.com/role/ScheduleofcomputationofbasicanddilutednetlosspershareattributabletocommonstockholdersTable",
      "http://www.MeridaMergerCorp.com/role/ScheduleofcomputationofbasicanddilutednetlosspershareattributabletocommonstockholdersTable0"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 4
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e7018-107765"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4304-108586"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4313-108586"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4332-108586"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(b))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(27)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2646-109256"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1505-109256"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1278-109256"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2626-109256"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e4984-109258"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8657-108599"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(23))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8844-108599"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8981-108599"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-04(Schedule I))",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=120391182&loc=d3e5864-122674"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "http://asc.fasb.org/topic&trid=2134510"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e4975-111524"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5033-111524"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5093-111524"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5144-111524"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.A)",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=122040515&loc=d3e105025-122735"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226317&loc=d3e202-110218"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=27011434&loc=d3e125687-122742"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 5.P.4(b)(2))",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(e))",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "420",
   "URI": "http://asc.fasb.org/topic&trid=2175745"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466302&loc=d3e4724-112606"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262497&loc=d3e20148-110875"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(3)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496180-112644"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496180-112644"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21506-112644"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21506-112644"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21506-112644"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21521-112644"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "50",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6784392&loc=d3e188667-122775"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130561-203045"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130563-203045"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130563-203045"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130564-203045"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(5))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "http://asc.fasb.org/topic&trid=49130388"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/subtopic&trid=2235116"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b),(f)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.14)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "c(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=SL79508275-113901"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(a)",
   "Topic": "720",
   "URI": "http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(b)",
   "Topic": "720",
   "URI": "http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "730",
   "URI": "http://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a),20,24)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=d3e5283-111683"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568447-111683"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568740-111683"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4M",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591554-111686"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "http://asc.fasb.org/topic&trid=2197479"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(5))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "http://asc.fasb.org/topic&trid=2175825"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123395306&loc=d3e36975-112693"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123415192&loc=d3e39927-112707"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918666-209980"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918703-209980"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/subtopic&trid=77888251"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408481&loc=SL77919140-209958"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=124258985&loc=SL77919370-209981"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123417830&loc=SL77919784-209982"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-30)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-10(c)(7)(ii))",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123726172&loc=d3e511914-122862"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.8)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=35711157&loc=d3e42567-110969"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.9)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62652-112803"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123345438&loc=d3e61044-112788"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(5))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(1))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.10)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.16)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=118262064&loc=SL116631418-115840"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=118262064&loc=SL116631419-115840"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=123366838&loc=d3e3073-115593"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r614": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r615": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r616": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405"
  },
  "r617": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "11",
   "Subsection": "03"
  },
  "r618": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r619": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r620": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04"
  },
  "r621": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01"
  },
  "r622": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01"
  },
  "r623": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02"
  },
  "r624": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "i",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "10"
  },
  "r625": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6801-107765"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(5))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(2))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1,2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.19)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.3)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6911-107765"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6935-107765"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
  }
 },
 "version": "2.1"
}
