{
 "version": "2.2",
 "instance": {
  "mkfg-20241231.htm": {
   "nsprefix": "mkfg",
   "nsuri": "http://markforged.com/20241231",
   "dts": {
    "inline": {
     "local": [
      "mkfg-20241231.htm"
     ]
    },
    "schema": {
     "local": [
      "mkfg-20241231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/2023/calculation-1.1.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-roles-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-types-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-roles-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-types-2024.xsd",
      "https://xbrl.sec.gov/country/2024/country-2024.xsd",
      "https://xbrl.sec.gov/cyd/2024/cyd-2024.xsd",
      "https://xbrl.sec.gov/dei/2024/dei-2024.xsd",
      "https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd",
      "https://xbrl.sec.gov/ecd/2024/ecd-sub-2024.xsd",
      "https://xbrl.sec.gov/stpr/2024/stpr-2024.xsd"
     ]
    }
   },
   "keyStandard": 36,
   "keyCustom": 0,
   "axisStandard": 0,
   "axisCustom": 0,
   "memberStandard": 0,
   "memberCustom": 0,
   "hidden": {
    "total": 6,
    "http://xbrl.sec.gov/dei/2024": 6
   },
   "contextCount": 3,
   "entityCount": 1,
   "segmentCount": 0,
   "elementCount": 896,
   "unitCount": 2,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/dei/2024": 36
   },
   "report": {
    "R1": {
     "role": "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage",
     "longName": "100000 - Document - Cover Page",
     "shortName": "Cover Page",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "C_a1219be6-8083-4ea3-901e-01794acc9e9f",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mkfg-20241231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_a1219be6-8083-4ea3-901e-01794acc9e9f",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mkfg-20241231.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "mkfg_AOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AOneMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A one.",
        "label": "A One [Member]",
        "terseLabel": "AONE [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Liabilities Disclosure [Text Block]",
        "terseLabel": "Accrued Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsReceivableAllowanceForCreditLossTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Allowance for Doubtful Accounts",
        "label": "Accounts Receivable, Allowance for Credit Loss [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsReceivableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsReceivableMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable [Member]",
        "terseLabel": "Accounts Receivable [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AccruedFreightAndDuties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AccruedFreightAndDuties",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued freight and duties",
        "label": "Accrued Freight and Duties",
        "documentation": "Accrued freight and duties"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccruedLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Liabilities, Current",
        "terseLabel": "Accrued expenses",
        "totalLabel": "Total accrued expense"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AccruedMarketingAndAdvertisingCostsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AccruedMarketingAndAdvertisingCostsCurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued marketing and advertising costs current.",
        "label": "Accrued Marketing And Advertising Costs Current",
        "terseLabel": "Marketing and advertising"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedPayrollTaxesCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccruedPayrollTaxesCurrentAndNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Payroll Taxes",
        "terseLabel": "Accrued taxes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedProfessionalFeesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccruedProfessionalFeesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Professional Fees, Current",
        "terseLabel": "Professional services"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AccumulatedAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AccumulatedAmortization",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated Amortization",
        "label": "Accumulated Amortization",
        "terseLabel": "Accumulated Amortization"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail": {
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Ending Balance",
        "periodStartLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Beginning Balance",
        "totalLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Total",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Less: Accumulated depreciation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AcquiredFiniteLivedIntangibleAssetResidualValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AcquiredFiniteLivedIntangibleAssetResidualValue",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Intangible asset",
        "label": "Acquired Finite-Lived Intangible Asset, Residual Value"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AcquiredTechnologyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AcquiredTechnologyMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquired technology.",
        "label": "Acquired technology [Member]",
        "terseLabel": "Acquired technology"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AcquisitionContingentEarnoutLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AcquisitionContingentEarnoutLiability",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "acquisition contingent earnout liability",
        "label": "acquisition contingent earnout liability",
        "terseLabel": "Teton acquisition contingent earnout liability"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AcquisitionOfDigitalMetal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AcquisitionOfDigitalMetal",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquisition of Digital Metal",
        "label": "Acquisition of Digital Metal",
        "terseLabel": "Acquisition of Digital Metal"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AcquisitionOfTetonSimulationSoftware": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AcquisitionOfTetonSimulationSoftware",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquisition of Teton Simulation Software",
        "label": "Acquisition of Teton Simulation Software",
        "terseLabel": "Acquisition of Teton Simulation Software"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Additional402vDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "Additional402vDisclosureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional 402(v) Disclosure [Text Block]",
        "terseLabel": "Additional 402(v) Disclosure"
       }
      }
     },
     "auth_ref": [
      "r50"
     ]
    },
    "mkfg_AdditionalInstallmentPaymentsOne": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AdditionalInstallmentPaymentsOne",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installment Payments 1",
        "label": "Additional Installment Payments One",
        "documentation": "Additional Installment Payments One"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AdditionalInstallmentPaymentsThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AdditionalInstallmentPaymentsThree",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Installment Payments Three",
        "documentation": "Additional Installment Payments Three",
        "terseLabel": "Installment Payments 3"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AdditionalInstallmentPaymentsTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AdditionalInstallmentPaymentsTwo",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installment Payments 2",
        "label": "Additional Installment Payments Two",
        "documentation": "Additional Installment Payments Two"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AdditionalMergerConsiderationShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AdditionalMergerConsiderationShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional merger consideration shares",
        "documentation": "Additional Merger Consideration Shares",
        "label": "Additional Merger Consideration Shares"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AdditionalStockRepurchasedDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AdditionalStockRepurchasedDuringPeriodShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional stock repurchased during period shares.",
        "label": "Additional Stock Repurchased During Period Shares",
        "terseLabel": "Additional Stock repurchased during period shares"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_Additions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "Additions",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additions",
        "label": "Additions",
        "documentation": "Additions"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AdjToCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AdjToCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation Amount",
        "terseLabel": "Adjustment to Compensation, Amount"
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "ecd_AdjToCompAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AdjToCompAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation [Axis]",
        "terseLabel": "Adjustment to Compensation:"
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "ecd_AdjToNonPeoNeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AdjToNonPeoNeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]",
        "terseLabel": "Adjustment to Non-PEO NEO Compensation Footnote"
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "ecd_AdjToPeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AdjToPeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment To PEO Compensation, Footnote [Text Block]",
        "terseLabel": "Adjustment To PEO Compensation, Footnote"
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "us-gaap_AdvertisingExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AdvertisingExpense",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Advertising cost",
        "label": "Advertising Expense"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AggtChngPnsnValInSummryCompstnTblForAplblYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table [Member]",
        "terseLabel": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r108"
     ]
    },
    "ecd_AggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Amount",
        "terseLabel": "Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r21",
      "r32",
      "r42",
      "r75"
     ]
    },
    "ecd_AggtErrCompNotYetDeterminedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AggtErrCompNotYetDeterminedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Not Yet Determined [Text Block]",
        "terseLabel": "Aggregate Erroneous Compensation Not Yet Determined"
       }
      }
     },
     "auth_ref": [
      "r24",
      "r35",
      "r45",
      "r78"
     ]
    },
    "ecd_AggtPnsnAdjsSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AggtPnsnAdjsSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Pension Adjustments Service Cost [Member]",
        "terseLabel": "Aggregate Pension Adjustments Service Cost"
       }
      }
     },
     "auth_ref": [
      "r109"
     ]
    },
    "mkfg_AgreementAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AgreementAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement Axis",
        "label": "Agreement [Axis]",
        "terseLabel": "Agreement"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AgreementDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AgreementDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement Domain",
        "label": "Agreement [Domain]",
        "terseLabel": "Agreement"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AllAdjToCompMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AllAdjToCompMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Adjustments to Compensation [Member]",
        "terseLabel": "All Adjustments to Compensation"
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "ecd_AllExecutiveCategoriesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AllExecutiveCategoriesMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Executive Categories [Member]",
        "terseLabel": "All Executive Categories"
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "ecd_AllIndividualsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AllIndividualsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Individuals [Member]",
        "terseLabel": "All Individuals"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r36",
      "r46",
      "r70",
      "r79",
      "r83",
      "r91"
     ]
    },
    "ecd_AllTradingArrangementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AllTradingArrangementsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Trading Arrangements [Member]",
        "terseLabel": "All Trading Arrangements"
       }
      }
     },
     "auth_ref": [
      "r89"
     ]
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AllocatedShareBasedCompensationExpense",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockbasedCompensationBasedOnAwardsGrantedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Expense",
        "verboseLabel": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Stock-based compensation expense for restricted stock units and options"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AllowanceForDoubtfulAccountsReceivable",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfAllowanceForDoubtfulAccountsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, Allowance for Credit Loss",
        "periodEndLabel": "Balance at end of period",
        "periodStartLabel": "Balance at beginning of period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableRecoveries": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AllowanceForDoubtfulAccountsReceivableRecoveries",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfAllowanceForDoubtfulAccountsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, Allowance for Credit Loss, Recovery",
        "negatedLabel": "Recoveries"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AllowanceForDoubtfulAccountsReceivableWriteOffs",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfAllowanceForDoubtfulAccountsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, Allowance for Credit Loss, Writeoff",
        "negatedLabel": "Write \u2013 offs"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AmendmentDescription",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Description",
        "documentation": "Description of changes contained within amended document."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "srt_AmericasMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "AmericasMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSegmentInformationSummaryOfDisaggregatedRevenueDataForThoseMarketsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Americas [Member]",
        "terseLabel": "Americas"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AmortizationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AmortizationExpense",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "amortization expense",
        "label": "amortization expense",
        "terseLabel": "Amortizaton expenses"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AmortizedToCostOfRevenueOverTheLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AmortizedToCostOfRevenueOverTheLife",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortized to Cost of Revenue Over the Life",
        "documentation": "Amortized to Cost of Revenue Over the Life",
        "verboseLabel": "Amortized to cost of revenue over the life"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "terseLabel": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities [Axis]",
        "terseLabel": "Antidilutive Securities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]",
        "terseLabel": "Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AntidilutiveSecuritiesNameDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities, Name [Domain]",
        "terseLabel": "Antidilutive Securities, Name"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative"
       }
      }
     },
     "auth_ref": []
    },
    "srt_AsiaPacificMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "AsiaPacificMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSegmentInformationSummaryOfDisaggregatedRevenueDataForThoseMarketsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asia Pacific [Member]",
        "terseLabel": "Asia Pacific",
        "verboseLabel": "APAC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetAcquisitionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetAcquisitionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Acquisition [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AssetAcquisitionConsiderationTransferred1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AssetAcquisitionConsiderationTransferred1",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total consideration transferred",
        "documentation": "Asset Acquisition Consideration Transferred 1",
        "label": "Asset Acquisition Consideration Transferred 1",
        "terseLabel": "Total consideration transferred"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Combination of cash and equity",
        "label": "Asset Acquisition, Consideration Transferred, Equity Interest Issued and Issuable"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetAcquisitionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetAcquisitionTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Acquisition [Text Block]",
        "terseLabel": "Acquisitions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetBackedSecuritiesAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetBackedSecuritiesAtCarryingValue",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset-Backed Securities, at Carrying Value",
        "terseLabel": "Asset-backed securities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetBackedSecuritiesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset-Backed Securities [Member]",
        "terseLabel": "Asset-Backed Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Assets",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets:",
        "label": "Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsFairValueDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsFairValueDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Fair Value Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsHeldInTrust": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsHeldInTrust",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Assets Held-in-trust, Total",
        "label": "Asset, Held-in-Trust",
        "terseLabel": "Cash held in trust"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AssumptionsUsedInTheValuationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AssumptionsUsedInTheValuationTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assumptions Used In The Valuation [Table Text Block]",
        "label": "Assumptions Used In The Valuation [Table Text Block]",
        "terseLabel": "Assumptions Used In The Valuation"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AuditorFirmId": {
     "xbrltype": "nonemptySequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AuditorFirmId",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Firm ID",
        "documentation": "PCAOB issued Audit Firm Identifier"
       }
      }
     },
     "auth_ref": [
      "r4",
      "r5",
      "r28"
     ]
    },
    "dei_AuditorLocation": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AuditorLocation",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "auth_ref": [
      "r4",
      "r5",
      "r28"
     ]
    },
    "dei_AuditorName": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AuditorName",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "auth_ref": [
      "r4",
      "r5",
      "r28"
     ]
    },
    "dei_AuditorOpinionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AuditorOpinionTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Opinion [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "mkfg_AuthorizePayrollDeductionsAmountUnderPlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AuthorizePayrollDeductionsAmountUnderPlan",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Authorize payroll deductions amount under plan",
        "documentation": "Authorize Payroll Deductions Amount Under Plan",
        "label": "Authorize Payroll Deductions Amount Under Plan"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AuthorizePayrollDeductionsRateUnderPlanMaximum": {
     "xbrltype": "percentItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AuthorizePayrollDeductionsRateUnderPlanMaximum",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Authorize payroll deductions rate under plan maximum",
        "documentation": "Authorize Payroll Deductions Rate Under Plan Maximum",
        "label": "Authorize Payroll Deductions Rate Under Plan Maximum"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_AuthorizePayrollDeductionsRateUnderPlanMinimum": {
     "xbrltype": "percentItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "AuthorizePayrollDeductionsRateUnderPlanMinimum",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Authorize payroll deductions rate under plan minimum",
        "documentation": "Authorize Payroll Deductions Rate Under Plan Minimum",
        "label": "Authorize Payroll Deductions Rate Under Plan Minimum"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Debt Securities, Available-for-Sale, Amortized Cost, Total",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost",
        "terseLabel": "Amortized Cost"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AvailableForSaleDebtSecuritiesGrossUnrealizedGain",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale, Unrealized Gain",
        "terseLabel": "Unrealized Gains",
        "verboseLabel": "Unrealized gain on available-for-sale marketable securities, net",
        "negatedLabel": "Unrealized gain on available-for-sale marketable securities, net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AvailableForSaleDebtSecuritiesGrossUnrealizedLoss",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale, Unrealized Loss",
        "negatedTerseLabel": "Unrealized Losses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Debt Securities, Available-for-Sale, Total",
        "label": "Debt Securities, Available-for-Sale",
        "terseLabel": "Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AwardExrcPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardExrcPrice",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Exercise Price",
        "terseLabel": "Exercise Price"
       }
      }
     },
     "auth_ref": [
      "r86"
     ]
    },
    "ecd_AwardGrantDateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardGrantDateFairValue",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Grant Date Fair Value",
        "terseLabel": "Fair Value as of Grant Date"
       }
      }
     },
     "auth_ref": [
      "r87"
     ]
    },
    "ecd_AwardTmgDiscLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardTmgDiscLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Disclosures [Line Items]",
        "terseLabel": "Award Timing Disclosures"
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "ecd_AwardTmgHowMnpiCnsdrdTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardTmgHowMnpiCnsdrdTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing, How MNPI Considered [Text Block]",
        "terseLabel": "Award Timing, How MNPI Considered"
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "ecd_AwardTmgMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardTmgMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Method [Text Block]",
        "terseLabel": "Award Timing Method"
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "ecd_AwardTmgMnpiCnsdrdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardTmgMnpiCnsdrdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Considered [Flag]",
        "terseLabel": "Award Timing MNPI Considered"
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "ecd_AwardTmgMnpiDiscTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardTmgMnpiDiscTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Disclosure [Text Block]",
        "terseLabel": "Award Timing MNPI Disclosure"
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "ecd_AwardTmgPredtrmndFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardTmgPredtrmndFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Predetermined [Flag]",
        "terseLabel": "Award Timing Predetermined"
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "us-gaap_AwardTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AwardTypeAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockbasedCompensationBasedOnAwardsGrantedDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AwardUndrlygSecuritiesAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardUndrlygSecuritiesAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Underlying Securities Amount",
        "terseLabel": "Underlying Securities"
       }
      }
     },
     "auth_ref": [
      "r85"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardsCloseToMnpiDiscIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r84"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardsCloseToMnpiDiscTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures"
       }
      }
     },
     "auth_ref": [
      "r83"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "AwardsCloseToMnpiDiscTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table Text Block]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures, Table"
       }
      }
     },
     "auth_ref": [
      "r83"
     ]
    },
    "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Presentation",
        "label": "Basis of Presentation and Significant Accounting Policies [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_BillericaMassachusettsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "BillericaMassachusettsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Billerica, Massachusetts [Member]",
        "label": "Billerica, Massachusetts [Member]",
        "terseLabel": "Billerica, Massachusetts [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionAcquireeDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition, Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_BusinessAcquisitionCommonStockExchangeRatio": {
     "xbrltype": "pureItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "BusinessAcquisitionCommonStockExchangeRatio",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisition common stock exchange ratio.",
        "label": "Business Acquisition Common Stock Exchange Ratio",
        "terseLabel": "Business acquisition common stock exchange ratio"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionContingentConsiderationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionContingentConsiderationLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition, Contingent Consideration [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionCostOfAcquiredEntityTransactionCosts",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition, Transaction Costs",
        "terseLabel": "Business Acquisition Cost Of Acquired Entity Transaction Costs"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business acquisition, equity interest issued or issuable, value assigned",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Value Assigned"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share issued",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition [Line Items]",
        "terseLabel": "Business Acquisition [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionProFormaInformationTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Unaudited Pro Forma Financial Information",
        "label": "Business Acquisition, Pro Forma Information [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionSharePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionSharePrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition, Share Price",
        "terseLabel": "Business acquisition, share price | $ / shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionsProFormaNetIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfUnauditedProFormaFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net profit (loss)",
        "label": "Business Acquisition, Pro Forma Net Income (Loss)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionsProFormaRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessAcquisitionsProFormaRevenue",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfUnauditedProFormaFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition, Pro Forma Revenue",
        "terseLabel": "Net revenues"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_BusinessCombinationAssetAcquiredLiabilitiesAccruedExpenseForPotentialGrantPayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "BusinessCombinationAssetAcquiredLiabilitiesAccruedExpenseForPotentialGrantPayment",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "mkfg_LiabilitiesAcquired",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued expense for grant repayment",
        "documentation": "Business Combination Asset Acquired Liabilities Accrued Expense For Potential Grant Payment",
        "label": "Business Combination Asset Acquired Liabilities Accrued Expense For Potential Grant Payment"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_BusinessCombinationAssetAcquiredLiabilitiesAssumedAccruedExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "BusinessCombinationAssetAcquiredLiabilitiesAssumedAccruedExpense",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "mkfg_LiabilitiesAcquired",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued expense for pre-acquisition expenses",
        "documentation": "Business Combination Asset Acquired Liabilities Assumed Accrued Expense",
        "label": "Business Combination Asset Acquired Liabilities Assumed Accrued Expense"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_BusinessCombinationAssetAcquiredLiabilitiesAssumedCustomerPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "BusinessCombinationAssetAcquiredLiabilitiesAssumedCustomerPayable",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "mkfg_LiabilitiesAcquired",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination asset acquired liabilities assumed customer payable",
        "label": "Business Combination Asset Acquired Liabilities Assumed Customer Payable",
        "terseLabel": "Customer payable - cancelled contracts"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationConsiderationTransferred1",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business acquisition, total consideration",
        "totalLabel": "Business Combination, Consideration Transferred, Total",
        "label": "Business Combination, Consideration Transferred"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationConsiderationTransferredOther1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationConsiderationTransferredOther1",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contingent consideration related to business and development milestones",
        "label": "Business Combination, Consideration Transferred, Other"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationContingentConsiderationLiability",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Business Combination, Contingent Consideration, Liability, Total",
        "label": "Business Combination, Contingent Consideration, Liability",
        "terseLabel": "Contingent earnout liability"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and Cash Equivalent",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Assets acquired:",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets",
        "terseLabel": "Assets acquired:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Other",
        "terseLabel": "Other assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Prepaid Expense and Other Assets",
        "terseLabel": "Prepaid and other assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables",
        "terseLabel": "Accounts receivable"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "mkfg_LiabilitiesAcquired",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable",
        "terseLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "mkfg_LiabilitiesAcquired",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Liabilities",
        "terseLabel": "Deferred tax liability"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFixedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFixedAssets",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Fixed Assets",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Fixed Assets",
        "terseLabel": "Fixed assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill, Total",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill",
        "terseLabel": "Intangible assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Inventory",
        "terseLabel": "Inventory"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combinations [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationsPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BusinessCombinationsPolicy",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combinations Policy [Policy Text Block]",
        "terseLabel": "Business Combinations"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_BusinessMilestoneEarnoutFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "BusinessMilestoneEarnoutFairValue",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails": {
       "parentTag": "mkfg_AssetAcquisitionConsiderationTransferred1",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business milestone earnout fair value",
        "label": "Business milestone earnout fair value",
        "terseLabel": "Business milestone earnout fair value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedComputerSoftwareAccumulatedAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CapitalizedComputerSoftwareAccumulatedAmortization",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalized Computer Software, Accumulated Amortization",
        "terseLabel": "Accumulated amortization for capitalized software"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedComputerSoftwareAmortization1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CapitalizedComputerSoftwareAmortization1",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization expense",
        "label": "Capitalized Computer Software, Amortization"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedComputerSoftwareNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CapitalizedComputerSoftwareNet",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capitalized software costs",
        "label": "Capitalized Computer Software, Net",
        "periodEndLabel": "Capitalized Computer Software, Net, Ending Balance",
        "periodStartLabel": "Capitalized Computer Software, Net, Beginning Balance",
        "totalLabel": "Capitalized Computer Software, Net, Total"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedContractCostAmortizationPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CapitalizedContractCostAmortizationPeriod",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization Period",
        "label": "Capitalized Contract Cost, Amortization Period"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CapitalizedSoftwareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CapitalizedSoftwareMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalized Software [Member]",
        "documentation": "Capitalized Software Member"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Cash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Cash",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Cash, Ending Balance",
        "periodStartLabel": "Cash, Beginning Balance",
        "label": "Cash",
        "terseLabel": "Cash on hand"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashAndCashEquivalentsAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and Cash Equivalents [Axis]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and Cash Equivalents, Fair Value Disclosure",
        "terseLabel": "Money market funds included in cash and cash equivalents",
        "verboseLabel": "Cash and cash equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashAndCashEquivalentsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and Cash Equivalents [Member]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CashConsideration": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CashConsideration",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails": {
       "parentTag": "mkfg_AssetAcquisitionConsiderationTransferred1",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash consideration",
        "label": "Cash consideration",
        "terseLabel": "Cash consideration"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CashEquivalentsAndShortTermInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CashEquivalentsAndShortTermInvestmentsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash Equivalents and Short-term Investments [Member]",
        "label": "Cash Equivalents and Short-term Investments [Member]",
        "terseLabel": "Cash Equivalents and Short-term Investments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashEquivalentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashEquivalentsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Equivalents [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CashInConnectionWithPipeFinancing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CashInConnectionWithPipeFinancing",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash in connection with PIPE financing.",
        "label": "Cash In Connection With PIPE Financing",
        "terseLabel": "Cash In Connection With PIPE Financing"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CashReleasedFromRestriction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CashReleasedFromRestriction",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCurrentAndNonCurrentRestrictedCashDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash released from restriction",
        "label": "Cash Released From Restriction",
        "documentation": "Cash Released From Restriction"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ChangedPeerGroupFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ChangedPeerGroupFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changed Peer Group, Footnote [Text Block]",
        "terseLabel": "Changed Peer Group, Footnote"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year [Member]",
        "terseLabel": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested [Member]",
        "terseLabel": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "CityAreaCode",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "terseLabel": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfStockDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Warrant or Right [Axis]",
        "terseLabel": "Class of Warrant or Right"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Warrant or Right [Domain]",
        "terseLabel": "Class of Warrant or Right"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of warrant or right, exercise price of warrants or rights",
        "verboseLabel": "Class of warrants and rights, Exercise price of warrants and rights",
        "label": "Class of Warrant or Right, Exercise Price of Warrants or Rights"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of securities called by each warrant",
        "label": "Class of Warrant or Right, Number of Securities Called by Each Warrant or Right"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightOutstanding",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of warrant or right, outstanding",
        "label": "Class of Warrant or Right, Outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_CoSelectedMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "CoSelectedMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Amount",
        "terseLabel": "Company Selected Measure Amount"
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "ecd_CoSelectedMeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "CoSelectedMeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Name",
        "terseLabel": "Company Selected Measure Name"
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "us-gaap_CommercialPaper": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommercialPaper",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Paper"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommercialPaperMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommercialPaperMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Paper [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommercialPapersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommercialPapersMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial Papers [Member]",
        "label": "Commercial Papers [Member]",
        "terseLabel": "Commercial Paper [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonClassAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonClassAMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Class A [Member]",
        "terseLabel": "Common Class A [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonClassBMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonClassBMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Class B [Member]",
        "terseLabel": "Common Class B [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockAndRestrictedStockUnitsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockAndRestrictedStockUnitsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Stock and Restricted Stock Units.",
        "label": "Common Stock and Restricted Stock Units [Member]",
        "terseLabel": "Common Stock and Restricted Stock Units [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Capital Shares Reserved for Future Issuance",
        "terseLabel": "Common stock reserved for future issuance",
        "verboseLabel": "Total shares of authorized common stock reserved for future issuance"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockConvertibleStockPriceTrigger": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockConvertibleStockPriceTrigger",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock convertible, stock price trigger.",
        "label": "Common Stock Convertible, Stock Price Trigger",
        "terseLabel": "Common Stock Convertible, Stock Price Trigger"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockConvertibleThresholdConsecutiveTradingDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockConvertibleThresholdConsecutiveTradingDays",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock convertible threshold consecutive trading days.",
        "label": "Common Stock Convertible Threshold Consecutive Trading Days",
        "terseLabel": "Common Stock Convertible Threshold Consecutive Trading Days"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockConvertibleThresholdTradingDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockConvertibleThresholdTradingDays",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock convertible threshold trading days.",
        "label": "Common Stock Convertible Threshold Trading Days",
        "terseLabel": "Common Stock Convertible Threshold Trading Days"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common Stock [Member]",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockOptionsOutstandingAndUnvestedRestrictedStockUnitsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockOptionsOutstandingAndUnvestedRestrictedStockUnitsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock options outstanding and unvested RSU [Member]",
        "documentation": "Common stock options outstanding and unvested restricted stock units member.",
        "label": "Common stock options outstanding and unvested Restricted Stock Units [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, Par value"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for common stock.",
        "label": "Common Stock [Policy Text Block]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockProRataDistributionBasisRatio": {
     "xbrltype": "pureItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockProRataDistributionBasisRatio",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock pro-rata distribution basis ratio.",
        "label": "Common Stock Pro-Rata Distribution Basis Ratio",
        "terseLabel": "Common Stock Pro-Rata Distribution Basis Ratio"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockRepurchasePricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockRepurchasePricePerShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock repurchase price per share.",
        "label": "Common Stock Repurchase Price Per Share",
        "terseLabel": "Common stock repurchase price per share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Common Stock, Shares, Issued, Total",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, Shares issued"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockSharesIssuedImmediatelyAfterMerger": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockSharesIssuedImmediatelyAfterMerger",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Stock Shares Issued Immediately After Merger",
        "label": "Common Stock Shares Issued Immediately After Merger",
        "terseLabel": "Total shares of common stock immediately after Merger"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, Shares outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CommonStockWarrantsOutstandingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CommonStockWarrantsOutstandingMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock warrants outstanding [Member]",
        "documentation": "Common Stock Warrants Outstanding Member",
        "label": "Common Stock Warrants Outstanding [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Company Selected Measure"
       }
      }
     },
     "auth_ref": [
      "r67"
     ]
    },
    "ecd_CompActuallyPaidVsNetIncomeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "CompActuallyPaidVsNetIncomeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Net Income [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Net Income"
       }
      }
     },
     "auth_ref": [
      "r66"
     ]
    },
    "ecd_CompActuallyPaidVsOtherMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "CompActuallyPaidVsOtherMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Other Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Other Measure"
       }
      }
     },
     "auth_ref": [
      "r68"
     ]
    },
    "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Total Shareholder Return"
       }
      }
     },
     "auth_ref": [
      "r65"
     ]
    },
    "mkfg_CompanyReturnAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CompanyReturnAmount",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Return Amount",
        "documentation": "Company Return Amount",
        "terseLabel": "Company Return Amount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ComponentsOfDeferredTaxAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ComponentsOfDeferredTaxAssetsAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax assets",
        "label": "Components of Deferred Tax Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ComponentsOfDeferredTaxLiabilitiesAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Liabilities [Abstract]",
        "terseLabel": "Deferred tax liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ComprehensiveIncomePolicyPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Comprehensive Income, Policy [Policy Text Block]",
        "terseLabel": "Comprehensive Income (Loss)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ComputerEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ComputerEquipmentMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Computer Equipment [Member]",
        "label": "Computer Equipment [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskBenchmarkDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskByTypeAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration Risk Type",
        "label": "Concentration Risk Type [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskCreditRisk": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskCreditRisk",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk, Credit Risk, Policy [Policy Text Block]",
        "terseLabel": "Concentration of Credit Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskPercentage1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration risk, percentage",
        "label": "Concentration Risk, Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskTypeDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConstructionInProgressMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConstructionInProgressMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Construction in Progress [Member]",
        "terseLabel": "Construction in process [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ConsumablesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ConsumablesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueSummaryOfCompanySRevenueBasedOnNatureOfProductsAndServicesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consumables [Member]",
        "documentation": "Consumables.",
        "label": "Consumables [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContingentConsiderationClassifiedAsEquityFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContingentConsiderationClassifiedAsEquityFairValueDisclosure",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails": {
       "parentTag": "mkfg_AssetAcquisitionConsiderationTransferred1",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contingent Consideration Classified as Equity, Fair Value Disclosure",
        "terseLabel": "Equity consideration"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ContingentEarnoutLiabilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ContingentEarnoutLiabilityMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent Earnout Liability Member",
        "label": "Contingent Earnout Liability [Member]",
        "terseLabel": "Contingent Earnout Liability [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ContingentForfeitedSponsorSharesPendingSponsorEarnoutTriggeringEvent": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ContingentForfeitedSponsorSharesPendingSponsorEarnoutTriggeringEvent",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent forfeited sponsor shares pending sponsor earnout triggering event.",
        "label": "Contingent Forfeited Sponsor Shares Pending Sponsor Earnout Triggering Event",
        "terseLabel": "Contingently forfeitable shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContingentLiabilityReserveEstimatePolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContingentLiabilityReserveEstimatePolicy",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contingent Liability Reserve Estimate, Policy [Policy Text Block]",
        "terseLabel": "Contingent Earnout Liability"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ContingentlyIssuableEarnoutSharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ContingentlyIssuableEarnoutSharesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "contingently issuable earnout shares [Member]",
        "label": "contingently issuable earnout shares [Member]",
        "terseLabel": "Contingently issuable earnout shares"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ContractWithCustomerLiabilityDeferredRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ContractWithCustomerLiabilityDeferredRevenue",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "mkfg_LiabilitiesAcquired",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contract With Customer Liability Deferred Revenue",
        "label": "Contract With Customer Liability Deferred Revenue",
        "terseLabel": "Deferred revenue"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContractWithCustomerLiabilityRevenueRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractWithCustomerLiabilityRevenueRecognized",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contract with Customer, Liability, Revenue Recognized",
        "terseLabel": "Revenue recognized from deferred revenue"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ContractualObligationDueAfterThirdYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ContractualObligationDueAfterThirdYear",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contractual Obligation Due After Third Year",
        "documentation": "Contractual obligation due after third year.",
        "terseLabel": "Contractual obligation recognized thereafter"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContractualObligationDueInNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractualObligationDueInNextTwelveMonths",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contractual obligation recognized in remainder of 2024",
        "label": "Contractual Obligation, to be Paid, Year One"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContractualObligationDueInSecondYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractualObligationDueInSecondYear",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contractual obligation recognized in 2025",
        "label": "Contractual Obligation, to be Paid, Year Two"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContractualObligationDueInThirdYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractualObligationDueInThirdYear",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contractual obligation recognized in 2026",
        "label": "Contractual Obligation, to be Paid, Year Three"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContractualObligationFutureMinimumPaymentsDueRemainderOfFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractualObligationFutureMinimumPaymentsDueRemainderOfFiscalYear",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contractual obligation future minimum payments",
        "label": "Contractual Obligation, to be Paid, Remainder of Fiscal Year"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ConvertibleLegacyMarkforgedShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ConvertibleLegacyMarkforgedShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible legacy markforged shares.",
        "label": "Convertible Legacy Markforged Shares",
        "terseLabel": "Convertible Legacy Markforged Shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConvertiblePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConvertiblePreferredStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Convertible Preferred Stock [Member]",
        "label": "Convertible Preferred Stock [Member]",
        "terseLabel": "Convertible Preferred Stock"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConvertiblePreferredStockSharesIssuedUponConversion",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Preferred Stock, Shares Issued upon Conversion",
        "terseLabel": "Convertible preferred stock converted into shares"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CorporateBonds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CorporateBonds",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Corporate bonds",
        "label": "Corporate bonds"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CorporateDebtSecuritiesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Corporate Debt Securities [Member]",
        "terseLabel": "Corporate Bonds [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CostOfSalesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostOfSalesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseToTheCostOfRevenueAndOperatingExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cost of revenue",
        "label": "Cost of Sales [Member]",
        "terseLabel": "Cost of Good Sold"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CostOfSalesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostOfSalesPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cost of Goods and Service [Policy Text Block]",
        "terseLabel": "Cost of Revenue"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cover",
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CreditLossFinancialInstrumentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CreditLossFinancialInstrumentPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Loss, Financial Instrument",
        "label": "Credit Loss, Financial Instrument [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CurrentFederalTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Federal Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CurrentForeignTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CurrentForeignTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Foreign Tax Expense (Benefit)",
        "terseLabel": "Foreign"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CurrentIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total current expense (benefit)",
        "label": "Current Income Tax Expense (Benefit)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Income Tax Expense (Benefit), Continuing Operations [Abstract]",
        "terseLabel": "Current Provision"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CurrentStateAndLocalTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CurrentStateAndLocalTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current State and Local Tax Expense (Benefit)",
        "terseLabel": "State"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CustomerConcentrationRiskMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer Concentration Risk [Member]",
        "terseLabel": "Customer Concentration Risk"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_CustomerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "CustomerMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Customer",
        "label": "Customer [Member]",
        "documentation": "Customer [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CustomerRelationshipsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CustomerRelationshipsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Customer Relationships",
        "label": "Customer Relationships [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "cyd_CybersecurityRiskBoardCommitteeOrSubcommitteeResponsibleForOversightTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskBoardCommitteeOrSubcommitteeResponsibleForOversightTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Board Committee or Subcommittee Responsible for Oversight [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r13",
      "r102"
     ]
    },
    "cyd_CybersecurityRiskBoardOfDirectorsOversightTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskBoardOfDirectorsOversightTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Board of Directors Oversight [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r13",
      "r102"
     ]
    },
    "cyd_CybersecurityRiskManagementExpertiseOfManagementResponsibleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementExpertiseOfManagementResponsibleTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Expertise of Management Responsible [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r15",
      "r104"
     ]
    },
    "cyd_CybersecurityRiskManagementPositionsOrCommitteesResponsibleFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementPositionsOrCommitteesResponsibleFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Positions or Committees Responsible [Flag]"
       }
      }
     },
     "auth_ref": [
      "r15",
      "r104"
     ]
    },
    "cyd_CybersecurityRiskManagementPositionsOrCommitteesResponsibleReportToBoardFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementPositionsOrCommitteesResponsibleReportToBoardFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Positions or Committees Responsible Report to Board [Flag]"
       }
      }
     },
     "auth_ref": [
      "r17",
      "r106"
     ]
    },
    "cyd_CybersecurityRiskManagementPositionsOrCommitteesResponsibleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementPositionsOrCommitteesResponsibleTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Positions or Committees Responsible [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r15",
      "r104"
     ]
    },
    "cyd_CybersecurityRiskManagementProcessesForAssessingIdentifyingAndManagingThreatsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementProcessesForAssessingIdentifyingAndManagingThreatsTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Processes for Assessing, Identifying, and Managing Threats [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r8",
      "r97"
     ]
    },
    "cyd_CybersecurityRiskManagementProcessesIntegratedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementProcessesIntegratedFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Processes Integrated [Flag]"
       }
      }
     },
     "auth_ref": [
      "r9",
      "r98"
     ]
    },
    "cyd_CybersecurityRiskManagementProcessesIntegratedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementProcessesIntegratedTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Processes Integrated [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r9",
      "r98"
     ]
    },
    "cyd_CybersecurityRiskManagementStrategyAndGovernanceAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementStrategyAndGovernanceAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management, Strategy, and Governance [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r7",
      "r96"
     ]
    },
    "cyd_CybersecurityRiskManagementStrategyAndGovernanceLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementStrategyAndGovernanceLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management, Strategy, and Governance [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r7",
      "r96"
     ]
    },
    "cyd_CybersecurityRiskManagementStrategyAndGovernanceTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementStrategyAndGovernanceTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management, Strategy, and Governance [Table]"
       }
      }
     },
     "auth_ref": [
      "r7",
      "r96"
     ]
    },
    "cyd_CybersecurityRiskManagementThirdPartyEngagedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskManagementThirdPartyEngagedFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Third Party Engaged [Flag]"
       }
      }
     },
     "auth_ref": [
      "r10",
      "r99"
     ]
    },
    "cyd_CybersecurityRiskMateriallyAffectedOrReasonablyLikelyToMateriallyAffectRegistrantFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskMateriallyAffectedOrReasonablyLikelyToMateriallyAffectRegistrantFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Materially Affected or Reasonably Likely to Materially Affect Registrant [Flag]"
       }
      }
     },
     "auth_ref": [
      "r12",
      "r101"
     ]
    },
    "cyd_CybersecurityRiskMateriallyAffectedOrReasonablyLikelyToMateriallyAffectRegistrantTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskMateriallyAffectedOrReasonablyLikelyToMateriallyAffectRegistrantTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Materially Affected or Reasonably Likely to Materially Affect Registrant [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r12",
      "r101"
     ]
    },
    "cyd_CybersecurityRiskProcessForInformingBoardCommitteeOrSubcommitteeResponsibleForOversightTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskProcessForInformingBoardCommitteeOrSubcommitteeResponsibleForOversightTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Process for Informing Board Committee or Subcommittee Responsible for Oversight [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r13",
      "r102"
     ]
    },
    "cyd_CybersecurityRiskProcessForInformingManagementOrCommitteesResponsibleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskProcessForInformingManagementOrCommitteesResponsibleTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Process for Informing Management or Committees Responsible [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r16",
      "r105"
     ]
    },
    "cyd_CybersecurityRiskRoleOfManagementTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskRoleOfManagementTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Role of Management [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r103"
     ]
    },
    "cyd_CybersecurityRiskThirdPartyOversightAndIdentificationProcessesFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2024",
     "localname": "CybersecurityRiskThirdPartyOversightAndIdentificationProcessesFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Third Party Oversight and Identification Processes [Flag]"
       }
      }
     },
     "auth_ref": [
      "r11",
      "r100"
     ]
    },
    "us-gaap_DebtDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowings"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Borrowings"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentDateOfFirstRequiredPayment1": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentDateOfFirstRequiredPayment1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Date of First Required Payment",
        "terseLabel": "Debt instrument, Date of first required payment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Debt instrument, Face amount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentFrequencyOfPeriodicPayment": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentFrequencyOfPeriodicPayment",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Frequency of Periodic Payment",
        "terseLabel": "Debt instrument, Frequency of periodic payment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Interest Rate, Effective Percentage",
        "terseLabel": "Debt instrument, Interest rate effective percentage"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentMaturityDate",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Maturity Date",
        "terseLabel": "Debt instrument, Maturity date"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DebtInstrumentPrePaymentPenalties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DebtInstrumentPrePaymentPenalties",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument pre-payment penalties.",
        "label": "Debt Instrument Pre Payment Penalties",
        "terseLabel": "Debt instrument, Prepayment penalties"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "terseLabel": "Debt Instrument [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_DeferredIncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Federal Income Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredForeignIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredForeignIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_DeferredIncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Foreign Income Tax Expense (Benefit)",
        "terseLabel": "Foreign"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax Expense (Benefit)",
        "totalLabel": "Total deferred expense (benefit)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax Expense (Benefit), Continuing Operations [Abstract]",
        "terseLabel": "Deferred Provision"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredIncomeTaxLiabilitiesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred income tax liabilities",
        "label": "Deferred Income Tax Liabilities, Net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredStateAndLocalIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_DeferredIncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred State and Local Income Tax Expense (Benefit)",
        "terseLabel": "State"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DeferredTaxAssetsCapitalizedResearchAndDevelopmentCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DeferredTaxAssetsCapitalizedResearchAndDevelopmentCosts",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capitalized research and development costs",
        "label": "Deferred Tax Assets Capitalized Research And Development Costs",
        "documentation": "Deferred Tax Assets Capitalized Research And Development Costs"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsDeferredIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsDeferredIncome",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets, Deferred Income",
        "terseLabel": "Deferred revenue"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsGross",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets, Gross",
        "totalLabel": "Gross deferred tax assets"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DeferredTaxAssetsInventoryReserves": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DeferredTaxAssetsInventoryReserves",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inventory reserves",
        "label": "Deferred Tax Assets Inventory Reserves",
        "documentation": "Deferred Tax Assets Inventory Reserves"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets, Net",
        "totalLabel": "Net deferred tax assets",
        "negatedLabel": "Net deferred tax assets",
        "negatedTotalLabel": "Net deferred tax assets"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DeferredTaxAssetsLongTermSettlementPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DeferredTaxAssetsLongTermSettlementPayable",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets Long Term Settlement Payable",
        "documentation": "Deferred Tax Assets Long Term Settlement Payable",
        "terseLabel": "Long term settlement payable"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DeferredTaxAssetsNetOperatingLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DeferredTaxAssetsNetOperatingLosses",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Tax Assets, Net operating losses",
        "label": "Deferred Tax Assets, Net operating losses",
        "terseLabel": "Net operating losses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Deferred Tax Assets, Operating Loss Carryforwards, Total",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards",
        "terseLabel": "Lease liability"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsTaxCreditCarryforwardsOther",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other credits",
        "label": "Deferred Tax Assets, Tax Credit Carryforwards, Other"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsTaxCreditCarryforwardsResearch",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Research and development credits",
        "label": "Deferred Tax Assets, Tax Credit Carryforwards, Research"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Share-Based Compensation Cost",
        "terseLabel": "Stock compensation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsTaxDeferredExpenseOther",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets, Tax Deferred Expense, Other",
        "terseLabel": "Accrued expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsReserves": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsReserves",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Reserves",
        "terseLabel": "Reserves"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsValuationAllowance",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Deferred Tax Assets, Valuation Allowance, Total",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Less: Valuation allowance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxLiabilitiesDeferredExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxLiabilitiesDeferredExpense",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Deferred expenses",
        "label": "Deferred Tax Liabilities, Deferred Expense",
        "totalLabel": "Deferred Tax Liabilities, Deferred Expense, Total"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DeferredTaxLiabilitiesDepreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DeferredTaxLiabilitiesDepreciation",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liabilities depreciation.",
        "label": "Deferred Tax Liabilities Depreciation",
        "terseLabel": "Depreciation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxLiabilitiesGoodwillAndIntangibleAssets",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Deferred Tax Liabilities, Goodwill and Intangible Assets, Total",
        "label": "Deferred Tax Liabilities, Goodwill and Intangible Assets",
        "negatedLabel": "Acquired intangible assets"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DeferredTaxLiabilitiesLossOnSaleOfAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DeferredTaxLiabilitiesLossOnSaleOfAssets",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loss on sale of assets",
        "label": "Deferred tax liabilities Loss on sale of assets",
        "documentation": "Deferred tax liabilities Loss on sale of assets"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DeferredTaxLiabilitiesOtherAssets-License": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DeferredTaxLiabilitiesOtherAssets-License",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other assets - license",
        "label": "Deferred Tax Liabilities Other Assets - License",
        "documentation": "Deferred Tax Liabilities Other Assets - License",
        "negatedLabel": "Other assets - license"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DeferredTaxLiabilitiesRightOfUseAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DeferredTaxLiabilitiesRightOfUseAssets",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfCompanySNetDeferredTaxAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Right-of-use assets",
        "label": "Deferred tax liabilities Right-of-use assets",
        "documentation": "Deferred tax liabilities Right-of-use assets",
        "negatedLabel": "Right-of-use assets"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DepreciationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DepreciationExpense",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Depreciation expense.",
        "label": "Depreciation Expense",
        "terseLabel": "Depreciation expense"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DerivativeLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Warrant liability",
        "totalLabel": "Derivative Liability, Total",
        "label": "Derivative Liability",
        "terseLabel": "Private placement warrant liability"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DerivativeLiabilityShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DerivativeLiabilityShares",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails": {
       "parentTag": "mkfg_TotalEarnoutShares",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contingent earnout liability",
        "documentation": "Derivative liability Shares",
        "label": "Derivative liability Shares",
        "verboseLabel": "Derivative liability"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Warrant liability [ExtensibleEnumeration]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DevelopmentAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DevelopmentAgreementMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Development Agreement Member",
        "terseLabel": "Development Agreement [Member]",
        "label": "Development Agreement [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DevelopmentContingentConsideration": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DevelopmentContingentConsideration",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Development contingent consideration",
        "documentation": "Development contingent consideration",
        "label": "Development contingent consideration"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DevelopmentMilestoneEarnoutFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DevelopmentMilestoneEarnoutFairValue",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails": {
       "parentTag": "mkfg_AssetAcquisitionConsiderationTransferred1",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Development milestone earnout fair value",
        "label": "Development milestone earnout fair value",
        "terseLabel": "Development milestone earnout fair value"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DevelopmentMilestonePayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DevelopmentMilestonePayments",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Development Milestone Payments",
        "label": "Development Milestone Payments",
        "documentation": "Development milestone payments."
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DigitalMetalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DigitalMetalMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Digital Metal [Member]",
        "label": "Digital Metal [Member]",
        "terseLabel": "Digital Metal"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DilutiveEffectOfRestrictedUnitsIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DilutiveEffectOfRestrictedUnitsIssued",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Add: Dilutive effect of restricted units issued",
        "documentation": "Dilutive effect of restricted units issued",
        "label": "Dilutive effect of restricted units issued"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisaggregationOfRevenueLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueSummaryOfCompanySRevenueBasedOnNatureOfProductsAndServicesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Line Items]",
        "terseLabel": "Disaggregation Of Revenue [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisaggregationOfRevenueTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueSummaryOfCompanySRevenueBasedOnNatureOfProductsAndServicesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Table]",
        "terseLabel": "Disaggregation Of Revenue [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Table Text Block]",
        "terseLabel": "Summary of Company's Revenue Based on Nature of Products and Services"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwards"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Based Awards",
        "label": "Share-Based Payment Arrangement [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_DiscountedCashFlowMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "DiscountedCashFlowMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discounted Cash Flow [Member]",
        "label": "Discounted Cash Flow [Member]",
        "terseLabel": "Discounted Cash Flow [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsCommonStockStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DividendsCommonStockStock",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Divident declared",
        "label": "Dividends, Common Stock, Stock"
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentAnnualReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentAnnualReport",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report",
        "documentation": "Boolean flag that is true only for a form used as an annual report."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r5",
      "r28"
     ]
    },
    "dei_DocumentFinStmtErrorCorrectionFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentFinStmtErrorCorrectionFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Financial Statement Error Correction [Flag]",
        "documentation": "Indicates whether any of the financial statement period in the filing include a restatement due to error correction."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r5",
      "r28",
      "r71"
     ]
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3. 1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "verboseLabel": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentType",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "terseLabel": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentsIncorporatedByReferenceTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentsIncorporatedByReferenceTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Documents Incorporated by Reference",
        "label": "Documents Incorporated by Reference [Text Block]",
        "documentation": "Documents incorporated by reference."
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year [Member]",
        "terseLabel": "Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year"
       }
      }
     },
     "auth_ref": [
      "r60"
     ]
    },
    "us-gaap_EMEAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EMEAMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSegmentInformationSummaryOfDisaggregatedRevenueDataForThoseMarketsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EMEA [Member]",
        "terseLabel": "EMEA"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Basic",
        "terseLabel": "Net loss per share - basic",
        "totalLabel": "Earnings Per Share, Basic, Total",
        "label": "Earnings Per Share, Basic"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasicAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareBasicAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net loss per common share:",
        "label": "Earnings Per Share, Basic [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Diluted",
        "terseLabel": "Net loss per share - diluted",
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "label": "Earnings Per Share, Diluted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerSharePolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Profit (Loss) Per Share",
        "label": "Earnings Per Share, Policy [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShare"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Net (Loss) Profit Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_EarnoutMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "EarnoutMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnout Member",
        "label": "Earnout [Member]",
        "terseLabel": "Earnout [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_EarnoutPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "EarnoutPeriod",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnout Period",
        "label": "Earnout Period",
        "terseLabel": "Earnout Period"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_EarnoutTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "EarnoutTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnout"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnout",
        "documentation": "Earnout [Text Block]",
        "label": "Earnout [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectOfFourthQuarterEventsByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectOfFourthQuarterEventsByTypeAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effect of Fourth Quarter Event Type [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectOfFourthQuarterEventsTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectOfFourthQuarterEventsTypeDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effect of Fourth Quarter Events, Type [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "terseLabel": "Effective tax rate",
        "totalLabel": "Effective tax rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "Statutory US federal rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Percent",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Percent",
        "negatedLabel": "Change in statutory tax rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationGiltiPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationGiltiPercent",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Global intangible low-taxed income",
        "label": "Effective Income Tax Rate Reconciliation, GILTI, Percent"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseImpairmentLosses": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpenseImpairmentLosses",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Goodwill Impairment",
        "terseLabel": "Goodwill Impairment",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Impairment Losses, Percent"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Other, Percent",
        "negatedLabel": "Nondeductible expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Share-Based Payment Arrangement, Percent",
        "negatedLabel": "Stock-based compensation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationOtherAdjustments",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair market value change in warrants and earn out liabilities",
        "label": "Effective Income Tax Rate Reconciliation, Other Adjustments, Percent"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Effective Income Tax Rate Reconciliation, Other Reconciling Items, Percent, Total",
        "label": "Effective Income Tax Rate Reconciliation, Other Reconciling Items, Percent",
        "terseLabel": "Other"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "State income taxes, net of federal benefit",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EffectiveIncomeTaxRateReconciliationTaxCreditsResearch",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": -1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Research and development credits",
        "terseLabel": "Research and development credits",
        "label": "Effective Income Tax Rate Reconciliation, Tax Credit, Research, Percent"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_EligibleMarkForgedEquityHoldersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "EligibleMarkForgedEquityHoldersMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eligible mark forged equity holders member.",
        "label": "Eligible Mark Forged Equity Holders [Member]",
        "terseLabel": "Eligible Mark Forged Equity Holders"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeRelatedLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EmployeeRelatedLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Employee-related Liabilities, Current, Total",
        "label": "Employee-related Liabilities, Current",
        "terseLabel": "Compensation, benefits, and expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityParentheticalDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockbasedCompensationBasedOnAwardsGrantedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]",
        "terseLabel": "Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Share-based payment award, Compensation cost not yet recognized"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeStockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EmployeeStockOptionMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockbasedCompensationBasedOnAwardsGrantedDetails",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Stock Option [Member]",
        "terseLabel": "Employee Stock Option",
        "verboseLabel": "Employee Stock Option [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EmployeeStockOwnershipPlanESOPCompensationExpense",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Recognized stock compensation expense",
        "label": "Employee Stock Ownership Plan (ESOP), Compensation Expense"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeStockOwnershipPlanESOPPlanDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EmployeeStockOwnershipPlanESOPPlanDescription",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "2021 employee stock purchase plan description",
        "label": "Employee Stock Ownership Plan (ESOP), Plan Description"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_EmployeeStockPurchasePlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "EmployeeStockPurchasePlanMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Employee stock purchase plan [Member]",
        "documentation": "Employee Stock Purchase Plan Member",
        "label": "Employee Stock Purchase Plan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressStateOrProvince": {
     "xbrltype": "stateOrProvinceItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityAddressStateOrProvince",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province",
        "documentation": "Name of the state or province."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding",
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status",
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "dei_EntityExTransitionPeriod": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityExTransitionPeriod",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Ex Transition Period",
        "terseLabel": "Entity Ex Transition Period",
        "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."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity File Number",
        "terseLabel": "Entity File Number",
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current",
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files)."
       }
      }
     },
     "auth_ref": [
      "r111"
     ]
    },
    "dei_EntityPublicFloat": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityPublicFloat",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Public Float",
        "terseLabel": "Entity Public Float",
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business",
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC)."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "dei_EntityVoluntaryFilers": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityVoluntaryFilers",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityWellKnownSeasonedIssuer",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A."
       }
      }
     },
     "auth_ref": [
      "r113"
     ]
    },
    "ecd_EqtyAwrdsAdjFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "EqtyAwrdsAdjFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments, Footnote [Text Block]",
        "terseLabel": "Equity Awards Adjustments, Footnote"
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments, Excluding Value Reported in the Compensation Table [Member]",
        "terseLabel": "Equity Awards Adjustments, Excluding Value Reported in Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r107"
     ]
    },
    "ecd_EqtyAwrdsAdjsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "EqtyAwrdsAdjsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments [Member]",
        "terseLabel": "Equity Awards Adjustments"
       }
      }
     },
     "auth_ref": [
      "r107"
     ]
    },
    "ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "EqtyAwrdsInSummryCompstnTblForAplblYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table [Member]",
        "terseLabel": "Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r107"
     ]
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquityFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Warrants recognized in Shareholder equity Fair Value",
        "label": "Equity, Fair Value Disclosure",
        "totalLabel": "Equity, Fair Value Disclosure, Total"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_EquityValuationAssumptionDifferenceFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "EquityValuationAssumptionDifferenceFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Valuation Assumption Difference, Footnote [Text Block]",
        "terseLabel": "Equity Valuation Assumption Difference, Footnote"
       }
      }
     },
     "auth_ref": [
      "r64"
     ]
    },
    "ecd_ErrCompAnalysisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ErrCompAnalysisTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneous Compensation Analysis [Text Block]",
        "terseLabel": "Erroneous Compensation Analysis"
       }
      }
     },
     "auth_ref": [
      "r21",
      "r32",
      "r42",
      "r75"
     ]
    },
    "ecd_ErrCompRecoveryTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ErrCompRecoveryTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneously Awarded Compensation Recovery [Table]",
        "terseLabel": "Erroneously Awarded Compensation Recovery"
       }
      }
     },
     "auth_ref": [
      "r18",
      "r29",
      "r39",
      "r72"
     ]
    },
    "ecd_ExecutiveCategoryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ExecutiveCategoryAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Category [Axis]",
        "terseLabel": "Executive Category:"
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "us-gaap_ExtendedProductWarrantyAccrual": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ExtendedProductWarrantyAccrual",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfBalanceOfTheCompanySWarrantyReserveDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Extended Product Warranty Accrual, Total",
        "label": "Extended Product Warranty Accrual",
        "periodEndLabel": "Balance at end of period",
        "periodStartLabel": "Balance at beginning of period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ExtendedProductWarrantyAccrualPayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ExtendedProductWarrantyAccrualPayments",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfBalanceOfTheCompanySWarrantyReserveDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Extended Product Warranty Accrual, Decrease for Payments",
        "negatedLabel": "Claims fulfilled"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ExtendedProductWarrantyAccrualWarrantiesIssued": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ExtendedProductWarrantyAccrualWarrantiesIssued",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfBalanceOfTheCompanySWarrantyReserveDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Extended Product Warranty Accrual, Increase for Warranties Issued",
        "terseLabel": "Additions to warranty reserve"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAdjustmentOfWarrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueAdjustmentOfWarrants",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Warrants recognized liability at fair value",
        "label": "Fair Value Adjustment of Warrants",
        "terseLabel": "Change in fair value of derivative liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsTables",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Fair Value Hierarchy of the Valuation",
        "label": "Fair Value Measurements, Recurring and Nonrecurring [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueByLiabilityClassAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability Class [Axis]",
        "terseLabel": "Liability Class"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueByMeasurementFrequencyAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Fair Value, Inputs, Level 3 [Member]",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueInputsQuantitativeInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueInputsQuantitativeInformationAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value by Liability Class [Domain]",
        "terseLabel": "Fair Value by Liability Class"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueMeasurementFrequencyDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
        "terseLabel": "Change in fair value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Fair value, beginning balance",
        "periodEndLabel": "Fair value, ending balance",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueMeasurementsRecurringMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value, Recurring [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleList",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Liability, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_FederalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "FederalMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal [Member]",
        "documentation": "Federal [Member]",
        "label": "Federal [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FinancialInstrumentAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_FinishedGoodsInventoryImpairmentCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "FinishedGoodsInventoryImpairmentCharges",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventoryAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finished goods inventory impairment charges",
        "label": "Finished Goods Inventory Impairment Charges",
        "terseLabel": "Impairment of finished goods"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Estimated useful life (in years)",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Estimated Useful Life (in years)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2025"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2029"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2028"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2027"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2026"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets, Net, Amortization Expense, Fiscal Year Maturity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FiniteLivedIntangibleAssetsNet",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseForAmortizableAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "periodStartLabel": "Finite-Lived Intangible Assets, Net, Beginning Balance",
        "periodEndLabel": "Finite-Lived Intangible Assets, Net, Ending Balance",
        "label": "Finite-Lived Intangible Assets, Net",
        "terseLabel": "Total"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinitelivedIntangibleAssetsAcquired1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FinitelivedIntangibleAssetsAcquired1",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets Acquired",
        "terseLabel": "Gross Value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ForeignCountryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ForeignCountryMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign Tax Jurisdiction [Member]",
        "terseLabel": "Foreign [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ForeignCurrencyGainLossMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ForeignCurrencyGainLossMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign Currency Gain (Loss) [Member]",
        "terseLabel": "Foreign currency translation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Foreign Currency Translation"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Disqualification of Tax Benefits, Amount",
        "terseLabel": "Forgone Recovery due to Disqualification of Tax Benefits, Amount"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r36",
      "r46",
      "r79"
     ]
    },
    "ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ForgoneRecoveryDueToExpenseOfEnforcementAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Expense of Enforcement, Amount",
        "terseLabel": "Forgone Recovery due to Expense of Enforcement, Amount"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r36",
      "r46",
      "r79"
     ]
    },
    "ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ForgoneRecoveryDueToViolationOfHomeCountryLawAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Violation of Home Country Law, Amount",
        "terseLabel": "Forgone Recovery due to Violation of Home Country Law, Amount"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r36",
      "r46",
      "r79"
     ]
    },
    "ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ForgoneRecoveryExplanationOfImpracticabilityTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Explanation of Impracticability [Text Block]",
        "terseLabel": "Forgone Recovery, Explanation of Impracticability"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r36",
      "r46",
      "r79"
     ]
    },
    "ecd_ForgoneRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "ForgoneRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r36",
      "r46",
      "r79"
     ]
    },
    "us-gaap_ForwardContractIndexedToEquitySettlementShareFairValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ForwardContractIndexedToEquitySettlementShareFairValuePerShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forward Contract Indexed to Equity, Settlement, Share, Fair Value Per Share",
        "terseLabel": "Fair value per share"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year [Member]",
        "terseLabel": "Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year"
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FurnitureAndFixturesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Furniture and Fixtures [Member]",
        "label": "Furniture and Fixtures [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_FuturePaymentsUnderSettlementAgreement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "FuturePaymentsUnderSettlementAgreement",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Future payments under settlement agreement",
        "label": "Future Payments Under Settlement Agreement",
        "documentation": "Future Payments Under Settlement Agreement"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnDerivativeInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GainLossOnDerivativeInstrumentsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of derivative liabilities",
        "label": "Gain (Loss) on Derivative Instruments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GeneralAndAdministrativeExpenseMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General and Administrative Expense [Member]",
        "terseLabel": "General and Administrative Expense [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Goodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Goodwill",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Goodwill, Total",
        "periodStartLabel": "Goodwill, Beginning Balance",
        "periodEndLabel": "Goodwill, Ending Balance",
        "label": "Goodwill",
        "terseLabel": "Goodwill"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Goodwill and Intangible Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodwillForeignCurrencyTranslationGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GoodwillForeignCurrencyTranslationGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill, Foreign Currency Translation Gain (Loss)",
        "terseLabel": "Foreign currency translation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GoodwillImpairmentLoss",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Goodwill impairment",
        "terseLabel": "Goodwill impairment",
        "label": "Goodwill, Impairment Loss"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodwillLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GoodwillLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseToTheCostOfRevenueAndOperatingExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodwillMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GoodwillMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill [Member]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodwillPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GoodwillPeriodIncreaseDecrease",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Decrease in goodwill",
        "label": "Goodwill, Period Increase (Decrease)",
        "totalLabel": "Goodwill, Period Increase (Decrease), Total"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_GoodwillPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "GoodwillPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Goodwill .",
        "label": "Goodwill [Policy Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_GovernmentBonds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "GovernmentBonds",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government bonds",
        "label": "Government bonds",
        "terseLabel": "Government Bonds [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_GovernmentBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "GovernmentBondsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government Bonds [Member]",
        "label": "Government Bonds [Member]",
        "terseLabel": "Government Bonds [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_GrossCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "GrossCarryingValue",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross carrying value",
        "label": "Gross carrying value",
        "terseLabel": "Gross carrying value"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_GuidelinePublicCompanyMethodsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "GuidelinePublicCompanyMethodsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guideline Public Company Methods [Member]",
        "label": "Guideline Public Company Methods [Member]",
        "terseLabel": "Guideline Public Company Methods [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_HardwareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "HardwareMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueSummaryOfCompanySRevenueBasedOnNatureOfProductsAndServicesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hardware [Member]",
        "documentation": "Hardware.",
        "label": "Hardware [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_IcfrAuditorAttestationFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "IcfrAuditorAttestationFlag",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag",
        "terseLabel": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "auth_ref": [
      "r4",
      "r5",
      "r28"
     ]
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "terseLabel": "Impairment of Long-Lived Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureIncomeTaxesScheduleOfComponentsOfCompanysIncomeLossBeforeIncomeTaxesDetails": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureIncomeTaxesScheduleOfComponentsOfCompanysIncomeLossBeforeIncomeTaxesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Domestic",
        "terseLabel": "Domestic"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureIncomeTaxesScheduleOfComponentsOfCompanysIncomeLossBeforeIncomeTaxesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureIncomeTaxesScheduleOfComponentsOfCompanysIncomeLossBeforeIncomeTaxesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Loss before income taxes",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureIncomeTaxesScheduleOfComponentsOfCompanysIncomeLossBeforeIncomeTaxesDetails": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureIncomeTaxesScheduleOfComponentsOfCompanysIncomeLossBeforeIncomeTaxesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Foreign",
        "terseLabel": "Foreign"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureIncomeTaxesScheduleOfComponentsOfCompanysIncomeLossBeforeIncomeTaxesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Profit (loss) before income taxes:",
        "label": "Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeStatementLocationAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseToTheCostOfRevenueAndOperatingExpenseDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Income Location, Balance [Axis]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeStatementLocationDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseToTheCostOfRevenueAndOperatingExpenseDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Income Location, Balance [Domain]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxAuthorityAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Jurisdiction [Axis]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxAuthorityDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Jurisdiction [Domain]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxes"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "Income tax benefit",
        "totalLabel": "Total income tax expense (benefit)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Taxes",
        "label": "Income Tax, Policy [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInIntangibleAssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInIntangibleAssetsCurrent",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Increase of intangible assets",
        "label": "Increase (Decrease) in Intangible Assets, Current"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_IncrementalAmountSettlementDisountRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "IncrementalAmountSettlementDisountRate",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discount on settlement of incremental amount",
        "label": "Incremental Amount Settlement Disount Rate",
        "documentation": "Incremental amount settlement disount rate."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_IndividualAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "IndividualAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Individual [Axis]",
        "terseLabel": "Individual:"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r36",
      "r46",
      "r70",
      "r79",
      "r83",
      "r91"
     ]
    },
    "mkfg_InitialUpfrontPayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "InitialUpfrontPayment",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Initial Upfront Payment",
        "documentation": "Initial Upfront Payment",
        "terseLabel": "Initial upfront payment"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_InsiderTradingArrLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "InsiderTradingArrLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Arrangements [Line Items]",
        "terseLabel": "Insider Trading Arrangements:"
       }
      }
     },
     "auth_ref": [
      "r89"
     ]
    },
    "ecd_InsiderTradingPoliciesProcLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "InsiderTradingPoliciesProcLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures [Line Items]",
        "terseLabel": "Insider Trading Policies and Procedures:"
       }
      }
     },
     "auth_ref": [
      "r6",
      "r95"
     ]
    },
    "ecd_InsiderTrdPoliciesProcAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "InsiderTrdPoliciesProcAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Adopted [Flag]",
        "terseLabel": "Insider Trading Policies and Procedures Adopted"
       }
      }
     },
     "auth_ref": [
      "r6",
      "r95"
     ]
    },
    "ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "InsiderTrdPoliciesProcNotAdoptedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Not Adopted [Text Block]",
        "terseLabel": "Insider Trading Policies and Procedures Not Adopted"
       }
      }
     },
     "auth_ref": [
      "r6",
      "r95"
     ]
    },
    "mkfg_InstallmentPayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "InstallmentPayments",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installment payments",
        "label": "Installment Payments",
        "documentation": "Installment Payments"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_IntangibleAssetDiscountPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "IntangibleAssetDiscountPercentage",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Intangible asset discount percentage",
        "label": "Intangible Asset Discount Percentage",
        "documentation": "Intangible Asset Discount Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_IntangibleAssetsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "IntangibleAssetsPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intangible Assets.",
        "label": "Intangible Assets [Policy Text Block]",
        "terseLabel": "Intangible Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestExpense",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Interest Expense, Total",
        "label": "Interest Expense, Operating and Nonoperating",
        "negatedLabel": "Interest expense",
        "terseLabel": "Interest expense"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestExpenseOther",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense, Other",
        "terseLabel": "Interest Expense"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_InterestExpenseSettlementPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "InterestExpenseSettlementPayable",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest expense settlement payable",
        "label": "Interest Expense Settlement Payable",
        "documentation": "Interest Expense Settlement Payable"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventory"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory Disclosure [Text Block]",
        "terseLabel": "Inventory"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryFinishedGoods": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryFinishedGoods",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventorySummaryOfInventoryDetail": {
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventorySummaryOfInventoryDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Inventory, Finished Goods, Gross, Total",
        "label": "Inventory, Finished Goods, Gross",
        "terseLabel": "Finished goods"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryNet",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventorySummaryOfInventoryDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventorySummaryOfInventoryDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Net",
        "terseLabel": "Inventory",
        "totalLabel": "Total inventory"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryNetAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Net [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventory"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryRawMaterials": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryRawMaterials",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventorySummaryOfInventoryDetail": {
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventorySummaryOfInventoryDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Inventory, Raw Materials, Gross, Total",
        "label": "Inventory, Raw Materials, Gross",
        "terseLabel": "Raw material"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryValuationReserves": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryValuationReserves",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventoryAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inventory valuation reserves",
        "periodEndLabel": "Inventory Valuation Reserves, Ending Balance",
        "periodStartLabel": "Inventory Valuation Reserves, Beginning Balance",
        "label": "Inventory Valuation Reserves"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryWorkInProcess": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryWorkInProcess",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventorySummaryOfInventoryDetail": {
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventorySummaryOfInventoryDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Work in Process, Gross",
        "terseLabel": "Work in process"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Short-term Investments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Domain]",
        "terseLabel": "Investments"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_IssuanceOfCommonStockSharesUponReverseRecapitalization": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "IssuanceOfCommonStockSharesUponReverseRecapitalization",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance Of Common Stock Shares Upon Reverse Recapitalization",
        "label": "Issuance Of Common Stock Shares Upon Reverse Recapitalization",
        "terseLabel": "Common stock of one"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeaseCostAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LeaseCostAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LeaseOfLesseeDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LeaseOfLesseeDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeases1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease Of Lessee Disclosure [Text Block ]",
        "documentation": "Lease Of Lessee Disclosure [Text Block ]",
        "terseLabel": "Leases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LeaseholdImprovementsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold improvements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeasesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LeasesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeasesOperatingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LeasesOperatingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases, Operating [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LegacyMarkforgedCommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LegacyMarkforgedCommonStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Legacy Markforged Common Stock Member",
        "label": "Legacy Markforged Common Stock [Member]",
        "terseLabel": "Legacy Markforged Common Stock [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LegacyMarkforgedShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LegacyMarkforgedShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Legacy Markforged Shares.",
        "label": "Legacy Markforged shares",
        "terseLabel": "Legacy Markforged shares (3)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeLeaseDescriptionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeLeaseDescriptionLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Lease, Description [Line Items]",
        "terseLabel": "Lessee Lease Description Line Items"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeLeaseDescriptionTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Lease, Description [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeLeasesPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Leases [Policy Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails3": {
       "parentTag": "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "After 2029",
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Year Five"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails3": {
       "parentTag": "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2025"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails3": {
       "parentTag": "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Five",
        "terseLabel": "2029"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails3": {
       "parentTag": "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2028"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails3": {
       "parentTag": "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2027"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails3": {
       "parentTag": "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2026"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "parentTag": "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "terseLabel": "Less: interest",
        "negatedLabel": "Less: interest"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Liabilities",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liabilities:",
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LiabilitiesAcquired": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LiabilitiesAcquired",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Liabilities acquired:",
        "documentation": "Liabilities acquired:",
        "label": "Liabilities acquired:",
        "terseLabel": "Liabilities acquired:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of liabilities assumed:",
        "label": "Liabilities, Fair Value Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LicensesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LicensesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Licenses",
        "label": "Licenses [Member]",
        "documentation": "Licenses [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LoanAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LoanAgreementMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan Agreement Member",
        "label": "Loan Agreement [Member]",
        "terseLabel": "Loan Agreement [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LongLivedAssetsLocated": {
     "xbrltype": "percentItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LongLivedAssetsLocated",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-lived assets located",
        "label": "Long-lived assets located",
        "terseLabel": "Percentage of long-lived assets located"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LongTermDebtPaymentDueTwoThousandTwentyFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LongTermDebtPaymentDueTwoThousandTwentyFiveMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt Payment Due Two Thousand Twenty Five [Member]",
        "documentation": "Long Term Debt Payment Due Two Thousand Twenty Five [Member]",
        "terseLabel": "2025 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LongTermDebtPaymentDueTwoThousandTwentySevenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LongTermDebtPaymentDueTwoThousandTwentySevenMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt Payment Due Two Thousand Twenty Seven [Member]",
        "documentation": "Long Term Debt Payment Due Two Thousand Twenty Seven [Member]",
        "terseLabel": "2027 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LongTermDebtPaymentDueTwoThousandTwentySixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LongTermDebtPaymentDueTwoThousandTwentySixMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt Payment Due Two Thousand Twenty Six [Member]",
        "documentation": "Long Term Debt Payment Due Two Thousand Twenty Six [Member]",
        "terseLabel": "2026 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LongTermSettlementPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LongTermSettlementPayable",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Settlement Payable",
        "documentation": "Long Term Settlement Payable",
        "terseLabel": "Long-term settlement payable"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency Nature [Axis]",
        "terseLabel": "Loss Contingency Nature"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LossContingenciesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LossContingenciesPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for loss contingencies.",
        "label": "Loss Contingencies [Policy Text Block]",
        "terseLabel": "Loss Contingencies"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LossContingencyEstimateOfPossibleLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingencyEstimateOfPossibleLoss",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency, Estimate of Possible Loss",
        "terseLabel": "Loss contingency"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LossContingencyNatureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingencyNatureDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency, Nature [Domain]",
        "terseLabel": "Loss Contingency, Nature"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_LossesOnDisposalsOfFixedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "LossesOnDisposalsOfFixedAssets",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Losses On Disposals Of Fixed Assets",
        "documentation": "Losses On Disposals Of Fixed Assets",
        "terseLabel": "Losses on disposals of fixed assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MachineryAndEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MachineryAndEquipmentMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Machinery and Equipment [Member]",
        "label": "Machinery and Equipment [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MajorCustomersAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "MajorCustomersAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_MarkforgedEarnoutSharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "MarkforgedEarnoutSharesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Markforged Earnout Shares Member",
        "label": "Markforged Earnout Shares [Member]",
        "terseLabel": "Markforged Earnout Shares [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_MarkforgedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "MarkforgedMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Markforged Member",
        "label": "Markforged [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_MarkforgedSwedenABMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "MarkforgedSwedenABMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Markforged Sweden AB [Member]",
        "documentation": "Markforged Sweden AB [Member]",
        "terseLabel": "Markforged Sweden AB [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "MaximumMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "MeasureAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure [Axis]",
        "terseLabel": "Measure:"
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "ecd_MeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "MeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "us-gaap_MeasurementInputExpectedDividendRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MeasurementInputExpectedDividendRateMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Expected Dividend Rate [Member]",
        "terseLabel": "Expected dividend yield"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputExpectedTermMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MeasurementInputExpectedTermMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Expected Term [Member]",
        "terseLabel": "Expected (remaining) option term (in years)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputPriceVolatilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MeasurementInputPriceVolatilityMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Price Volatility [Member]",
        "terseLabel": "Expected volatility"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Risk Free Interest Rate [Member]",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputSharePriceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MeasurementInputSharePriceMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Share Price [Member]",
        "terseLabel": "Fair value of common stock (per share)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MeasurementInputTypeAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MeasurementInputTypeDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_MergerAndPipeFinancingShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "MergerAndPipeFinancingShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merger and PIPE financing shares.",
        "label": "Merger and PIPE Financing Shares",
        "terseLabel": "Merger and PIPE financing shares (2)"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_MergerAndReverseRecapitalizationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "MergerAndReverseRecapitalizationAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merger and Reverse Recapitalization Abstract",
        "label": "Merger and Reverse Recapitalization [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_MergerAndReverseRecapitalizationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "MergerAndReverseRecapitalizationTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReserveRecapitalization"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merger and Reverse Recapitalization Text Block",
        "label": "Merger and Reverse Recapitalization [Text Block]",
        "terseLabel": "Merger and Reverse Recapitalization"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_MilestonePaymentInShare": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "MilestonePaymentInShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Milestone Payment In Share",
        "documentation": "Milestone Payment In Share",
        "terseLabel": "Milestone Payment In Share"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "MinimumMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MnpiDiscTimedForCompValFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "MnpiDiscTimedForCompValFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MNPI Disclosure Timed for Compensation Value [Flag]",
        "terseLabel": "MNPI Disclosure Timed for Compensation Value"
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "us-gaap_MoneyMarketFundsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MoneyMarketFundsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Funds [Member]",
        "terseLabel": "Money Market Funds [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Terms of Trading Arrangement [Text Block]",
        "terseLabel": "Material Terms of Trading Arrangement"
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "srt_NameOfMajorCustomerDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "NameOfMajorCustomerDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NamedExecutiveOfficersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NamedExecutiveOfficersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Named Executive Officers, Footnote [Text Block]",
        "terseLabel": "Named Executive Officers, Footnote"
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "mkfg_NanoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "NanoMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nano [Member]",
        "documentation": "Nano Member",
        "terseLabel": "Nano [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_NetBookValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "NetBookValue",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Book Value",
        "label": "Net Book Value",
        "terseLabel": "Net Book Value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by (used in) operating activities",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "negatedLabel": "Net cash provided by (used in) operating activities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss)",
        "terseLabel": "Net Income (Loss)",
        "totalLabel": "Net loss",
        "verboseLabel": "Net loss"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net Income (Loss) Available to Common Stockholders, Basic, Total",
        "terseLabel": "Net loss attributable to common stockholders - Basic",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasicAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Numerator:",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net loss attributable to common stockholders - Diluted",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "totalLabel": "Net Income (Loss) Available to Common Stockholders, Diluted, Total"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_NetOfWithholdingTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "NetOfWithholdingTaxes",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net of withholding taxes.",
        "label": "Net Of Withholding Taxes",
        "terseLabel": "Net of withholding taxes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recently Adopted Accounting Pronouncements"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_NonEmplyeeDirectorsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "NonEmplyeeDirectorsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Emplyee Directors [Member]",
        "label": "Non Emplyee Directors [Member]",
        "documentation": "Non Emplyee Directors."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonGaapMeasureDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonGaapMeasureDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-GAAP Measure Description [Text Block]",
        "terseLabel": "Non-GAAP Measure Description"
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "ecd_NonNeosMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonNeosMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-NEOs [Member]",
        "terseLabel": "Non-NEOs"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r36",
      "r46",
      "r70",
      "r79"
     ]
    },
    "ecd_NonPeoNeoAvgCompActuallyPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonPeoNeoAvgCompActuallyPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Compensation Actually Paid Amount",
        "terseLabel": "Non-PEO NEO Average Compensation Actually Paid Amount"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "ecd_NonPeoNeoAvgTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonPeoNeoAvgTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Total Compensation Amount",
        "terseLabel": "Non-PEO NEO Average Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "ecd_NonPeoNeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonPeoNeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO [Member]",
        "terseLabel": "Non-PEO NEO"
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonRule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonRule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "mkfg_NumberOfConsecutiveTradingDayPeriod": {
     "xbrltype": "integerItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "NumberOfConsecutiveTradingDayPeriod",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number Of Consecutive Trading Day Period",
        "documentation": "Number of consecutive trading day period.",
        "terseLabel": "Number of consecutive trading day period"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_NumberOfCustomer": {
     "xbrltype": "integerItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "NumberOfCustomer",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of customer.",
        "label": "Number of customer",
        "terseLabel": "Number of customer"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfOperatingSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NumberOfOperatingSegments",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of Operating Segments",
        "terseLabel": "Number of Operating Segment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfReportableSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of Reportable Segment"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_NumberOfWarrantsExercised": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "NumberOfWarrantsExercised",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of warrants exercised",
        "documentation": "Number of Warrants Exercised",
        "label": "Number of Warrants Exercised"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_OfficersCompensation162M": {
     "xbrltype": "percentItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "OfficersCompensation162M",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Officer's compensation 162 m",
        "documentation": "EffectiveIncomeTaxRateReconciliationOfficer's compensation",
        "terseLabel": "Officer's compensation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingExpenseMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseToTheCostOfRevenueAndOperatingExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating expenses",
        "label": "Operating Expense [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingExpenses",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses",
        "totalLabel": "Total operating expenses",
        "terseLabel": "Operating Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseExpense",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Expense",
        "terseLabel": "Rent expense under the operating lease agreements"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseLiability",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "parentTag": "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Operating Lease, Liability, Total",
        "label": "Operating Lease, Liability",
        "terseLabel": "Present value of lease liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseLiabilityCurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "mkfg_LiabilitiesAcquired",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Lease liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "mkfg_LiabilitiesAcquired",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-term lease liabilities",
        "label": "Operating Lease, Liability, Noncurrent"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeasePayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeasePayments",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesSupplementalCashFlowInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Payments",
        "terseLabel": "Cash payments for operating leases included in cash flows used in operating activities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Right-of-use assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesOtherLeaseInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Weighted-average discount rate - Operating leases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesOtherLeaseInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Weighted-average remaining lease term - Operating leases"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_OperatingLeasesFutureMinimumLeasePaymentsDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "OperatingLeasesFutureMinimumLeasePaymentsDue",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails3": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Leases Future Minimum Lease Payments Due",
        "documentation": "Operating Leases Future Minimum Lease Payments Due",
        "totalLabel": "Total future lease payments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLossCarryforwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLossCarryforwards",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Operating Loss Carryforwards, Total",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Operating loss carryforwards"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_OperatingLossCarryforwardsExpirationYear": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "OperatingLossCarryforwardsExpirationYear",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating Loss Carryforwards Expiration Year",
        "label": "Operating Loss Carryforwards Expiration Year",
        "documentation": "Operating Loss Carryforwards Expiration Year"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLossCarryforwardsLimitationsOnUse": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLossCarryforwardsLimitationsOnUse",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating Loss Carryforwards, Limitations on Use",
        "label": "Operating Loss Carryforwards, Limitations on Use"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLossCarryforwardsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLossCarryforwardsLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Loss Carryforwards [Line Items]",
        "terseLabel": "Operating Loss Carryforwards [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLossCarryforwardsTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Loss Carryforwards [Table]",
        "terseLabel": "Operating Loss Carryforwards [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLossCarryforwardsValuationAllowance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLossCarryforwardsValuationAllowance",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Operating Loss Carryforwards, Valuation Allowance, Total",
        "label": "Operating Loss Carryforwards, Valuation Allowance",
        "terseLabel": "Operating loss carryforwards with no expiration date"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Organization, Nature of the Business, and Risks and Uncertainties"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherAccruedLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherAccruedLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Accrued Liabilities, Current",
        "terseLabel": "Other"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherIntangibleAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherIntangibleAssetsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Intangible Assets [Member]",
        "terseLabel": "Intangible Assets, net"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_OtherPerfMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "OtherPerfMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Performance Measure, Amount",
        "terseLabel": "Other Performance Measure, Amount"
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "ecd_OutstandingAggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "OutstandingAggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Aggregate Erroneous Compensation Amount",
        "terseLabel": "Outstanding Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r23",
      "r34",
      "r44",
      "r77"
     ]
    },
    "ecd_OutstandingRecoveryCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "OutstandingRecoveryCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery Compensation Amount",
        "terseLabel": "Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r26",
      "r37",
      "r47",
      "r80"
     ]
    },
    "ecd_OutstandingRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "OutstandingRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r26",
      "r37",
      "r47",
      "r80"
     ]
    },
    "us-gaap_PartnersCapitalAccountRedemptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PartnersCapitalAccountRedemptions",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Partners' capital account, redemptions",
        "label": "Partners' Capital Account, Redemptions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PatentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PatentsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Patents [Member]",
        "label": "Patents [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_PayCheckProtectionProgramThePppMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PayCheckProtectionProgramThePppMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pay Check Protection Program The Ppp Member",
        "label": "Pay Check Protection Program The PPP [Member]",
        "terseLabel": "Pay Check Protection Program The Ppp"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PayVsPerformanceDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PayVsPerformanceDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Line Items]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "us-gaap_PayablesAndAccrualsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PayablesAndAccrualsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Payables and Accruals [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForLegalSettlements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsForLegalSettlements",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for Legal Settlements",
        "terseLabel": "First Settlement Payment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForMergerRelatedCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsForMergerRelatedCosts",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for Merger Related Costs",
        "terseLabel": "Payments for Merger Related Costs"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PeerGroupIssuersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PeerGroupIssuersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Issuers, Footnote [Text Block]",
        "terseLabel": "Peer Group Issuers, Footnote"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "ecd_PeerGroupTotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PeerGroupTotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Total Shareholder Return Amount",
        "terseLabel": "Peer Group Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "ecd_PeoActuallyPaidCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PeoActuallyPaidCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Actually Paid Compensation Amount",
        "terseLabel": "PEO Actually Paid Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "ecd_PeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO [Member]",
        "terseLabel": "PEO"
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "ecd_PeoName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PeoName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Name",
        "terseLabel": "PEO Name"
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "ecd_PeoTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PeoTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Total Compensation Amount",
        "terseLabel": "PEO Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "us-gaap_PlanNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PlanNameAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfAdditionalInformationRegardingExerciseOfStockOptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PlanNameDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfAdditionalInformationRegardingExerciseOfStockOptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PnsnAdjsPrrSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PnsnAdjsPrrSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Adjustments Prior Service Cost [Member]",
        "terseLabel": "Pension Adjustments Prior Service Cost"
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "ecd_PnsnAdjsSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PnsnAdjsSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Adjustments Service Cost [Member]",
        "terseLabel": "Pension Adjustments Service Cost"
       }
      }
     },
     "auth_ref": [
      "r110"
     ]
    },
    "ecd_PnsnBnftsAdjFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PnsnBnftsAdjFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Benefits Adjustments, Footnote [Text Block]",
        "terseLabel": "Pension Benefits Adjustments, Footnote"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "mkfg_PppLoanInTheFormOfNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PppLoanInTheFormOfNotesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ppp Loan In The Form Of Notes Member",
        "label": "PPP Loan In The Form Of Notes [Member]",
        "terseLabel": "Ppp Loan In The Form Of Notes"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_PreTaxAndAfterTaxChargesRelatedToOperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PreTaxAndAfterTaxChargesRelatedToOperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pre-tax and after tax charges related to operating lease right-of-use asset",
        "label": "Pre Tax And After Tax Charges Related To Operating Lease Right Of Use Asset",
        "documentation": "Pre Tax And After Tax Charges Related To Operating Lease Right Of Use Asset"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockConvertibleConversionPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockConvertibleConversionPrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock, Convertible, Conversion Price",
        "terseLabel": "Convertible conversion price per share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockParOrStatedValuePerShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred Stock, Par Value",
        "label": "Preferred Stock, Par or Stated Value Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_PrivateInvestmentInPrivateEquityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PrivateInvestmentInPrivateEquityMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Private investment In private equity.",
        "label": "Private Investment In Private Equity [Member]",
        "terseLabel": "PIPE[Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrivatePlacementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PrivatePlacementMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsTables",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Private Placement [Member]",
        "terseLabel": "Private Placement [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_PrivatePlacementWarrantLiabilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PrivatePlacementWarrantLiabilityMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Private Placement Warrant Liability Member",
        "label": "Private Placement Warrant Liability [Member]",
        "terseLabel": "Private Placement Warrant Liability [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromContributionsFromAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromContributionsFromAffiliates",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Contributions from Affiliates",
        "terseLabel": "Proceeds from Contributions from Affiliates"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromDivestitureOfBusinessesNetOfCashDivested",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from divestiture of businesses, net of share purchases",
        "totalLabel": "Proceeds from Divestiture of Businesses, Net of Cash Divested, Total",
        "label": "Proceeds from Divestiture of Businesses, Net of Cash Divested"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromIssuanceOfPrivatePlacement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromIssuanceOfPrivatePlacement",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Issuance of Private Placement",
        "terseLabel": "Proceeds from issuance of private placement | $"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ProceedsFromMergerIncludingContributionCashHeldInTrust": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ProceedsFromMergerIncludingContributionCashHeldInTrust",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from merger including contribution cash held in trust.",
        "label": "Proceeds From Merger Including Contribution Cash Held In Trust",
        "terseLabel": "Proceeds From Merger Including Contribution Cash Held In Trust"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ProductOrServiceAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ProductOrServiceAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueSummaryOfCompanySRevenueBasedOnNatureOfProductsAndServicesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ProductTechnicalMilestones": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ProductTechnicalMilestones",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product technical milestones",
        "label": "Product technical milestones",
        "terseLabel": "Product technical milestones"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProductWarrantyAccrualClassifiedCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProductWarrantyAccrualClassifiedCurrent",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product Warranty Accrual, Current",
        "terseLabel": "Warranty reserve"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ProductsAndServicesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ProductsAndServicesDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueSummaryOfCompanySRevenueBasedOnNatureOfProductsAndServicesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ProgramAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ProgramAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Program Axis",
        "label": "Program [Axis]",
        "terseLabel": "Program"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ProgramDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ProgramDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Program Domain",
        "label": "Program [Domain]",
        "terseLabel": "Program"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Axis]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property and Equipment, net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentDisposals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentDisposals",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment, Disposals",
        "terseLabel": "Disposal of property and equipment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentGross",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail": {
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Property, Plant and Equipment, Gross, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Gross, Beginning Balance",
        "totalLabel": "Property, Plant and Equipment, Gross, Total",
        "label": "Property, Plant and Equipment, Gross",
        "terseLabel": "Property and equipment, gross"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Line Items]",
        "terseLabel": "Property Plant And Equipment [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Property, Plant and Equipment, Net, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Net, Beginning Balance",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Property and equipment, net",
        "totalLabel": "Property and equipment, net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property and Equipment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Summary of Property and Equipment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Domain]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Property and equipment, estimated useful life",
        "label": "Property, Plant and Equipment, Useful Life"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLifeDescriptionOfTermExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentUsefulLifeDescriptionOfTermExtensibleEnumeration",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Property and equipment, estimated useful life, description",
        "label": "Property, Plant, and Equipment, Useful Life, Term, Description [Extensible Enumeration]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProvisionForDoubtfulAccounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProvisionForDoubtfulAccounts",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfAllowanceForDoubtfulAccountsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Provision adjustment",
        "label": "Accounts Receivable, Credit Loss Expense (Reversal)",
        "terseLabel": "Provision for doubtful accounts"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_PublicWarrantMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PublicWarrantMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Warrant Member",
        "label": "Public Warrant [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_PublicWarrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PublicWarrantsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Warrants Member",
        "label": "Public Warrants [Member]",
        "terseLabel": "Public Warrants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_PurchaseCommitment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PurchaseCommitment",
     "crdr": "credit",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail": {
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase commitment",
        "documentation": "Purchase commitment",
        "terseLabel": "Purchase commitment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PurchaseCommitmentRemainingMinimumAmountCommitted",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase Commitment, Remaining Minimum Amount Committed",
        "terseLabel": "Purchase commitment, minimum amount commited"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_PurchasePrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "PurchasePrice",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchase price",
        "documentation": "Purchase Price",
        "label": "Purchase Price"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PurchaseTransactionPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PurchaseTransactionPolicy",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Combination of Entities under Common Control, Policy [Policy Text Block]",
        "terseLabel": "Common Stock Warrant Liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PvpTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PvpTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Table]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "ecd_PvpTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "PvpTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance [Table Text Block]",
        "terseLabel": "Pay vs Performance Disclosure, Table"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "RangeAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "RangeMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_RawMaterialsInventoryImpairmentCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "RawMaterialsInventoryImpairmentCharges",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventoryAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Raw materials inventory impairment charges",
        "label": "Raw Materials Inventory Impairment Charges",
        "terseLabel": "Impairment of raw materials"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_RecentAccountingPronouncementsNotYetAdoptedPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "RecentAccountingPronouncementsNotYetAdoptedPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recently Issued Accounting Pronouncements Not Yet Adopted",
        "documentation": "Disclosure of accounting policy for recent accounting pronouncements not yet adopted.",
        "label": "Recent Accounting Pronouncements Not Yet Adopted [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_RecoveryOfErrCompDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "RecoveryOfErrCompDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Recovery of Erroneously Awarded Compensation Disclosure [Line Items]",
        "terseLabel": "Recovery of Erroneously Awarded Compensation Disclosure"
       }
      }
     },
     "auth_ref": [
      "r18",
      "r29",
      "r39",
      "r72"
     ]
    },
    "mkfg_RedemptionOfCommonStockSharesSubjectToPossibleRedemption": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "RedemptionOfCommonStockSharesSubjectToPossibleRedemption",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redemption of common stock shares subject to possible redemption.",
        "label": "Redemption Of Common Stock Shares Subject To Possible Redemption",
        "terseLabel": "Less redemption of one Class A shares subject to possible redemption"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related and Nonrelated Parties [Domain]",
        "terseLabel": "Related Party"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Axis]",
        "terseLabel": "Related Party Transaction"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Domain]",
        "terseLabel": "Related Party Transaction"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related and Nonrelated Parties [Axis]",
        "terseLabel": "Related Party"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ReportingCurrencyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ReportingCurrencyPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for reporting currency.",
        "label": "Reporting Currency [Policy Text Block]",
        "terseLabel": "Reporting Currency"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepurchaseAgreementsInterestExpenseAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RepurchaseAgreementsInterestExpenseAmount",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreements, Interest Expense Amount",
        "terseLabel": "Compensation expense"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ResearchAndDevelopmentExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ResearchAndDevelopmentExpenseMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Research and Development Expense [Member]",
        "terseLabel": "Research and Development [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ResearchAndDevelopmentExpensePolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ResearchAndDevelopmentExpensePolicy",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Research and Development Expense, Policy [Policy Text Block]",
        "terseLabel": "Research and Development"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ResearchDevelopmentAndComputerSoftwarePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ResearchDevelopmentAndComputerSoftwarePolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Research, Development, and Computer Software, Policy [Policy Text Block]",
        "terseLabel": "Capitalized Software"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ResearchMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ResearchMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Research Tax Credit Carryforward [Member]",
        "label": "Research Tax Credit Carryforward [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_RestatementDateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "RestatementDateAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date [Axis]",
        "terseLabel": "Restatement Determination Date:"
       }
      }
     },
     "auth_ref": [
      "r19",
      "r30",
      "r40",
      "r73"
     ]
    },
    "ecd_RestatementDeterminationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "RestatementDeterminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date",
        "terseLabel": "Restatement Determination Date"
       }
      }
     },
     "auth_ref": [
      "r20",
      "r31",
      "r41",
      "r74"
     ]
    },
    "ecd_RestatementDoesNotRequireRecoveryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "RestatementDoesNotRequireRecoveryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Does Not Require Recovery [Text Block]",
        "terseLabel": "Restatement does not require Recovery"
       }
      }
     },
     "auth_ref": [
      "r27",
      "r38",
      "r48",
      "r81"
     ]
    },
    "us-gaap_RestrictedCashAndCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedCashAndCashEquivalents",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Restricted Cash and Cash Equivalents",
        "label": "Restricted Cash and Cash Equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and Cash Equivalents [Domain]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestrictedCashAndCashEquivalentsNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedCashAndCashEquivalentsNoncurrentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Cash and Cash Equivalents, Noncurrent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestrictedCashNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedCashNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCurrentAndNonCurrentRestrictedCashDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Cash, Noncurrent",
        "terseLabel": "Restricted Cash, Noncurrent",
        "periodStartLabel": "Restricted cash in non-current assets, beginning of period",
        "periodEndLabel": "Balance at end of period"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_RestrictedCashPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "RestrictedCashPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Restricted Cash.",
        "label": "Restricted Cash [Policy Text Block]",
        "terseLabel": "Restricted Cash"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedStockUnitsRSUMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockbasedCompensationBasedOnAwardsGrantedDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Restricted Stock Units (RSUs) [Member]",
        "terseLabel": "Unvested RSUs",
        "label": "Restricted Stock Units (RSUs) [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestructuringCostAndReserveLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestructuringCostAndReserveLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restructuring Cost and Reserve [Line Items]",
        "terseLabel": "Fair value of assets acquired:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueFromContractWithCustomerAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from Contract with Customer [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueSummaryOfCompanySRevenueBasedOnNatureOfProductsAndServicesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Revenue from Contract with Customer, Excluding Assessed Tax, Total",
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax",
        "terseLabel": "Revenue"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from Contract with Customer [Text Block]",
        "terseLabel": "Revenue"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Disaggregated Revenue Data for those Markets",
        "label": "Revenue from External Customers by Geographic Areas [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Revenues": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Revenues",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSegmentInformationSummaryOfDisaggregatedRevenueDataForThoseMarketsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Revenues, Total",
        "label": "Revenues",
        "terseLabel": "Revenue"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenuesFromExternalCustomersAndLongLivedAssetsLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSegmentInformationSummaryOfDisaggregatedRevenueDataForThoseMarketsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues from External Customers and Long-Lived Assets [Line Items]",
        "terseLabel": "Revenues From External Customers And Long Lived Assets [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_RightToPurchaseSharesOfCommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "RightToPurchaseSharesOfCommonStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right To Purchase Shares Of Common Stock Member",
        "label": "Right To Purchase Shares Of Common Stock [Member]",
        "terseLabel": "Right To Purchase Shares Of Common Stock [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_RightToPurchaseSharesSeriesDConvertiblePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "RightToPurchaseSharesSeriesDConvertiblePreferredStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Right To Purchase Shares Series D Convertible Preferred Stock [Member]",
        "label": "Right To Purchase Shares Series D Convertible Preferred Stock [Member]",
        "documentation": "Right To Purchase Shares Series D Convertible Preferred Stock"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "Rule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "Rule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "country_SE": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2024",
     "localname": "SE",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SWEDEN",
        "terseLabel": "Sweden"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SaleOfStockNameOfTransactionDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsTables",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of Stock [Domain]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SaleOfStockPricePerShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of Stock, Price Per Share",
        "terseLabel": "Common stock, share price | $ / shares"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SalesAndMarketingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SalesAndMarketingPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sales and Marketing",
        "documentation": "Disclosure of accounting policy for sales and marketing.",
        "label": "Sales and Marketing [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SalesRevenueNetMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SalesRevenueNetMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue Benchmark [Member]",
        "terseLabel": "Revenue Benchmark [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SavingInOperatingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SavingInOperatingCosts",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saving In Operating Costs",
        "documentation": "Saving In Operating Costs",
        "terseLabel": "Operating costs savings"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ScheduleForCommonStockReservedForFutureIssuanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ScheduleForCommonStockReservedForFutureIssuanceTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule for common stock reserved for future issuance.",
        "label": "Schedule for Common Stock Reserved for Future Issuance [Table Text Block]",
        "terseLabel": "Summary of Common Stock Reserved for Future Issuance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfAccruedLiabilitiesTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureAccruedExpensesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Accrued Liabilities [Table Text Block]",
        "terseLabel": "Summary of Accrued Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimated Useful Lives of the Identifiable Intangible Assets Acquired",
        "label": "Schedule of Acquired Finite-Lived Intangible Assets by Major Class [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Security, Excluded EPS Calculation [Table]",
        "terseLabel": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]",
        "terseLabel": "Summary of Dilutive Securities are Excluded from the Denominator"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionContingentConsiderationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionContingentConsiderationTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Acquisition Date Fair Value of Consideration Transferred",
        "label": "Schedule of Business Acquisitions by Acquisition, Contingent Consideration [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Business Acquisitions by Acquisition, Equity Interest Issued or Issuable [Table Text Block]",
        "terseLabel": "Schedule of Common Stock Issued Following Consummation of Merger"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]",
        "terseLabel": "Schedule Of Business Acquisitions By Acquisition [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents and Investments [Table Text Block]",
        "terseLabel": "Summary of Cash Equivalents and Short-term Investments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Components of Company's Profit (Loss) Before Income Taxes and Tax Provisions",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ScheduleOfConvertiblePreferredStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ScheduleOfConvertiblePreferredStockLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Convertible Preferred Stock [Line Items]",
        "label": "Schedule of Convertible Preferred Stock [Line Items]",
        "terseLabel": "Schedule Of Convertible Preferred Stock [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ScheduleOfConvertiblePreferredStockTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ScheduleOfConvertiblePreferredStockTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Convertible Preferred Stock [Table]",
        "documentation": "Schedule of Convertible Preferred Stock [Table]",
        "label": "Schedule of Convertible Preferred Stock [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of Components of the Company's Net Deferred Tax Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDerivativeLiabilitiesAtFairValueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfDerivativeLiabilitiesAtFairValueTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Derivative Liabilities at Fair Value [Table Text Block]",
        "terseLabel": "Summary of Changes in Fair Value of the Derivative Warrant Liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Summary of Earnings Per Share, Basic and Diluted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of Overall Effective Income Tax Rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table]",
        "terseLabel": "Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block]",
        "terseLabel": "Summary of Recognized Stock-based Compensation Expense"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangible Asset, Finite-Lived [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ScheduleOfFutureMinimumPaymentsForOperatingLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ScheduleOfFutureMinimumPaymentsForOperatingLeasesTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Future Minimum Rental Payments",
        "label": "Schedule Of Future Minimum Payments For Operating Leases [Table Text Block]",
        "documentation": "Schedule Of Future Minimum Payments For Operating Leases [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]",
        "terseLabel": "Schedule of Future Minimum Rental Payments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfGoodwillTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfGoodwillTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseToTheCostOfRevenueAndOperatingExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Intangible Assets and Goodwill [Table Text Block]",
        "terseLabel": "Schedule of Goodwill and Intangible Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInventoryCurrentTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfInventoryCurrentTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureInventoryTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Inventory, Current [Table Text Block]",
        "terseLabel": "Summary of Inventory"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Nonvested Restricted Stock Units Activity [Table Text Block]",
        "terseLabel": "Summary of Restricted Stock Units Activity"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesTables",
      "http://markforged.com/20241231/taxonomy/role/DisclosureOtherLeaseInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of other information related to operating leases.",
        "label": "Schedule Of Other Information Related To Operating Leases Table [Text Block]",
        "terseLabel": "Schedule of Other Information Related to Operating Leases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfOtherOperatingCostAndExpenseByComponentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfOtherOperatingCostAndExpenseByComponentTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Amortization Expense to the Cost of Revenue and Operating Expense",
        "label": "Schedule of Other Operating Cost and Expense, by Component [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfProductWarrantyLiabilityTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Product Warranty Liability [Table Text Block]",
        "terseLabel": "Summary of Balance of The Company's Warranty Reserve"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Table]",
        "terseLabel": "Schedule Of Property Plant And Equipment [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Estimated Fair Values of Assets Acquired and Liabilities Assumed",
        "label": "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restrictions on Cash and Cash Equivalents [Table Text Block]",
        "terseLabel": "Restrictions on Cash and Cash Equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRestructuringAndRelatedCostsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfRestructuringAndRelatedCostsTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restructuring Cost [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSegmentInformationSummaryOfDisaggregatedRevenueDataForThoseMarketsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Revenues from External Customers and Long-Lived Assets [Table]",
        "terseLabel": "Schedule Of Revenues From External Customers And Long Lived Assets [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityParentheticalDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockbasedCompensationBasedOnAwardsGrantedDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "terseLabel": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Summary of Stock Option Activity"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Share Based Payment Award Stock Options Valuation Assumptions Line Items",
        "label": "Schedule Of Share Based Payment Award Stock Options Valuation Assumptions [Line Items]",
        "terseLabel": "Schedule Of Share Based Payment Award Stock Options Valuation Assumptions [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Share Based Payment Award Stock Options Valuation Assumptions Table",
        "label": "Schedule Of Share Based Payment Award Stock Options Valuation Assumptions [Table]",
        "terseLabel": "Schedule Of Share Based Payment Award Stock Options Valuation Assumptions [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]",
        "terseLabel": "Schedule of Deferred Income Tax Asset Valuation Allowance"
       }
      }
     },
     "auth_ref": []
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "Security12bTitle",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "srt_SegmentGeographicalDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "SegmentGeographicalDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSegmentInformationSummaryOfDisaggregatedRevenueDataForThoseMarketsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentReportingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentReportingDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Information"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SellingAndMarketingExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SellingAndMarketingExpenseMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRecognizedStockbasedCompensationExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sales and marketing [Member]",
        "label": "Selling and Marketing Expense [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SeriesAConvertiblePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SeriesAConvertiblePreferredStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A Convertible Preferred Stock [Member]",
        "label": "Series A Convertible Preferred Stock [Member]",
        "terseLabel": "Series A Convertible Preferred Stock [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SeriesBConvertiblePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SeriesBConvertiblePreferredStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series B Convertible Preferred Stock [Member]",
        "label": "Series B Convertible Preferred Stock [Member]",
        "terseLabel": "Series B Convertible Preferred Stock [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SeriesCConvertiblePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SeriesCConvertiblePreferredStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series C Convertible Preferred Stock [Member]",
        "label": "Series C Convertible Preferred Stock [Member]",
        "terseLabel": "Series C Convertible Preferred Stock [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SeriesDConvertiblePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SeriesDConvertiblePreferredStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Series D [Member]",
        "documentation": "Series D convertible preferred stock.",
        "label": "Series D Convertible Preferred Stock [Member]",
        "terseLabel": "Series D Convertible Preferred Stock [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SeriesSeedConvertiblePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SeriesSeedConvertiblePreferredStockMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series Seed Convertible Preferred Stock [Member]",
        "label": "Series Seed Convertible Preferred Stock [Member]",
        "terseLabel": "Series Seed Convertible Preferred Stock [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServiceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ServiceMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureRevenueSummaryOfCompanySRevenueBasedOnNatureOfProductsAndServicesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Service [Member]",
        "label": "Service [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SettlementIntangibleAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SettlementIntangibleAsset",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Settlement Intangible Asset",
        "documentation": "Settlement Intangible Asset",
        "terseLabel": "Settlement intangible asset"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SettlementOfCertainIntercompanyBalances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SettlementOfCertainIntercompanyBalances",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Settlement of certain intercompany balances",
        "documentation": "Settlement Of Certain Intercompany Balances",
        "label": "Settlement Of Certain Intercompany Balances"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SettlementOfLiabilityAcquiredAsPartOfAcquisitions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SettlementOfLiabilityAcquiredAsPartOfAcquisitions",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Settlement of liability acquired as part of acquisitions",
        "label": "Settlement of liability acquired as part of acquisitions",
        "terseLabel": "Settlement of liability acquired as part of acquisitions"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SettlementPayableLongTerm": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SettlementPayableLongTerm",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Settlement Payable, Long Term",
        "documentation": "Settlement Payable, Long Term",
        "terseLabel": "Settlement payable, long-term"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedArrangementsToObtainGoodsAndServicesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Recognized Amount [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedLabel": "Number of Shares, Forfeited"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted- Average Grant Date Fair Value, Forfeited"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Number of Shares, Granted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": "Weighted- Average Grant Date Fair Value, Granted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Number of Shares, Unvested at December 31, 2024",
        "periodStartLabel": "Number of Shares, Outstanding at December 31, 2023"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted- Average Grant Date Fair Value, Unvested at December 31, 2024",
        "periodStartLabel": "Weighted- Average Grant Date Fair Value, Outstanding at December 31, 2023"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Stock vested under compensation plan, shares",
        "negatedLabel": "Number of Shares, Vested",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "terseLabel": "Stock vested under compensation plan (In Share)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted- Average Grant Date Fair Value, Vested"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions and Methodology [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Exercise price",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Exercise Price"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAssumptionsUsedInValuationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Dividend rate",
        "terseLabel": "Expected dividend yield",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAssumptionsUsedInValuationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Volatility",
        "terseLabel": "Expected volatility",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAssumptionsUsedInValuationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Risk-free interest rate",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share-based compensation, number of shares available for grant",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionGrantsInPeriodFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionGrantsInPeriodFairValue",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Option Grants In Period Fair Value",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Option Grants In Period Fair Value",
        "terseLabel": "Share-based payment award, Fair value of option granted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Additional Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfAdditionalInformationRegardingExerciseOfStockOptionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Options Additional Disclosures",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Additional Disclosures [Line Items]",
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award Options Additional Disclosures [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfAdditionalInformationRegardingExerciseOfStockOptionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Options Additional Disclosures Table",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Additional Disclosures [Table]",
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award Options Additional Disclosures [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of Options, Options exercisable",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price, Options exercisable"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfAdditionalInformationRegardingExerciseOfStockOptionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value",
        "terseLabel": "Intrinsic value of options exercised"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Granted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfAdditionalInformationRegardingExerciseOfStockOptionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value",
        "terseLabel": "Share-based payment award, Aggregate intrinsic value of option outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Weighted-Average Exercise Price, Outstanding",
        "periodStartLabel": "Weighted-Average Exercise Price, Outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Exercisable [Table Text Block]",
        "terseLabel": "Summary of Additional information Regarding Exercise of Stock Options"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number",
        "terseLabel": "Share-based payment award, Vested and expected to vest shares outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ShareBasedCompensationArrangementOptionsGrantsToPurchaseShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ShareBasedCompensationArrangementOptionsGrantsToPurchaseShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement options grants to purchase shares.",
        "label": "Share Based Compensation Arrangement Options Grants To Purchase Shares",
        "terseLabel": "Share-based payment award, options grants to purchase shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockbasedCompensationBasedOnAwardsGrantedDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Award Types",
        "terseLabel": "All Award Types"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Exercised",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
        "terseLabel": "Forfeited"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Granted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stock-Based Compensation",
        "label": "Share-Based Payment Arrangement [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharePrice",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAssumptionsUsedInValuationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Current stock price",
        "label": "Share Price",
        "terseLabel": "Average closing price per share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Rights, Percentage",
        "terseLabel": "Vesting Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Vested",
        "terseLabel": "Stock vested under compensation plan",
        "negatedLabel": "Stock vested under compensation plan"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAssumptionsUsedInValuationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Expected term (years)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Expected option term (in years)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted-Average Remaining Contractual Life, exercisable"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Number of Options, Outstanding",
        "periodStartLabel": "Number of Options, Outstanding",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested, Number of Shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested Options Forfeited, Number of Shares",
        "negatedLabel": "Forfeited"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted-Average Remaining Contractual Life, Outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SharesAvailableForIssuanceAsEarnoutRsuMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SharesAvailableForIssuanceAsEarnoutRsuMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares available for issuance as Earnout RSU [Member]",
        "documentation": "Shares available for issuance as Earnout RSU Member",
        "label": "Shares available for issuance as Earnout RSU [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SharesAvailableForIssuanceUnderThe2021PlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SharesAvailableForIssuanceUnderThe2021PlanMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquitySummaryOfCommonStockReservedForFutureIssuanceDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares available for issuance under the 2021 plan [Member]",
        "documentation": "Shares available for issuance under the 2021 plan.",
        "label": "Shares Available for Issuance Under the 2021 Plan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharesIssuedPricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharesIssuedPricePerShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares issued, price per share",
        "label": "Shares Issued, Price Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharesSubjectToMandatoryRedemptionSettlementTermsAmount",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Financial Instruments Subject to Mandatory Redemption, Settlement Terms, Share Value, Amount, Total",
        "label": "Financial Instruments Subject to Mandatory Redemption, Settlement Terms, Share Value, Amount",
        "terseLabel": "Financial Instruments Subject to Mandatory Redemption, Settlement Terms, Share Value, Amount"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SharesSurrenderedUnderReverseRecapitalization": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SharesSurrenderedUnderReverseRecapitalization",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares surrendered under reverse recapitalization",
        "documentation": "Shares Surrendered Under Reverse Recapitalization",
        "label": "Shares Surrendered Under Reverse Recapitalization"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ShippingAndHandlingCostInCostOfRevenuePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ShippingAndHandlingCostInCostOfRevenuePolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shipping and handling cost, in cost of revenue.",
        "label": "Shipping And Handling Cost In Cost Of Revenue Policy [Text Block]",
        "terseLabel": "Shipping and Handling Costs"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShortTermInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ShortTermInvestmentsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Investments [Member]",
        "terseLabel": "Short-Term Investments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SiliconValleyBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SiliconValleyBankMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Silicon Valley Bank Member",
        "label": "Silicon Valley Bank [Member]",
        "terseLabel": "SVB [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SoftwareDevelopmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SoftwareDevelopmentMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetSummaryOfPropertyAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Software Development [Member]",
        "terseLabel": "Computer Software [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SponsorEarnoutSharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SponsorEarnoutSharesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sponsor Earnout Shares Member",
        "label": "Sponsor Earnout Shares [Member]",
        "terseLabel": "Sponsor Earnout Shares [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SponsorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SponsorMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sponsor.",
        "label": "Sponsor [Member]",
        "terseLabel": "Sponsor [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StateAndLocalJurisdictionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StateAndLocalJurisdictionMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "State and Local Jurisdiction [Member]",
        "terseLabel": "State [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerParentheticalDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Components",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_StatementGeographicalAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "StatementGeographicalAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSegmentInformationSummaryOfDisaggregatedRevenueDataForThoseMarketsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_StkPrcOrTsrEstimationMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "StkPrcOrTsrEstimationMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Price or TSR Estimation Method [Text Block]",
        "terseLabel": "Stock Price or TSR Estimation Method"
       }
      }
     },
     "auth_ref": [
      "r22",
      "r33",
      "r43",
      "r76"
     ]
    },
    "us-gaap_StockAppreciationRightsSARSMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockAppreciationRightsSARSMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Appreciation Rights (SARs) [Member]",
        "terseLabel": "Stock Appreciation Rights (SARs)"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_StockCompensation": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "StockCompensation",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails": {
       "parentTag": "mkfg_TotalEarnoutShares",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock compensation",
        "label": "Stock compensation",
        "terseLabel": "Stock compensation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockCompensationPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockCompensationPlanMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Unvested or unexercised option awards",
        "label": "Share-Based Payment Arrangement [Member]",
        "terseLabel": "Unvested awards"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Stock issued during period, shares, acquisitions",
        "label": "Stock Issued During Period, Shares, Acquisitions",
        "terseLabel": "Issuance of Common Stock in connection with the reverse split, Shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodSharesReverseStockSplits": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockIssuedDuringPeriodSharesReverseStockSplits",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reverse stock split",
        "label": "Stock Issued During Period, Shares, Reverse Stock Splits"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period",
        "terseLabel": "Exercise of common stock options, Shares",
        "negatedLabel": "Exercised"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_StockOptionAndIncentivePlanDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "StockOptionAndIncentivePlanDescription",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stock option and incentive plan description",
        "documentation": "Stock Option and Incentive Plan Description",
        "label": "Stock Option and Incentive Plan Description"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockOptionMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockbasedCompensationBasedOnAwardsGrantedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Option [Member]",
        "terseLabel": "Restricted Stock Units And Options"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_StockOptionsAndRestrictedStockUnitsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "StockOptionsAndRestrictedStockUnitsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock Options and Restricted Stock Units.",
        "label": "Stock Options and Restricted Stock Units [Member]",
        "terseLabel": "Stock Options and Restricted Stock Units [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_StockOptionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "StockOptionsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock Options.",
        "label": "Stock Options [Member]",
        "terseLabel": "Stock Options [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockRepurchasedDuringPeriodShares",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Repurchased During Period, Shares",
        "terseLabel": "Stock repurchased during period shares",
        "negatedLabel": "Repurchase of common stock upon reverse recapitalization, Shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquityNoteAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquity1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common Stock and Stockholders' Equity (Deficit)",
        "label": "Equity [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SubscriptionAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SubscriptionAgreementsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subscription Agreements.",
        "label": "Subscription Agreements [Member]",
        "terseLabel": "Subscription Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsidiary or Equity Method Investee, Sale of Stock, Type [Table]",
        "terseLabel": "Subsidiary Or Equity Method Investee Sale Of Stock By Subsidiary Or Equity Investee [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsidiarySaleOfStockAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationScheduleOfCommonStockIssuedFollowingConsummationOfMergerDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsTables",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of Stock [Axis]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsidiarySaleOfStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsidiarySaleOfStockLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsidiary, Sale of Stock [Line Items]",
        "terseLabel": "Subsidiary Sale Of Stock [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SummaryOfAmortizationExpenseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SummaryOfAmortizationExpenseTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of amortization expense [ Table Text Block]",
        "label": "Summary of amortization expense [ Table Text Block]",
        "terseLabel": "Summary of amortization expense for amortizable assets"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SummaryOfPropertyAndEquipmentDepreciatedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SummaryOfPropertyAndEquipmentDepreciatedTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of property and equipment depreciated.",
        "label": "Summary Of Property And Equipment Depreciated Table [Text Block]",
        "terseLabel": "Summary of Property and Equipment Depreciated"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SummaryOfSignificantAccountingPoliciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SummaryOfSignificantAccountingPoliciesLineItems",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Significant Accounting Policies [Line Items]",
        "documentation": "Summary of significant accounting policies.",
        "label": "Summary Of Significant Accounting Policies [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SummaryOfSignificantAccountingPoliciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SummaryOfSignificantAccountingPoliciesTable",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Significant Accounting Policies [Table]",
        "documentation": "Summary of significant accounting policies table.",
        "label": "Summary Of Significant Accounting Policies [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SummaryOfStockBasedCompensationBasedOnAwardsGrantedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SummaryOfStockBasedCompensationBasedOnAwardsGrantedTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary Of Stock-based Compensation Based On Awards Granted [Table Text Block]",
        "documentation": "Summary Of Stock-based Compensation Based On Awards Granted [Table Text Block]",
        "terseLabel": "Summary Of Stock-based Compensation Based On Awards Granted"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SummaryOfTheNumberOfEarnoutSharesAllocatedToEachUnitOfAccountTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SummaryOfTheNumberOfEarnoutSharesAllocatedToEachUnitOfAccountTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Number of Earnout Shares Allocated to Unit of Account",
        "documentation": "Summary Of The Number Of Earnout Shares Allocated To Each Unit Of Account [Table Text Block]",
        "label": "Summary Of The Number Of Earnout Shares Allocated To Each Unit Of Account [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SupplementalCashFlowInformationAbstract",
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Supplemental disclosure of cash flow information",
        "label": "Supplemental Cash Flow Information [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SupplementalCashFlowInformationRelatedToOperatingLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SupplementalCashFlowInformationRelatedToOperatingLeasesTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Supplemental cash flow information related to operating leases.",
        "label": "Supplemental Cash Flow Information Related To Operating Leases Table [Text Block]",
        "terseLabel": "Supplemental Cash Flow Information Related to Operating Leases"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_SwedishForeignNetOperatingLossCarryforwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "SwedishForeignNetOperatingLossCarryforwards",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Swedish foreign net operating loss carryforwards",
        "label": "Swedish foreign net operating loss carryforwards",
        "terseLabel": "Swedish foreign net operating loss carryforwards"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TabularListTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TabularListTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tabular List [Table Text Block]",
        "terseLabel": "Tabular List, Table"
       }
      }
     },
     "auth_ref": [
      "r69"
     ]
    },
    "us-gaap_TaxCreditCarryforwardAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TaxCreditCarryforwardAmount",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Credit Carryforward, Amount",
        "terseLabel": "Tax credit carryforward, amount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TaxCreditCarryforwardAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TaxCreditCarryforwardAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Credit Carryforward [Axis]",
        "terseLabel": "Tax Credit Carryforward"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TaxCreditCarryforwardExpirationYear": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TaxCreditCarryforwardExpirationYear",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Credit Carryforward Expiration Year",
        "documentation": "Tax Credit Carryforward Expiration Year"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TaxCreditCarryforwardNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TaxCreditCarryforwardNameDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Credit Carryforward, Name [Domain]",
        "terseLabel": "Tax Credit Carryforward, Name"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TechnologyBasedIntangibleAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TechnologyBasedIntangibleAssetsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Technology-Based Intangible Assets [Member]",
        "terseLabel": "Acquired Technology"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Equity, Carrying Amount, Attributable to Parent",
        "terseLabel": "Net Carrying Value"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TemporaryEquityIssuancePricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TemporaryEquityIssuancePricePerShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity issuance price per share.",
        "label": "Temporary Equity Issuance Price Per Share",
        "terseLabel": "Issuance Price Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityLiquidationPreference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityLiquidationPreference",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Equity, Liquidation Preference",
        "terseLabel": "Liquidation Preference"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityLiquidationPreferencePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityLiquidationPreferencePerShare",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Equity, Liquidation Preference Per Share",
        "terseLabel": "Original issue price"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquitySharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquitySharesAuthorized",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Equity, Shares Authorized",
        "terseLabel": "Shares Authorized"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TemporaryEquitySharesIssuedAndOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TemporaryEquitySharesIssuedAndOutstanding",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitSummaryOfConvertiblePreferredStockAuthorizedIssuedAndOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity shares issued and outstanding.",
        "label": "Temporary Equity Shares Issued And Outstanding",
        "terseLabel": "Shares Issued and Outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityTableTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureCommonStockAndStockholdersEquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Equity [Table Text Block]",
        "terseLabel": "Summary of Convertible Preferred Stock Authorized, Issued and Outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TemporaryEquityVotingRightPercentage": {
     "xbrltype": "pureItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TemporaryEquityVotingRightPercentage",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureConvertiblePreferredStockCommonStockAndStockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity voting right percentage",
        "label": "Temporary Equity Voting Right Percentage",
        "terseLabel": "Temporary equity voting right percentage"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TetonAcquisitionContingentEarnoutLiabilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TetonAcquisitionContingentEarnoutLiabilityMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Teton Acquisition Contingent Earnout Liability [Member]",
        "label": "Teton Acquisition Contingent Earnout Liability [Member]",
        "terseLabel": "Teton Acquisition Contingent Earnout Liability [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TetonSimulationSoftwareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TetonSimulationSoftwareMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfAcquisitionsDataFairValueOfCosiderationTransferredDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Teton Simulation Software [Member]",
        "label": "Teton Simulation Software [Member]",
        "terseLabel": "Teton Simulation Software"
       }
      }
     },
     "auth_ref": []
    },
    "srt_TitleOfIndividualAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "TitleOfIndividualAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityParentheticalDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title and Position [Axis]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "auth_ref": []
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfRestrictedStockUnitsActivityParentheticalDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title and Position [Domain]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TotalEarnoutShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TotalEarnoutShares",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total Earnout Shares, Total",
        "documentation": "Total Earnout Shares",
        "label": "Total Earnout Shares",
        "terseLabel": "Total Earnout Shares"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TotalOtherLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TotalOtherLiabilitiesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesInFairValueOfDerivativeWarrantLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total [Member]",
        "documentation": "Total other liabilities member",
        "label": "Total Other Liabilities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Amount",
        "terseLabel": "Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "ecd_TotalShareholderRtnVsPeerGroupTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TotalShareholderRtnVsPeerGroupTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Vs Peer Group [Text Block]",
        "terseLabel": "Total Shareholder Return Vs Peer Group"
       }
      }
     },
     "auth_ref": [
      "r68"
     ]
    },
    "us-gaap_TradeNamesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TradeNamesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureAcquisitionsScheduleOfFinitelivedIntangibleAssetsDetails",
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillAndIntangibleAssetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trade Names",
        "label": "Trade Names [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TradingArrAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TradingArrAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement [Axis]",
        "terseLabel": "Trading Arrangement:"
       }
      }
     },
     "auth_ref": [
      "r89"
     ]
    },
    "ecd_TradingArrByIndTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TradingArrByIndTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangements, by Individual [Table]",
        "terseLabel": "Trading Arrangements, by Individual"
       }
      }
     },
     "auth_ref": [
      "r91"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "TradingSymbol",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TransactionCosts": {
     "xbrltype": "percentItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TransactionCosts",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails": {
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfOverallEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transaction costs",
        "label": "Transaction costs",
        "documentation": "EffectiveIncomeTaxRateReconciliationTransaction costs"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TrdArrAdoptionDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TrdArrAdoptionDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Adoption Date",
        "terseLabel": "Adoption Date"
       }
      }
     },
     "auth_ref": [
      "r92"
     ]
    },
    "ecd_TrdArrDuration": {
     "xbrltype": "durationItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TrdArrDuration",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Duration",
        "terseLabel": "Arrangement Duration"
       }
      }
     },
     "auth_ref": [
      "r93"
     ]
    },
    "ecd_TrdArrExpirationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TrdArrExpirationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Expiration Date",
        "terseLabel": "Expiration Date"
       }
      }
     },
     "auth_ref": [
      "r93"
     ]
    },
    "ecd_TrdArrIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TrdArrIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r91"
     ]
    },
    "ecd_TrdArrIndTitle": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TrdArrIndTitle",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Title",
        "terseLabel": "Title"
       }
      }
     },
     "auth_ref": [
      "r91"
     ]
    },
    "ecd_TrdArrSecuritiesAggAvailAmt": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TrdArrSecuritiesAggAvailAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Securities Aggregate Available Amount",
        "terseLabel": "Aggregate Available"
       }
      }
     },
     "auth_ref": [
      "r94"
     ]
    },
    "ecd_TrdArrTerminationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "TrdArrTerminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Termination Date",
        "terseLabel": "Termination Date"
       }
      }
     },
     "auth_ref": [
      "r92"
     ]
    },
    "mkfg_TriggeringEventIEarnoutShareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TriggeringEventIEarnoutShareMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Triggering Event I Earnout Share [Member]",
        "documentation": "Triggering Event I Earnout Share [Member]",
        "label": "Triggering Event I Earnout Share [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TriggeringEventIIEarnoutShareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TriggeringEventIIEarnoutShareMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutSummaryOfNumberOfEarnoutSharesAllocatedToEachUnitOfAccountDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Triggering Event I I Earnout Share [Member]",
        "documentation": "Triggering event II earnout share.",
        "label": "Triggering Event I I Earnout Share [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TriggeringEventIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TriggeringEventIMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Triggering Event I [Member]",
        "documentation": "Triggering event I.",
        "label": "Triggering Event I [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TriggeringEventIiMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TriggeringEventIiMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureEarnoutAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Triggering Event II [Member]",
        "documentation": "Triggering event II.",
        "label": "Triggering Event II [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TwoThousandAndThirteenStockPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TwoThousandAndThirteenStockPlanMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsScheduleOfSharebasedPaymentAwardStockOptionsValuationAssumptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfAdditionalInformationRegardingExerciseOfStockOptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two Thousand And Thirteen Stock Plan Member",
        "label": "Two Thousand And Thirteen Stock Plan [Member]",
        "terseLabel": "2013 Stock Plan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TwoThousandAndTwentyOneEmployeeStockPurchasePlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TwoThousandAndTwentyOneEmployeeStockPurchasePlanMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2021 ESPP",
        "documentation": "Two Thousand And Twenty One Employee Stock Purchase Plan Member",
        "label": "Two Thousand And Twenty One Employee Stock Purchase Plan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TwoThousandAndTwentyOneStockOptionPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TwoThousandAndTwentyOneStockOptionPlanMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2021 Stock Option Plan [Member]",
        "documentation": "Two Thousand And Twenty One Stock Option Plan Member",
        "label": "Two Thousand And Twenty One Stock Option Plan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_TwoThousandAndTwentyOneStockPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "TwoThousandAndTwentyOneStockPlanMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfAdditionalInformationRegardingExerciseOfStockOptionsDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureEquityBasedAwardsSummaryOfStockOptionActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two Thousand And Twenty One Stock Plan [Member]",
        "label": "Two Thousand And Twenty One Stock Plan [Member]",
        "terseLabel": "2021 Stock Plan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TypeOfArrangementAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TypeOfArrangementAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureMergerAndReverseRecapitalizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative"
       }
      }
     },
     "auth_ref": []
    },
    "country_US": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2024",
     "localname": "US",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "United States",
        "label": "UNITED STATES"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_USTreasuryBills": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "USTreasuryBills",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfFairValueHierarchyOfTheValuationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "U.S. Treasury bills",
        "label": "U.S. Treasury bills"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_USTreasurySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "USTreasurySecuritiesMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCashEquivalentsAndShorttermInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "US Treasury Securities [Member]",
        "terseLabel": "U.S. Treasury Bills [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_UndrlygSecurityMktPriceChngPct": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "UndrlygSecurityMktPriceChngPct",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underlying Security Market Price Change, Percent",
        "terseLabel": "Underlying Security Market Price Change"
       }
      }
     },
     "auth_ref": [
      "r88"
     ]
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "UnrecognizedTaxBenefits",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfDeferredIncomeTaxAssetValuationAllowanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrecognized Tax Benefits",
        "periodEndLabel": "Balance at end of year",
        "periodStartLabel": "Balance at beginning of year"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfDeferredIncomeTaxAssetValuationAllowanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions",
        "terseLabel": "Additions charged to expense"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UseOfEstimates": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "UseOfEstimates",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UsefulLifeTermOfLeaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "UsefulLifeTermOfLeaseMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEstimatedFutureLifeOfPropertyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Useful Life, Lease Term [Member]",
        "label": "Useful Life, Lease Term [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UtilitiesOperatingExpenseDepreciationAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "UtilitiesOperatingExpenseDepreciationAndAmortization",
     "crdr": "debit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfAmortizationExpenseToTheCostOfRevenueAndOperatingExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization expense",
        "label": "Utilities Operating Expense, Depreciation and Amortization"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ValuationAllowanceDeferredTaxAssetChangeInAmount",
     "crdr": "credit",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount",
        "terseLabel": "Valuation allowance"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ValuationTechniquesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ValuationTechniquesAxis",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation Techniques [Axis]",
        "label": "Valuation Techniques [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_ValuationTechniquesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "ValuationTechniquesDomain",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation Techniques [Domain]",
        "label": "Valuation Techniques [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year [Member]",
        "terseLabel": "Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "mkfg_WalthamMassachusettsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "WalthamMassachusettsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Waltham Massachusetts",
        "label": "Waltham Massachusetts [Member]",
        "terseLabel": "Waltham Massachusetts [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WarrantMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WarrantMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfDilutiveSecuritiesAreExcludedFromTheDenominatorDetail",
      "http://markforged.com/20241231/taxonomy/role/DisclosureStockWarrantsScheduleOfPrivatePlacementWarrantsValuedUnderBinomialLatticeModelDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrantsSummaryOfBlackScholesModelUsingFollowingInputsDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://markforged.com/20241231/taxonomy/role/Role_DocumentCoverPage"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Warrant [Member]",
        "terseLabel": "Warrants",
        "label": "Warrant [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WarrantsAndRightsNoteDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WarrantsAndRightsNoteDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants and Rights Note Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_WarrantsAndRightsNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "WarrantsAndRightsNoteDisclosureTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureStockWarrants"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants And Rights Note Disclosure Text Block",
        "label": "Warrants And Rights Note Disclosure [Text Block]",
        "terseLabel": "Stock Warrants"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_WarrantyReservesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "WarrantyReservesPolicyTextBlock",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for warranty reserves.",
        "label": "Warranty Reserves [Policy Text Block]",
        "terseLabel": "Warranty Reserves"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_WatertownMassachusettsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "WatertownMassachusettsMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Watertown, Massachusetts [Member]",
        "label": "Watertown, Massachusetts [Member]",
        "terseLabel": "Watertown, Massachusetts [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_WeightedAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "WeightedAverageMember",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Weighted average shares outstanding - Diluted",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Weighted average shares outstanding - diluted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Denominator:",
        "label": "Weighted Average Number of Shares Outstanding, Diluted [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average shares outstanding - basic"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_WeightedAverageNumberOfUnvestedOptionsSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "WeightedAverageNumberOfUnvestedOptionsSharesOutstanding",
     "calculation": {
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/DisclosureNetLossProfitPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted Average Number Of Unvested Options Shares Outstanding",
        "label": "Weighted Average Number Of Unvested Options Shares Outstanding",
        "terseLabel": "Add: Weighted average unvested options outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "mkfg_WorkforceReductionPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://markforged.com/20241231",
     "localname": "WorkforceReductionPercentage",
     "presentation": [
      "http://markforged.com/20241231/taxonomy/role/Role_DisclosureOrganizationNatureOfBusinessAndRisksAndUncertaintiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Workforce Reduction Percentage",
        "documentation": "Workforce Reduction Percentage",
        "terseLabel": "Workforce Reduction Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested [Member]",
        "terseLabel": "Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested"
       }
      }
     },
     "auth_ref": [
      "r55"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-23"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-K",
   "Number": "249",
   "Section": "310"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Number": "249",
   "Section": "220",
   "Subsection": "f"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16",
   "Subsection": "J",
   "Paragraph": "a"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "2"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "1"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "2"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "2"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Number": "249",
   "Section": "240",
   "Subsection": "f"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "b"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "b"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "1"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Subclause": "ii"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "i"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "ii"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "iii"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "iv"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "v"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "vi"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "vi"
  },
  "r63": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "3"
  },
  "r64": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "4"
  },
  "r65": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "i"
  },
  "r66": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "ii"
  },
  "r67": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iii"
  },
  "r68": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iv"
  },
  "r69": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6"
  },
  "r70": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6",
   "Subparagraph": "i"
  },
  "r71": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w"
  },
  "r72": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1"
  },
  "r73": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r74": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r75": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r76": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r77": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r78": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r79": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r80": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r81": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "2"
  },
  "r82": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "1"
  },
  "r83": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2"
  },
  "r84": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "A"
  },
  "r85": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "C"
  },
  "r86": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "D"
  },
  "r87": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "E"
  },
  "r88": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "F"
  },
  "r89": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a"
  },
  "r90": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r91": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "A"
  },
  "r92": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "B"
  },
  "r93": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "C"
  },
  "r94": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "D"
  },
  "r95": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r96": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106"
  },
  "r97": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r98": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r99": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r100": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r101": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "2"
  },
  "r102": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "1"
  },
  "r103": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "2"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Number": "229",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "A",
   "Number": "229"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Number": "229"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Subclause": "i",
   "Number": "229"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-X",
   "Number": "210",
   "Section": "2",
   "Subsection": "2"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "405"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "7A",
   "Section": "B",
   "Subsection": "2"
  }
 }
}
