{
 "instance": {
  "gls-20220630.htm": {
   "axisCustom": 0,
   "axisStandard": 31,
   "contextCount": 342,
   "dts": {
    "calculationLink": {
     "local": [
      "gls-20220630_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "gls-20220630_def.xml"
     ]
    },
    "inline": {
     "local": [
      "gls-20220630.htm"
     ]
    },
    "labelLink": {
     "local": [
      "gls-20220630_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "gls-20220630_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "gls-20220630.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd"
     ]
    }
   },
   "elementCount": 722,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 5,
    "http://ir.gelesis.com/20220630": 1,
    "http://xbrl.sec.gov/dei/2021q4": 4,
    "total": 10
   },
   "keyCustom": 146,
   "keyStandard": 312,
   "memberCustom": 64,
   "memberStandard": 33,
   "nsprefix": "gls",
   "nsuri": "http://ir.gelesis.com/20220630",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document and Entity Information",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100110 - Disclosure - Nature of the Business and Basis of Presentation",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentation",
     "shortName": "Nature of the Business and Basis of Presentation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Summary of Significant Accounting Policies",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Business Combination and Reverse Recapitalization",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalization1",
     "shortName": "Business Combination and Reverse Recapitalization",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Fair Value Measurements",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurements",
     "shortName": "Fair Value Measurements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AllowanceForCreditLossesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Product Revenue and Reserve and Allowances",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowances1",
     "shortName": "Product Revenue and Reserve and Allowances",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AllowanceForCreditLossesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Inventories",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventories",
     "shortName": "Inventories",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Prepaid Expenses and Other Current Assets",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePrepaidExpensesAndOtherCurrentAssets",
     "shortName": "Prepaid Expenses and Other Current Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Property and Equipment, Net",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNet",
     "shortName": "Property and Equipment, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Accrued Expenses",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpenses",
     "shortName": "Accrued Expenses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:OtherLongTermLiabilityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Other Long-Term Liabilities",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilities",
     "shortName": "Other Long-Term Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:OtherLongTermLiabilityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets",
     "shortName": "CONDENSED CONSOLIDATED BALANCE SHEETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:SignificantAgreementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Significant Agreements",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreements",
     "shortName": "Significant Agreements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:SignificantAgreementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Debt",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:WarrantsDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Warrants",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrants",
     "shortName": "Warrants",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:WarrantsDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativesAndFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Earnout Liability",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiability1",
     "shortName": "Earnout Liability",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativesAndFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Stockholder's Equity (Deficit)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficit1",
     "shortName": "Stockholder's Equity (Deficit)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Stock-Based Compensation",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensation",
     "shortName": "Stock-Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Income Taxes",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Earnings (Loss) Per Share",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShare",
     "shortName": "Earnings (Loss) Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Commitment and Contingencies",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingencies",
     "shortName": "Commitment and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Related Party Transactions",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactions",
     "shortName": "Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrent",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
     "shortName": "CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "lang": null,
      "name": "gls:AccruedExpensesAndOtherLiabilitiesRelatedPartiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Subsequent Events",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEvents1",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Summary of Significant Accounting Policies (Policies)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Business Combination and Reverse Recapitalization (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationTables",
     "shortName": "Business Combination and Reverse Recapitalization (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Fair Value Measurements (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables",
     "shortName": "Fair Value Measurements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:AllowanceForCreditLossesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Product Revenue and Reserve and Allowances (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesTables",
     "shortName": "Product Revenue and Reserve and Allowances (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:AllowanceForCreditLossesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Inventories (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesTables",
     "shortName": "Inventories (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "gls:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Prepaid Expenses and Other Current Assets (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePrepaidExpensesAndOtherCurrentAssetsTables",
     "shortName": "Prepaid Expenses and Other Current Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "gls:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Property and Equipment, Net (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetTables",
     "shortName": "Property and Equipment, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "gls:AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Accrued Expenses (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesTables",
     "shortName": "Accrued Expenses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "gls:AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "gls:OtherLongTermLiabilityDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherNoncurrentLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Other Long-Term Liabilities (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesTables",
     "shortName": "Other Long-Term Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "gls:OtherLongTermLiabilityDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherNoncurrentLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CostOfGoodsAndServicesSold",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Significant Agreements (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsTables",
     "shortName": "Significant Agreements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Debt (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:SummaryOfChangesInWarrantLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Warrants (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsTables",
     "shortName": "Warrants (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:SummaryOfChangesInWarrantLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DerivativesAndFairValueTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Earnout Liability (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityTables",
     "shortName": "Earnout Liability (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DerivativesAndFairValueTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Stockholder's Equity (Deficit) (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitTables",
     "shortName": "Stockholder's Equity (Deficit) (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Stock-Based Compensation (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationTables",
     "shortName": "Stock-Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Earnings (Loss) Per Share (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareTables",
     "shortName": "Earnings (Loss) Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Commitment and Contingencies (Tables)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesTables",
     "shortName": "Commitment and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_61b70830-518c-4f5a-a17e-e33a77b1055f",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "gls:ProceedsFromBusinessCombinationFinancingAndSaleOfStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Nature of the Business and Basis of Presentation - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails",
     "shortName": "Nature of the Business and Basis of Presentation - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_61b70830-518c-4f5a-a17e-e33a77b1055f",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "gls:ProceedsFromBusinessCombinationFinancingAndSaleOfStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_e48f04f5-d319-4679-868a-02a87483c003",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Summary of Significant Accounting Policies-Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails",
     "shortName": "Summary of Significant Accounting Policies-Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (PARENTHETICAL)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperationsParenthetical",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (PARENTHETICAL)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_712e5826-8170-42b6-9dba-c5906350e012",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesIssued",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Business Combination and Reverse Recapitalization - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
     "shortName": "Business Combination and Reverse Recapitalization - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_87a4fd1d-df07-4b71-97a5-dbb833026247",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:BusinessCombinationContingentConsiderationLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_90c94c2b-6e44-43f2-af7b-2bb194069260",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:BusinessCombinationGrossProceeds",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Business Combination and Reverse Recapitalization - Summary of Net Proceeds from Business Combination (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails",
     "shortName": "Business Combination and Reverse Recapitalization - Summary of Net Proceeds from Business Combination (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_90c94c2b-6e44-43f2-af7b-2bb194069260",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:BusinessCombinationGrossProceeds",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommonStockSharesIssued",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesOutstanding",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Business Combination and Reverse Recapitalization - Schedule of Consummation of Business Combination (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
     "shortName": "Business Combination and Reverse Recapitalization - Schedule of Consummation of Business Combination (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfNumberOfSharesIssuedAndImmediatelyConsummationOfBusinessCombinationTableTextBlock",
       "div",
       "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9d347c1c-2d90-41b5-b414-935ff64fbbfe",
      "decimals": "0",
      "lang": null,
      "name": "gls:StockIssuedDuringPeriodSharesConverted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_79be4525-28cf-482d-98cd-540e79ad09a4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayableFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Fair Value Measurements - Schedule of Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
     "shortName": "Fair Value Measurements - Schedule of Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_79be4525-28cf-482d-98cd-540e79ad09a4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayableFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:SummaryOfChangesInWarrantLiabilitiesTableTextBlock",
       "div",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_712e5826-8170-42b6-9dba-c5906350e012",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Fair Value Measurements - Summary of Changes in Fair Value of Company's Level 3 Financial Instruments (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails",
     "shortName": "Fair Value Measurements - Summary of Changes in Fair Value of Company's Level 3 Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_23676aba-fee7-4422-a399-525f3b4fe9ea",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueLiabilitiesLevel1ToLevel2TransfersAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Fair Value Measurements - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails",
     "shortName": "Fair Value Measurements - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueLiabilitiesLevel1ToLevel2TransfersAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Product Revenue and Reserve and Allowances - Summary of Revenue (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails",
     "shortName": "Product Revenue and Reserve and Allowances - Summary of Revenue (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
       "div",
       "us-gaap:AllowanceForCreditLossesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_12e11620-cfb4-4184-bf81-a01878184db8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableNetCurrent",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Product Revenue and Reserve and Allowances - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
     "shortName": "Product Revenue and Reserve and Allowances - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:AllowanceForCreditLossesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_46c7ed88-af61-4899-8169-bf823e080b21",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:ContractWithCustomerRefundLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfActivityInProductRevenueReserveAndAllowanceTableTextBlock",
       "div",
       "us-gaap:AllowanceForCreditLossesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9581662e-e3d6-49b3-904a-b1e792008689",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:ProductRevenueReserveAndAllowances",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Product Revenue and Reserve and Allowances - Summary of Activity in Product Revenue Reserve and Allowance (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails",
     "shortName": "Product Revenue and Reserve and Allowances - Summary of Activity in Product Revenue Reserve and Allowance (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfActivityInProductRevenueReserveAndAllowanceTableTextBlock",
       "div",
       "us-gaap:AllowanceForCreditLossesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9581662e-e3d6-49b3-904a-b1e792008689",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:ProductRevenueReserveAndAllowances",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryRawMaterialsNetOfReserves",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Inventories - Schedule of Inventories (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails",
     "shortName": "Inventories - Schedule of Inventories (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryRawMaterialsNetOfReserves",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "gls:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PrepaidExpenseCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Prepaid Expenses and Other Current Assets - Schedule of Prepaid Expenses and Other Current Assets (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails",
     "shortName": "Prepaid Expenses and Other Current Assets - Schedule of Prepaid Expenses and Other Current Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "gls:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PrepaidExpenseCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Property and Equipment, Net - Schedule of Property and Equipment, Net (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails",
     "shortName": "Property and Equipment, Net - Schedule of Property and Equipment, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "gls:AreaOfFacilityUnderManufacturingAndResearchAndDevelopment",
      "reportCount": 1,
      "unitRef": "U_sqft",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Property and Equipment, Net - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
     "shortName": "Property and Equipment, Net - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesTableTextBlock",
       "div",
       "gls:AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeRelatedLiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Accrued Expenses - Summary of Accrued Expenses and Other Current Liabilities (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails",
     "shortName": "Accrued Expenses - Summary of Accrued Expenses and Other Current Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesTableTextBlock",
       "div",
       "gls:AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeRelatedLiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesTableTextBlock",
       "div",
       "gls:AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:AccruedProfessionalFeesRelatedPartyCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Accrued Expenses - Summary of Accrued Expenses and Other Current Liabilities (Parenthetical) (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesParentheticalDetails",
     "shortName": "Accrued Expenses - Summary of Accrued Expenses and Other Current Liabilities (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesTableTextBlock",
       "div",
       "gls:AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:AccruedProfessionalFeesRelatedPartyCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:OtherNoncurrentLiabilitiesTableTextBlock",
       "div",
       "gls:OtherLongTermLiabilityDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:LongTermTaxLiabilitiesNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Other Long-Term Liabilities (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails",
     "shortName": "Other Long-Term Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:OtherNoncurrentLiabilitiesTableTextBlock",
       "div",
       "gls:OtherLongTermLiabilityDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:LongTermTaxLiabilitiesNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_e48f04f5-d319-4679-868a-02a87483c003",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - Disclosure - Significant Agreements - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
     "shortName": "Significant Agreements - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_555e3661-8621-4e01-8824-ca0536d3ae5b",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentQuotedMarketValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
       "div",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_bd918da2-23d8-4a69-8533-37bfca61ecd8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:EquityMethodInvestmentIntangibleAssetAcquired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Significant Agreements - Schedule of Finite Lived Intangible Assets Amortization Expense (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails",
     "shortName": "Significant Agreements - Schedule of Finite Lived Intangible Assets Amortization Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
       "div",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_bd918da2-23d8-4a69-8533-37bfca61ecd8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:EquityMethodInvestmentIntangibleAssetAcquired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ChangeInFairValueOfCallOptionLiabilityTableTextBlock",
       "div",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_3c1d801a-3ad3-47f6-b367-b4b3225a36c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:CallOptionLiabilityBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - Disclosure - Significant Agreements - Summary of Changes in Fair Value of Call Option Liability (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails",
     "shortName": "Significant Agreements - Summary of Changes in Fair Value of Call Option Liability (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ChangeInFairValueOfCallOptionLiabilityTableTextBlock",
       "div",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_3c1d801a-3ad3-47f6-b367-b4b3225a36c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:CallOptionLiabilityBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:WeightedAverageAssumptionsUsedToDetermineFairValueCallOptionTableTextBlock",
       "div",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_5fb4b42a-e7a2-4cf1-ab51-a21c7174e41c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:WeightedAverageExpectedTermOfCallOptionLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Significant Agreements - Summary of Weighted Average Assumptions Used to Determine Fair Value of Call Option Liability (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails",
     "shortName": "Significant Agreements - Summary of Weighted Average Assumptions Used to Determine Fair Value of Call Option Liability (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:WeightedAverageAssumptionsUsedToDetermineFairValueCallOptionTableTextBlock",
       "div",
       "gls:SignificantAgreementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_5fb4b42a-e7a2-4cf1-ab51-a21c7174e41c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:WeightedAverageExpectedTermOfCallOptionLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_1f501dfd-7b77-48d9-81cd-40f3798eb2ae",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100080 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF NONCONTROLLING INTEREST, REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF NONCONTROLLING INTEREST, REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_e1ab4362-235a-470f-80c2-e91c59a525b3",
      "decimals": "-3",
      "lang": null,
      "name": "gls:AccretionOfSeniorPreferredStockToRedemptionValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_0c8940f9-e166-4f91-b011-004e26bafd2e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - Disclosure - Debt - Summary of Non-convertible Debt Outstanding (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails",
     "shortName": "Debt - Summary of Non-convertible Debt Outstanding (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_0c8940f9-e166-4f91-b011-004e26bafd2e",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_349ab227-c250-42ad-9d52-08c3fbd38044",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - Disclosure - Debt - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
     "shortName": "Debt - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_349ab227-c250-42ad-9d52-08c3fbd38044",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_0c8940f9-e166-4f91-b011-004e26bafd2e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - Disclosure - Debt - Summary of Future Maturities to Non-convertible Debt Outstanding (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails",
     "shortName": "Debt - Summary of Future Maturities to Non-convertible Debt Outstanding (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_0c8940f9-e166-4f91-b011-004e26bafd2e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:SummaryOfChangesInWarrantLiabilitiesTableTextBlock",
       "div",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_712e5826-8170-42b6-9dba-c5906350e012",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Warrants - Summary of Warrants Outstanding (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails",
     "shortName": "Warrants - Summary of Warrants Outstanding (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:SummaryOfChangesInWarrantLiabilitiesTableTextBlock",
       "div",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_7605631e-3dd4-4998-8db6-82f68cbca579",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisTextBlock",
       "div",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_ac3adf0e-bd43-4eeb-959e-ff5cedfb3250",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilityMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Y",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - Disclosure - Warrants - Summary of Weighted Average Assumptions of Fair Value of Liabilities (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails",
     "shortName": "Warrants - Summary of Weighted Average Assumptions of Fair Value of Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisTextBlock",
       "div",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_ac3adf0e-bd43-4eeb-959e-ff5cedfb3250",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilityMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Y",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_ce0dca0b-8152-423b-a3e5-f1083c8bb1d1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Warrant Liabilities (Additional Information) (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails",
     "shortName": "Warrant Liabilities (Additional Information) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "gls:WarrantsDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_ce0dca0b-8152-423b-a3e5-f1083c8bb1d1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "gls:BusinessCombinationAndReverseRecapitalizationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_90c94c2b-6e44-43f2-af7b-2bb194069260",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "gls:NumberOfEarnoutSharesContingentConsiderationArrangement",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Earnout Liability - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityAdditionalInformationDetails",
     "shortName": "Earnout Liability - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativesAndFairValueTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_481649f9-1976-482e-bd72-67c90795db8d",
      "decimals": "0",
      "lang": null,
      "name": "gls:NumberOfEarnoutSharesContingentConsiderationArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "div",
       "us-gaap:DerivativesAndFairValueTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:RecognizedUponBusinessCombinationContingentEarnoutLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Earnout Liability - Summary of Earnout Liability Activity (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails",
     "shortName": "Earnout Liability - Summary of Earnout Liability Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "div",
       "us-gaap:DerivativesAndFairValueTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gls:RecognizedUponBusinessCombinationContingentEarnoutLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityTableTextBlock",
       "div",
       "us-gaap:DerivativesAndFairValueTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_19817b72-1816-4e79-a06e-c7b9996207d2",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilityMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Y",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Earnout Liability - Summary of Weighted Average Assumptions Used to Determine Fair Value of Earnout Liability (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
     "shortName": "Earnout Liability - Summary of Weighted Average Assumptions Used to Determine Fair Value of Earnout Liability (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gls:ScheduleOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityTableTextBlock",
       "div",
       "us-gaap:DerivativesAndFairValueTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_19817b72-1816-4e79-a06e-c7b9996207d2",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilityMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Y",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Stockholder's Equity (Deficit) - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
     "shortName": "Stockholder's Equity (Deficit) - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_5ddcc45f-8e4d-49b0-b851-d88324ea0966",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100090 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "gls:CommonStockIssuedUponOptionExerciseAndRsusVesting",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100820 - Disclosure - Stockholder's Equity (Deficit) - Schedule of Common Stock Reserved for Future Issuance (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
     "shortName": "Stockholder's Equity (Deficit) - Schedule of Common Stock Reserved for Future Issuance (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "gls:CommonStockIssuedUponOptionExerciseAndRsusVesting",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Stock-Based Compensation - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
     "shortName": "Stock-Based Compensation - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_4dafb950-7717-4795-983f-79f033033cc7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails",
     "shortName": "Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_4dafb950-7717-4795-983f-79f033033cc7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_712e5826-8170-42b6-9dba-c5906350e012",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Stock-Based Compensation - Summary of Stock Option Activity (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails",
     "shortName": "Stock-Based Compensation - Summary of Stock Option Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Stock-Based Compensation - Schedule of Grant Date Fair Value of Options Issued Using Black-Scholes Weighted Average Assumptions (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfGrantDateFairValueOfOptionsIssuedUsingBlackScholesWeightedAverageAssumptionsDetails",
     "shortName": "Stock-Based Compensation - Schedule of Grant Date Fair Value of Options Issued Using Black-Scholes Weighted Average Assumptions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_241bb44b-2c52-431f-994a-443b393eacf5",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Stock-Based Compensation - Summary of Restricted Stock Unit Activity (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails",
     "shortName": "Stock-Based Compensation - Summary of Restricted Stock Unit Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_241bb44b-2c52-431f-994a-443b393eacf5",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Income Taxes - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
     "shortName": "Income Taxes - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Earnings (Loss) Per Share - Summary of Basic and Diluted Net Loss Per Share (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails",
     "shortName": "Earnings (Loss) Per Share - Summary of Basic and Diluted Net Loss Per Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Earnings (Loss) Per Share - Schedule of Anti-dilutive Securities Excluded from Computation of Net Loss Per Share (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails",
     "shortName": "Earnings (Loss) Per Share - Schedule of Anti-dilutive Securities Excluded from Computation of Net Loss Per Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "gls:PotentialDilutiveCommonShareEquivalentsRelatedToEarnoutLiablity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Earnings (Loss) per Share (Additional Information) (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarningsLossPerShareAdditionalInformationDetails",
     "shortName": "Earnings (Loss) per Share (Additional Information) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9e207edc-fbd6-4031-bc5f-fc767b72a9c7",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "gls:PotentialDilutiveCommonShareEquivalentsRelatedToEarnoutLiablity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsOfDebtIssuanceCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100100 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (PARENTHETICAL)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlowsParenthetical",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (PARENTHETICAL)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_51fe1d04-3fd3-41cf-8769-4e56083e2a4c",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsOfDebtIssuanceCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_77583bad-4526-49f2-839e-ac5b6a72c2c3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:OperatingLeaseCommencementYearAndMonth",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Commitment and Contingencies - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
     "shortName": "Commitment and Contingencies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_77583bad-4526-49f2-839e-ac5b6a72c2c3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gls:OperatingLeaseCommencementYearAndMonth",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Commitment and Contingencies - Schedule of Future Maturities of the Lease Liability Under the Company's Noncancelable Operating Leases (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails",
     "shortName": "Commitment and Contingencies - Schedule of Future Maturities of the Lease Liability Under the Company's Noncancelable Operating Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrent",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Related Party Transactions - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
     "shortName": "Related Party Transactions - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_9f74d771-1abe-4c4e-b79b-f2b66a965d0d",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_2fb467f5-9aac-4d5a-a19e-13ac1e608df6",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Related Party Transactions - Additional Information - One S.r.l (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
     "shortName": "Related Party Transactions - Additional Information - One S.r.l (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_2fb467f5-9aac-4d5a-a19e-13ac1e608df6",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_992e8346-d371-48c9-bed3-1291073ee5b1",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "gls:AnnualInterestRateInConnectionWithTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Related Party Transactions - Additional Information - RIF (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
     "shortName": "Related Party Transactions - Additional Information - RIF (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_992e8346-d371-48c9-bed3-1291073ee5b1",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "gls:AnnualInterestRateInConnectionWithTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_6f02b826-de01-4a45-9f7a-88b852598c44",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Subsequent Events - Additional Information (Details)",
     "role": "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
     "shortName": "Subsequent Events - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gls-20220630.htm",
      "contextRef": "C_e39abbc8-52bd-4de7-afe9-65f7e707fc8c",
      "decimals": "-5",
      "lang": null,
      "name": "gls:DeferredPaymentOfRemainingPurchasePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_EUR",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 102,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Document Information [Line Items]",
        "terseLabel": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]",
        "terseLabel": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r632"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "verboseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address Address Line1",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address Address Line2",
        "terseLabel": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address City Or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address State Or Province",
        "terseLabel": "Entity Address State Or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r641"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period",
        "terseLabel": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation State Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Security12b Title",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "gls_AccountsReceivableFromGrants": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of grants receivable.",
        "label": "Accounts Receivable From Grants",
        "terseLabel": "Grants receivable"
       }
      }
     },
     "localname": "AccountsReceivableFromGrants",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccretionOfNonControllingInterestDueToAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non controlling interest increased due to some adjustments.",
        "label": "Accretion Of Non Controlling Interest Due To Adjustments",
        "terseLabel": "Accretion of noncontrolling interest"
       }
      }
     },
     "localname": "AccretionOfNonControllingInterestDueToAdjustments",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccretionOfNoncontrollingInterestPutOptionToRedemptionValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accretion of noncontrolling interest put option to redemption value.",
        "label": "Accretion Of Noncontrolling Interest Put Option To Redemption Value",
        "terseLabel": "Accretion of noncontrolling interest put option to redemption value"
       }
      }
     },
     "localname": "AccretionOfNoncontrollingInterestPutOptionToRedemptionValue",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccretionOfSeniorPreferredStockToRedemptionValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accretion of senior preferred stock to redemption value.",
        "label": "Accretion Of Senior Preferred Stock To Redemption Value",
        "terseLabel": "Accretion of Legacy Gelesis senior preferred stock to redemption value"
       }
      }
     },
     "localname": "AccretionOfSeniorPreferredStockToRedemptionValue",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued expenses and other liabilities disclosure current.",
        "label": "Accrued Expenses And Other Liabilities Disclosure Current [Text Block]",
        "terseLabel": "Accrued Expenses"
       }
      }
     },
     "localname": "AccruedExpensesAndOtherLiabilitiesDisclosureCurrentTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpenses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_AccruedExpensesAndOtherLiabilitiesRelatedPartiesCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued expenses and other liabilities, related parties current.",
        "label": "Accrued Expenses And Other Liabilities Related Parties Current",
        "terseLabel": "Due to related party, accrued expenses",
        "verboseLabel": "Accrued expenses and other liabilities, due to related parties"
       }
      }
     },
     "localname": "AccruedExpensesAndOtherLiabilitiesRelatedPartiesCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccruedInterest": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued interest.",
        "label": "Accrued Interest",
        "terseLabel": "Accrued interest"
       }
      }
     },
     "localname": "AccruedInterest",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccruedPaymentsForInventoryAndManufacturingExpensesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued payments for inventory and manufacturing expenses current.",
        "label": "Accrued Payments For Inventory And Manufacturing Expenses Current",
        "terseLabel": "Accrued inventory and manufacturing expense"
       }
      }
     },
     "localname": "AccruedPaymentsForInventoryAndManufacturingExpensesCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccruedPaymentsPropertyPlantAndEquipmentAdditionsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued payments property plant and equipment additions current.",
        "label": "Accrued Payments Property Plant And Equipment Additions Current",
        "terseLabel": "Accrued property, plant and equipment additions"
       }
      }
     },
     "localname": "AccruedPaymentsPropertyPlantAndEquipmentAdditionsCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccruedProfessionalFeesAndOutsideContractorsIncludingRelatedPartyCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued professional fees and outside contractors including related party current.",
        "label": "Accrued Professional Fees And Outside Contractors Including Related Party Current",
        "terseLabel": "Accrued professional fees and outside contractors (including due to related party of $179 and $60, respectively)"
       }
      }
     },
     "localname": "AccruedProfessionalFeesAndOutsideContractorsIncludingRelatedPartyCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccruedProfessionalFeesRelatedPartyCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued professional fees related party current.",
        "label": "Accrued Professional Fees Related Party Current",
        "terseLabel": "Accrued Professional fee, due to related party"
       }
      }
     },
     "localname": "AccruedProfessionalFeesRelatedPartyCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AccruedUnpaidPortionOfAcquisitionOfIntangibleAssetAndInvestmentInRelatedPartyCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued unpaid portion of acquisition of intangible asset and investment in related party current.",
        "label": "Accrued Unpaid Portion Of Acquisition Of Intangible Asset And Investment In Related Party Current",
        "terseLabel": "Unpaid portion of acquisition of intangible asset and investment in related party (see Note 11)"
       }
      }
     },
     "localname": "AccruedUnpaidPortionOfAcquisitionOfIntangibleAssetAndInvestmentInRelatedPartyCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AdditionalAreaOfFacilityInitiatedForConstruction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional area of facility initiated for construction.",
        "label": "Additional Area Of Facility Initiated For Construction",
        "terseLabel": "Additional area of facility initiated for construction"
       }
      }
     },
     "localname": "AdditionalAreaOfFacilityInitiatedForConstruction",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetails"
     ],
     "xbrltype": "areaItemType"
    },
    "gls_AdjustmentsForChangeInFairValueOfCallOption": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of fair value of call option.",
        "label": "Adjustments For Change In Fair Value Of Call Option",
        "terseLabel": "Change in fair value of One S.r.l. call option"
       }
      }
     },
     "localname": "AdjustmentsForChangeInFairValueOfCallOption",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AdjustmentsForChangeInFairValueOfConvertiblePromissoryNotes": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of convertible promissory notes",
        "label": "Adjustments For Change In Fair Value Of Convertible Promissory Notes",
        "terseLabel": "Change in the fair value of convertible promissory notes"
       }
      }
     },
     "localname": "AdjustmentsForChangeInFairValueOfConvertiblePromissoryNotes",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AdjustmentsToAdditionalPaidInCapitalAccretionOfSeniorPreferredStockToRedemptionValuePriorToBusinessCombination": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid in capital, accretion of senior preferred stock to redemption value prior to business combination.",
        "label": "Adjustments to Additional Paid in Capital, Accretion of Senior Preferred Stock to Redemption Value Prior to Business Combination",
        "terseLabel": "Accretion of legacy gelesis senior preferred stock to redemption value prior to business combination"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalAccretionOfSeniorPreferredStockToRedemptionValuePriorToBusinessCombination",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AdjustmentsToAdditionalPaidInCapitalAssumedPrivatePlacementWarrantLiabilityUponBusinessCombination": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid in capital, assumed private placement warrant liability upon business combination.",
        "label": "Adjustments to Additional Paid in Capital, Assumed Private Placement Warrant Liability upon Business Combination",
        "terseLabel": "Assumed private placement warrant liability upon business combination"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalAssumedPrivatePlacementWarrantLiabilityUponBusinessCombination",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AdjustmentsToAdditionalPaidInCapitalRecognitionOfEarnoutLiabilityUponBusinessCombination": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid in capital, recognition of earnout liability upon business combination.",
        "label": "Adjustments to Additional Paid in Capital, Recognition of Earnout Liability upon Business Combination",
        "terseLabel": "Recognition of earnout liability upon Business Combination"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalRecognitionOfEarnoutLiabilityUponBusinessCombination",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_AggregateNumberOfSharesOfTheCompanyCommonStockPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate Number of Shares of the Company Common Stock Percentage",
        "label": "Aggregate number of shares of the common stock percentage"
       }
      }
     },
     "localname": "AggregateNumberOfSharesOfTheCompanyCommonStockPercentage",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gls_AmendedAndRestatedMasterAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amended and restated master agreement.",
        "label": "Amended And Restated Master Agreement [Member]",
        "terseLabel": "Amended And Restated Master Agreement"
       }
      }
     },
     "localname": "AmendedAndRestatedMasterAgreementMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_AnnualInterestRateInConnectionWithTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the annual interest rate in connection with transaction.",
        "label": "Annual Interest Rate In Connection With Transaction",
        "terseLabel": "Annual interest rate in connection with transaction"
       }
      }
     },
     "localname": "AnnualInterestRateInConnectionWithTransaction",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gls_AreaOfFacilityUnderManufacturingAndResearchAndDevelopment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area of facility under manufacturing and research and development.",
        "label": "Area Of Facility Under Manufacturing And Research And Development",
        "terseLabel": "Area of facility under manufacturing and research and development"
       }
      }
     },
     "localname": "AreaOfFacilityUnderManufacturingAndResearchAndDevelopment",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetails"
     ],
     "xbrltype": "areaItemType"
    },
    "gls_AreaOfFacilityUnderManufacturingAndResearchAndDevelopmentExpectsToExpand": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area Of facility under manufacturing and research and development expects to expand.",
        "label": "Area Of Facility Under Manufacturing And Research And Development Expects To Expand",
        "terseLabel": "Area of facility under manufacturing and research and development expects to expand"
       }
      }
     },
     "localname": "AreaOfFacilityUnderManufacturingAndResearchAndDevelopmentExpectsToExpand",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetails"
     ],
     "xbrltype": "areaItemType"
    },
    "gls_BackstopAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Backstop agreement.",
        "label": "Backstop Agreement [Member]",
        "terseLabel": "Backstop Agreement"
       }
      }
     },
     "localname": "BackstopAgreementMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_BackstopInvestorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Backstop investors.",
        "label": "Backstop Investors [Member]",
        "terseLabel": "Backstop Investors"
       }
      }
     },
     "localname": "BackstopInvestorsMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_BusinessCombinationAndReverseCapitalizationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination and reverse capitalization.",
        "label": "Business Combination and Reverse Capitalization [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationAndReverseCapitalizationAbstract",
     "nsuri": "http://ir.gelesis.com/20220630",
     "xbrltype": "stringItemType"
    },
    "gls_BusinessCombinationAndReverseRecapitalizationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination and reverse recapitalization.",
        "label": "Business Combination and Reverse Recapitalization [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationAndReverseRecapitalizationAbstract",
     "nsuri": "http://ir.gelesis.com/20220630",
     "xbrltype": "stringItemType"
    },
    "gls_BusinessCombinationAndReverseRecapitalizationTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination and reverse recapitalization.",
        "label": "Business Combination and Reverse Recapitalization [Text Block]",
        "terseLabel": "Business Combination and Reverse Recapitalization"
       }
      }
     },
     "localname": "BusinessCombinationAndReverseRecapitalizationTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalization1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_BusinessCombinationGrossProceeds": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails": {
       "order": 0.0,
       "parentTag": "gls_BusinessCombinationNetProceeds",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination gross proceeds.",
        "label": "Business Combination Gross Proceeds",
        "terseLabel": "Gross Proceeds",
        "totalLabel": "Gross proceeds"
       }
      }
     },
     "localname": "BusinessCombinationGrossProceeds",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_BusinessCombinationNetProceeds": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination net proceeds.",
        "label": "Business Combination Net Proceeds",
        "totalLabel": "Net proceeds from the Business Combination"
       }
      }
     },
     "localname": "BusinessCombinationNetProceeds",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_CMSBridgingDMCCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CMS Bridging DMCC.",
        "label": "C M S Bridging D M C C [Member]",
        "terseLabel": "CMS Bridging DMCC",
        "verboseLabel": "CMS"
       }
      }
     },
     "localname": "CMSBridgingDMCCMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_CallOptionLiabilityBalance": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Call option liability balance.",
        "label": "Call Option Liability Balance",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "CallOptionLiabilityBalance",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_CapstarSpecialPurposeAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capstar Special Purpose Acquisition Corp.",
        "label": "Capstar Special Purpose Acquisition Corp [Member]",
        "terseLabel": "CPSR"
       }
      }
     },
     "localname": "CapstarSpecialPurposeAcquisitionCorpMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_CarryingValueOfWarrantsTransferredToAdditionalPaidInCapital": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value of warrants transferred to additional paid in capital",
        "label": "Carrying Value of Warrants Transferred to Additional Paid in Capital",
        "terseLabel": "Carrying value of warrants transferred to additional paid in capital"
       }
      }
     },
     "localname": "CarryingValueOfWarrantsTransferredToAdditionalPaidInCapital",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ChangeInFairValueOfCallOptionLiability": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in fair value of call option liability.",
        "label": "Change In Fair Value Of Call Option Liability",
        "terseLabel": "Change in fair value"
       }
      }
     },
     "localname": "ChangeInFairValueOfCallOptionLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ChangeInFairValueOfCallOptionLiabilityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in fair Value of call option liability.",
        "label": "Change In Fair Value of Call Option Liability[Table Text Block]",
        "terseLabel": "Summary of Changes in Fair Value of Call Option Liability"
       }
      }
     },
     "localname": "ChangeInFairValueOfCallOptionLiabilityTableTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_ChangeInFairValueOfEarnoutLiability": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in fair value of earnout liability.",
        "label": "Change In Fair Value Of Earnout Liability",
        "terseLabel": "Change in the fair value of earnout liability"
       }
      }
     },
     "localname": "ChangeInFairValueOfEarnoutLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ChangeInTheFairValueOfContingentEarnoutLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in the fair value of contingent earnout liability.",
        "label": "Change In The Fair Value Of Contingent Earnout Liability",
        "negatedLabel": "Changes in fair value",
        "terseLabel": "Change in the fair value of earnout liability",
        "verboseLabel": "Changes in fair value"
       }
      }
     },
     "localname": "ChangeInTheFairValueOfContingentEarnoutLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ClassOfWarrantOrRightMinimumThresholdWrittenNoticePeriodForRedemptionOfWarrants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of warrant or right minimum threshold written notice period for redemption of warrants.",
        "label": "Class Of Warrant Or Right Minimum Threshold Written Notice Period For Redemption Of Warrants",
        "terseLabel": "Minimum threshold written notice period for redemption of public warrants"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightMinimumThresholdWrittenNoticePeriodForRedemptionOfWarrants",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gls_ClassOfWarrantOrRightRedemptionOfWarrantsOrRightsStockPriceTrigger": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of warrant or right redemption of warrants or rights stock price trigger.",
        "label": "Class Of Warrant Or Right Redemption Of Warrants Or Rights Stock Price Trigger",
        "terseLabel": "Class of warrant or right redemption of warrants or rights stock price trigger"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightRedemptionOfWarrantsOrRightsStockPriceTrigger",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gls_ClassOfWarrantOrRightRedemptionOfWarrantsOrRightsThresholdTradingDays": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of warrant or right redemption of warrants or rights threshold trading days.",
        "label": "Class Of Warrant Or Right Redemption Of Warrants Or Rights Threshold Trading Days",
        "terseLabel": "Threshold trading days for redemption of public warrants"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightRedemptionOfWarrantsOrRightsThresholdTradingDays",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gls_ClassOfWarrantOrRightRedemptionPriceOfWarrantsOrRights": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of warrant or right redemption price of warrants or rights.",
        "label": "Class Of Warrant Or Right Redemption Price Of Warrants Or Rights",
        "terseLabel": "Redemption price per public warrant (in dollars per share)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightRedemptionPriceOfWarrantsOrRights",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gls_CommittedEquityFacilityWithBRileyPrincipalCapitalIiLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Committed Equity Facility with B. Riley Principal Capital II, LLC [Member]",
        "label": "Committed Equity Facility with B. Riley Principal Capital II, LLC"
       }
      }
     },
     "localname": "CommittedEquityFacilityWithBRileyPrincipalCapitalIiLlcMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_CommonStockConvertibleConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock, convertible, conversion ratio.",
        "label": "Common Stock, Convertible, Conversion Ratio",
        "terseLabel": "Common stock exchange ratio"
       }
      }
     },
     "localname": "CommonStockConvertibleConversionRatio",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarningsLossPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "gls_CommonStockIssuedToPipeInvestorsAndBackstopAgreement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Stock Issued to PIPE Investors and Backstop Agreement.",
        "label": "Common Stock Issued to PIPE Investors and Backstop Agreement",
        "terseLabel": "Common stock issued to PIPE investors and backstop agreement"
       }
      }
     },
     "localname": "CommonStockIssuedToPipeInvestorsAndBackstopAgreement",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_CommonStockIssuedUponOptionExerciseAndRsusVesting": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock issued upon option exercise and RSUs vesting",
        "label": "Common Stock Issued Upon Option Exercise And RSUs Vesting",
        "terseLabel": "Common stock issued upon option exercise and RSUs vesting"
       }
      }
     },
     "localname": "CommonStockIssuedUponOptionExerciseAndRsusVesting",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_CommonStockTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock.",
        "label": "Common Stock [Text Block]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommonStock"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_CommonStockWarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to common stock warrant.",
        "label": "Common Stock Warrant [Member]",
        "terseLabel": "Common Stock Warrant"
       }
      }
     },
     "localname": "CommonStockWarrantMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_CommonStockWarrantsConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock warrants conversion ratio.",
        "label": "Common Stock Warrants Conversion Ratio",
        "terseLabel": "Common stock warrants conversion exchange ratio"
       }
      }
     },
     "localname": "CommonStockWarrantsConversionRatio",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "gls_ComputerEquipmentAndSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Computer Equipment and Software.",
        "label": "Computer Equipment and Software [Member]",
        "terseLabel": "Computer Equipment and Software"
       }
      }
     },
     "localname": "ComputerEquipmentAndSoftwareMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ConsecutiveTradingDaysUsedToEvaluateSharePriceForSharePriceCondition": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consecutive trading days used to evaluate share price for share price condition.",
        "label": "Consecutive Trading Days Used To Evaluate Share Price For Share Price Condition",
        "terseLabel": "Consecutive trading days used to evaluate share price"
       }
      }
     },
     "localname": "ConsecutiveTradingDaysUsedToEvaluateSharePriceForSharePriceCondition",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "gls_ConsultingAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consulting Agreement",
        "label": "Consulting Agreement [Member]",
        "verboseLabel": "Consulting Agreement"
       }
      }
     },
     "localname": "ConsultingAgreementMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ContingentCallOptionForInvestmentInRelatedPartyFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of Contingent call option for investment in related party.",
        "label": "Contingent Call Option For Investment In Related Party Fair Value Disclosure",
        "terseLabel": "One S.r.l call option (see Note 11)"
       }
      }
     },
     "localname": "ContingentCallOptionForInvestmentInRelatedPartyFairValueDisclosure",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ContingentCallOptionForInvestmentInRelatedPartyNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_OtherLiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contingent call option for investment in related party which is included in other long-term liabilities classified as noncurrent.",
        "label": "Contingent Call Option For Investment In Related Party Noncurrent",
        "terseLabel": "One S.r.l. call option (see Note 11)"
       }
      }
     },
     "localname": "ContingentCallOptionForInvestmentInRelatedPartyNoncurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ContingentEarnoutLiability": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent earnout liability.",
        "label": "Contingent Earnout Liability",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "terseLabel": "Contingent earnout liability",
        "verboseLabel": "Earnout liability"
       }
      }
     },
     "localname": "ContingentEarnoutLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ContingentEarnoutLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent earnout liability.",
        "label": "Contingent Earnout Liability [Member]",
        "terseLabel": "Contingent Earnout Liability"
       }
      }
     },
     "localname": "ContingentEarnoutLiabilityMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ContingentLossForResearchAndDevelopmentTaxCreditsNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherLiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Contingent loss for research and development tax credits which is included in other long-term liabilities classified as noncurrent.",
        "label": "Contingent Loss For Research And Development Tax Credits Noncurrent",
        "terseLabel": "Contingent loss for research and development tax credits"
       }
      }
     },
     "localname": "ContingentLossForResearchAndDevelopmentTaxCreditsNoncurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ConvertiblePromissoryNotesDueToRelatedPartyHeldAtFairValueCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible promissory notes due to related party, held at fair value current.",
        "label": "Convertible Promissory Notes Due To Related Party Held At Fair Value Current",
        "terseLabel": "Convertible promissory notes due to related party, held at fair value"
       }
      }
     },
     "localname": "ConvertiblePromissoryNotesDueToRelatedPartyHeldAtFairValueCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_CpsrPublicStockholdersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CPSR Public Stockholders.",
        "label": "CPSR Public Stockholders [Member]",
        "terseLabel": "CPSR Public Stockholders"
       }
      }
     },
     "localname": "CpsrPublicStockholdersMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_CpsrSponsorStockholdersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CPSR Sponsor Stockholders.",
        "label": "CPSR Sponsor Stockholders [Member]",
        "terseLabel": "CPSR Sponsor Stockholders"
       }
      }
     },
     "localname": "CpsrSponsorStockholdersMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_CumulativeAmortizationExpense": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative amortization expense.",
        "label": "Cumulative Amortization Expense",
        "negatedLabel": "Cumulative amortization expense"
       }
      }
     },
     "localname": "CumulativeAmortizationExpense",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_CurrentLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current liabilities.",
        "label": "Current Liabilities [Member]",
        "terseLabel": "Current Liabilities"
       }
      }
     },
     "localname": "CurrentLiabilitiesMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_DeferredFinancingCostsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of deferred financing costs included in prepaid expenses and other current assets, classified as current.",
        "label": "Deferred Financing Costs Current",
        "terseLabel": "Deferred financing costs"
       }
      }
     },
     "localname": "DeferredFinancingCostsCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_DeferredFinancingCostsIncludedInAccountsPayableAndAccruedExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred financing costs included in accounts payable and accrued expense.",
        "label": "Deferred Financing Costs Included In Accounts Payable And Accrued Expense",
        "terseLabel": "Deferred financing costs included in accounts payable and accrued expense"
       }
      }
     },
     "localname": "DeferredFinancingCostsIncludedInAccountsPayableAndAccruedExpense",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_DeferredIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Income.",
        "label": "Deferred Income [Member]",
        "terseLabel": "Deferred Income"
       }
      }
     },
     "localname": "DeferredIncomeMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_DeferredLegalFees": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred legal fees.",
        "label": "Deferred legal fees"
       }
      }
     },
     "localname": "DeferredLegalFees",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_DeferredPaymentOfRemainingPurchasePrice": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred payment of remaining purchase price.",
        "label": "Deferred payment of remaining purchase price",
        "terseLabel": "Deferred payment of remaining purchase price"
       }
      }
     },
     "localname": "DeferredPaymentOfRemainingPurchasePrice",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_DiscountedTimeBasedMilestone": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discounted time-based milestone.",
        "label": "Discounted Time Based Milestone",
        "terseLabel": "Discounted time-based milestone"
       }
      }
     },
     "localname": "DiscountedTimeBasedMilestone",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_EanoutSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eanout Shares.",
        "label": "Eanout Shares [Member]",
        "terseLabel": "Eanout shares"
       }
      }
     },
     "localname": "EanoutSharesMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_EarnoutLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnout liability",
        "label": "Earnout Liability [Member]",
        "terseLabel": "Earnout Liability"
       }
      }
     },
     "localname": "EarnoutLiabilityMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_EarnoutShares": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnout shares.",
        "label": "Earnout Shares",
        "terseLabel": "Earnout shares"
       }
      }
     },
     "localname": "EarnoutShares",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_EmployeesAndNonEmployeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employees and non employees.",
        "label": "Employees and Non Employees [Member]",
        "terseLabel": "Employees and Non Employees"
       }
      }
     },
     "localname": "EmployeesAndNonEmployeesMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_EquityInterestHeldRelatedPartyTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the equity interest held by related party.",
        "label": "Equity Interest Held Related Party Transaction",
        "terseLabel": "Equity interest held by related party"
       }
      }
     },
     "localname": "EquityInterestHeldRelatedPartyTransaction",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gls_EquityInvestmentThatCanBeCalledMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Investment That Can Be Called.",
        "label": "Equity Investment That Can Be Called [Member]",
        "terseLabel": "Equity investment that can be called beginning in December 2023 and ending in December 2026"
       }
      }
     },
     "localname": "EquityInvestmentThatCanBeCalledMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_EquityMethodInvestmentIntangibleAssetAcquired": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity method investment intangible asset acquired.",
        "label": "Equity Method Investment Intangible Asset Acquired",
        "terseLabel": "Intangible asset at relative fair value"
       }
      }
     },
     "localname": "EquityMethodInvestmentIntangibleAssetAcquired",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_EquityMethodInvestmentUnpaidConsideration": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid consideration of investments accounted for under the equity method of accounting.",
        "label": "Equity Method Investment Unpaid Consideration",
        "terseLabel": "Remaining undiscounted payments due"
       }
      }
     },
     "localname": "EquityMethodInvestmentUnpaidConsideration",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ExercisePriceOfCallOptionToBuyBackOwnershipPercentage": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise price of call option to buy back ownership percentage.",
        "label": "Exercise Price of Call Option to Buy Back Ownership Percentage",
        "terseLabel": "Exercise price of call option to buy back ownership percentage"
       }
      }
     },
     "localname": "ExercisePriceOfCallOptionToBuyBackOwnershipPercentage",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ExistingInvestorAndRelatedPartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Existing investor and related parties.",
        "label": "Existing Investor and Related Parties [Member]",
        "terseLabel": "CMS Bridging DMCC, PureTech Health LLC and SSD2 LLC"
       }
      }
     },
     "localname": "ExistingInvestorAndRelatedPartiesMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_FairValueAdjustmentOfConvertiblePromissoryNotes": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of convertible promissory notes.",
        "label": "Fair Value Adjustment Of Convertible Promissory Notes",
        "negatedLabel": "Loss of change in fair value of the instrument",
        "terseLabel": "Change in the fair value of convertible promissory notes",
        "verboseLabel": "Loss of change in fair value of the instrument"
       }
      }
     },
     "localname": "FairValueAdjustmentOfConvertiblePromissoryNotes",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_FairValueAdjustmentsOfEarnoutLiability": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value adjustments of earnout liability.",
        "label": "Fair Value Adjustments of Earnout Liability",
        "terseLabel": "Change in the fair value of earnout liability"
       }
      }
     },
     "localname": "FairValueAdjustmentsOfEarnoutLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_FairValueMeasurementWithUnobservableInputsAssumedUponBusinessCombination": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs assumed upon business combination",
        "label": "Fair Value Measurement With Unobservable Inputs Assumed upon Business Combination",
        "terseLabel": "Assumed upon Business Combination"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsAssumedUponBusinessCombination",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_FairValueMeasurementWithUnobservableInputsConversionAndExchangeUponBusinessCombination": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs Conversion and exchange upon business combination.",
        "label": "Fair value measurement with unobservable inputs Conversion and exchange upon Business Combination",
        "negatedLabel": "Conversion and exchange upon Business Combination",
        "terseLabel": "Conversion and exchange upon Business Combination"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsConversionAndExchangeUponBusinessCombination",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_FairValueMeasurementWithUnobservableInputsRecognizedUponBusinessCombination": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs recognized upon business combination",
        "label": "Fair Value Measurement With Unobservable Inputs Recognized upon Business Combination",
        "terseLabel": "Recognized upon Business Combination"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsRecognizedUponBusinessCombination",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_FairValueOfIncrementalCompensationCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of incremental compensation cost.",
        "label": "Fair Value of Incremental Compensation Cost",
        "terseLabel": "Fair value of incremental compensation cost"
       }
      }
     },
     "localname": "FairValueOfIncrementalCompensationCost",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_FixedInterestRateOnLoanRelatedPartyTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the fixed interest rate on loan.",
        "label": "Fixed Interest Rate on Loan Related Party Transaction",
        "verboseLabel": "Fixed interest rate on loan"
       }
      }
     },
     "localname": "FixedInterestRateOnLoanRelatedPartyTransaction",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gls_ForeignCurrencyTranslationGain": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign currency translation gain.",
        "label": "Foreign Currency Translation Gain",
        "terseLabel": "Foreign currency translation gain"
       }
      }
     },
     "localname": "ForeignCurrencyTranslationGain",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_FounderOfOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Founder Of one.",
        "label": "Founder Of One [Member]",
        "terseLabel": "One S.r.l",
        "verboseLabel": "Founder of One"
       }
      }
     },
     "localname": "FounderOfOneMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_GainLossOnAdjustmentForFairValueOfConvertiblePromissoryNotes": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of gain loss on adjustment for fair value for convertible promissory notes.",
        "label": "Gain Loss on Adjustment for Fair Value of Convertible Promissory Notes",
        "negatedLabel": "Loss on change in fair value of the convertible promissory notes"
       }
      }
     },
     "localname": "GainLossOnAdjustmentForFairValueOfConvertiblePromissoryNotes",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_GelesisIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gelesis, Inc.",
        "label": "Gelesis Inc [Member]",
        "terseLabel": "Gelesis"
       }
      }
     },
     "localname": "GelesisIncMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_GoGoMedsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GoGoMeds.",
        "label": "Go Go Meds [Member]",
        "terseLabel": "GoGoMeds"
       }
      }
     },
     "localname": "GoGoMedsMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_GrantAwardedAmountFacilityAndEquipmentInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of funding awarded as reimbursement for certain facility and equipment investments.",
        "label": "Grant Awarded Amount Facility And Equipment Investments",
        "terseLabel": "Grant funding for certain facility and equipment investments"
       }
      }
     },
     "localname": "GrantAwardedAmountFacilityAndEquipmentInvestments",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_GrantAwardedAmountResearchAndDevelopmentExpenditures": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of funding awarded as reimbursement for certain research and development expenditures.",
        "label": "Grant Awarded Amount Research And Development Expenditures",
        "terseLabel": "Grant funding for certain research and development expenditures"
       }
      }
     },
     "localname": "GrantAwardedAmountResearchAndDevelopmentExpenditures",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_HorizonTwentyTwentyLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Horizon twenty twenty loan.",
        "label": "Horizon Twenty Twenty Loan [Member]",
        "terseLabel": "Horizon 2020 Loan"
       }
      }
     },
     "localname": "HorizonTwentyTwentyLoanMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_IncreaseDecreaseInGrantsReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 29.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from grants.",
        "label": "Increase Decrease In Grants Receivable",
        "negatedLabel": "Grants receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInGrantsReceivable",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_IntesaSanpaoloLoanOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intesa sanpaolo loan one.",
        "label": "Intesa Sanpaolo Loan One [Member]",
        "terseLabel": "Intesa Sanpaolo Loan 1"
       }
      }
     },
     "localname": "IntesaSanpaoloLoanOneMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_IntesaSanpaoloLoanTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intesa sanpaolo loan two.",
        "label": "Intesa Sanpaolo Loan Two [Member]",
        "terseLabel": "Intesa Sanpaolo Loan 2"
       }
      }
     },
     "localname": "IntesaSanpaoloLoanTwoMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_InvestmentTaxCreditReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Tax Credit Receivable",
        "label": "Investment Tax Credit Receivable",
        "terseLabel": "Investment tax credit receivable"
       }
      }
     },
     "localname": "InvestmentTaxCreditReceivable",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ItalianEconomicDevelopmentAgencyLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Italian economic development agency loan.",
        "label": "Italian Economic Development Agency Loan [Member]",
        "terseLabel": "Italian Economic Development Agency Loan"
       }
      }
     },
     "localname": "ItalianEconomicDevelopmentAgencyLoanMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_LaboratoryAndManufacturingEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Laboratory And Manufacturing Equipment.",
        "label": "Laboratory And Manufacturing Equipment [Member]",
        "terseLabel": "Laboratory And Manufacturing Equipment"
       }
      }
     },
     "localname": "LaboratoryAndManufacturingEquipmentMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_LegacyGelesisPreferredStockWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Legacy gelesis preferred stock warrants.",
        "label": "Legacy Gelesis Preferred Stock Warrants [Member]",
        "terseLabel": "Legacy Gelesis Preferred Stock Warrants"
       }
      }
     },
     "localname": "LegacyGelesisPreferredStockWarrantsMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee operating lease liability payments due after year four.",
        "label": "Lessee Operating Lease Liability Payments Due After Year Four",
        "terseLabel": "More than 5 Years"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_LiabilityHeldAtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liability Held at Fair Value",
        "label": "Liability Held at Fair Value",
        "terseLabel": "Liability held at fair value"
       }
      }
     },
     "localname": "LiabilityHeldAtFairValue",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_LongTermTaxLiabilitiesNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherLiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of long term tax liabilities which is included in other long-term liabilities classified as noncurrent.",
        "label": "Long Term Tax Liabilities Noncurrent",
        "terseLabel": "Long-term tax liabilities"
       }
      }
     },
     "localname": "LongTermTaxLiabilitiesNoncurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ManagementServicesExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management services expenses",
        "label": "Management Services Expenses [Member]",
        "terseLabel": "Management Services Expenses"
       }
      }
     },
     "localname": "ManagementServicesExpensesMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_MeasurementInputPriceOfGelesisCommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input price of Gelesis common stock.",
        "label": "Measurement Input Price Of Gelesis Common Stock [Member]",
        "terseLabel": "Price Of Gelesis Common Stock"
       }
      }
     },
     "localname": "MeasurementInputPriceOfGelesisCommonStockMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_MonteCarloSimulationValueModelMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Monte Carlo Simulation Value Model Member",
        "label": "Monte Carlo Simulation Value Model [Member]",
        "terseLabel": "Monte Carlo Simulation value model"
       }
      }
     },
     "localname": "MonteCarloSimulationValueModelMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_NetProceedsFromBusinessCombinationFinancingAndSaleOfStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net proceeds from business combination financing and sale of stock.",
        "label": "Net Proceeds from Business Combination Financing and Sale of Stock",
        "terseLabel": "Net proceeds from business combinations"
       }
      }
     },
     "localname": "NetProceedsFromBusinessCombinationFinancingAndSaleOfStock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_NonControllingInterestPutOptionAccretionToRedemptionValueAdjustment": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease to net income for accretion of of noncontrolling interest put option to redemption value.",
        "label": "Non Controlling Interest Put Option Accretion To Redemption Value Adjustment",
        "negatedLabel": "Accretion of noncontrolling interest put option to redemption value"
       }
      }
     },
     "localname": "NonControllingInterestPutOptionAccretionToRedemptionValueAdjustment",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_NonConvertibleDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-convertible debt.",
        "label": "Non Convertible Debt [Member]",
        "terseLabel": "Non-convertible Debt"
       }
      }
     },
     "localname": "NonConvertibleDebtMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_NonRefundableAndNonCreditableRegulatoryApprovalMilestonePayment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-refundable and non-creditable regulatory approval milestone payment.",
        "label": "Non-refundable and non-creditable regulatory approval milestone payment",
        "terseLabel": "Non-refundable and non-creditable regulatory approval milestone payment"
       }
      }
     },
     "localname": "NonRefundableAndNonCreditableRegulatoryApprovalMilestonePayment",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_NumberOfEarnoutSharesContingentConsiderationArrangement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of earn out shares contingent consideration arrangement.",
        "label": "Number of Earnout Shares Contingent Consideration Arrangement",
        "terseLabel": "Number of earn-out shares contingent consideration arrangement",
        "verboseLabel": "Number of earn out shares unissued and unvested"
       }
      }
     },
     "localname": "NumberOfEarnoutSharesContingentConsiderationArrangement",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_NumberOfPromissoryNotesIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of promissory notes issued.",
        "label": "Number Of Promissory Notes Issued",
        "terseLabel": "Number of promissory notes issued"
       }
      }
     },
     "localname": "NumberOfPromissoryNotesIssued",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gls_NumberOfRemainingEarnOutShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of remaining earn out shares",
        "label": "Number of Remaining Earn Out Shares",
        "terseLabel": "Number of remaining earn out shares"
       }
      }
     },
     "localname": "NumberOfRemainingEarnOutShares",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_NumberOfSharesRestrictedEarnOutShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of Shares, Restricted Earn Out Shares.",
        "label": "Number of Shares, Restricted Earn Out Shares",
        "terseLabel": "Number of restricted earn out shares entitled"
       }
      }
     },
     "localname": "NumberOfSharesRestrictedEarnOutShares",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_NumberOfTradingDaysWithinSpecifiedPeriodThatSharePriceMustExceedSharePriceCondition": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of trading days within specified period that share price must exceed share price condition.",
        "label": "Number Of Trading Days Within Specified Period That Share Price Must Exceed Share Price Condition",
        "terseLabel": "Number of trading days within specified period that share price must exceed"
       }
      }
     },
     "localname": "NumberOfTradingDaysWithinSpecifiedPeriodThatSharePriceMustExceedSharePriceCondition",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "gls_OfficeSpaceLocatedInBostonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Office space located in boston.",
        "label": "Office Space Located In Boston [Member]",
        "terseLabel": "Office space located in Boston"
       }
      }
     },
     "localname": "OfficeSpaceLocatedInBostonMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_OneSRLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One S.r.l.",
        "label": "One S R L [Member]",
        "terseLabel": "One S.r.l"
       }
      }
     },
     "localname": "OneSRLMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_OneSrlCallOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Srl call option.",
        "label": "One Srl Call Option [Member]",
        "terseLabel": "One S.r.l. Call Option"
       }
      }
     },
     "localname": "OneSrlCallOptionMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_OneSrlOneAmendedPatentLicenseAndAssignmentAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to One S.r.l. (\"One\") Amended Patent License and Assignment Agreement.",
        "label": "One Srl One Amended Patent License And Assignment Agreement [Member]",
        "terseLabel": "One",
        "verboseLabel": "One Srl"
       }
      }
     },
     "localname": "OneSrlOneAmendedPatentLicenseAndAssignmentAgreementMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_OperatingLeaseCommencementYearAndMonth": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating lease commencement year and month.",
        "label": "Operating Lease Commencement Year And Month",
        "terseLabel": "Operating lease commencement"
       }
      }
     },
     "localname": "OperatingLeaseCommencementYearAndMonth",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "gls_OperatingLeaseExpirationYearAndMonth": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating lease expiration year and month.",
        "label": "Operating Lease Expiration Year And Month",
        "terseLabel": "Operating lease expiration"
       }
      }
     },
     "localname": "OperatingLeaseExpirationYearAndMonth",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "gls_OptionsAndRSUToAcquireCommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options and RSU to acquire common stock.",
        "label": "Options And R S U To Acquire Common Stock [Member]",
        "terseLabel": "Options and RSU to Acquire Common Stock"
       }
      }
     },
     "localname": "OptionsAndRSUToAcquireCommonStockMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_OtherLiabilitiesNoncurrentDueToRelatedParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other liabilities noncurrent due to related party.",
        "label": "Other Liabilities Noncurrent Due to Related Party",
        "terseLabel": "Other long-term liabilities noncurrent, due to related party"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrentDueToRelatedParty",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_OtherLongTermLiabilityDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for other long-term liabilities.",
        "label": "Other Long Term Liability Disclosure [Text Block]",
        "terseLabel": "Other Long-Term Liabilities"
       }
      }
     },
     "localname": "OtherLongTermLiabilityDisclosureTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_PaymentsToBeMadeUponAchievementOfCertainMilestones": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments to be made upon achievement of certain milestones.",
        "label": "Payments To Be Made Upon Achievement Of Certain Milestones",
        "terseLabel": "Payments to be made upon the achievement of certain milestones"
       }
      }
     },
     "localname": "PaymentsToBeMadeUponAchievementOfCertainMilestones",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_PercentageOfRoyalty": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of royalty.",
        "label": "Percentage Of Royalty",
        "terseLabel": "Percentage of royalty"
       }
      }
     },
     "localname": "PercentageOfRoyalty",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gls_PeriodOfSubsequentIssuance": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "no definition available",
        "label": "Period Of Subsequent Issuance",
        "terseLabel": "Period of subsequent issuance"
       }
      }
     },
     "localname": "PeriodOfSubsequentIssuance",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "gls_PipeInvestmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PIPE Investment.",
        "label": "PIPE Investors"
       }
      }
     },
     "localname": "PipeInvestmentMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_PotentialDilutiveCommonShareEquivalentsRelatedToEarnoutLiablity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Potential dilutive common share equivalents related to earnout liablity",
        "label": "Potential Dilutive Common Share Equivalents Related to Earnout Liablity",
        "terseLabel": "Potentially dilutive common share equivalents"
       }
      }
     },
     "localname": "PotentialDilutiveCommonShareEquivalentsRelatedToEarnoutLiablity",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarningsLossPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_PreferredStockWarrantsConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred Stock Warrants Conversion Ratio.",
        "label": "Preferred Stock Warrants Conversion Ratio",
        "terseLabel": "Preferred stock warrants conversion exchange ratio"
       }
      }
     },
     "localname": "PreferredStockWarrantsConversionRatio",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "gls_PrepaidContractResearchCostsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to prepaid contract research costs that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Contract Research Costs Current",
        "terseLabel": "Prepaid contract research costs"
       }
      }
     },
     "localname": "PrepaidContractResearchCostsCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_PrepaidExpensesAndOtherCurrentAssetsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for prepaid expenses and other current assets.",
        "label": "Prepaid Expenses And Other Current Assets [Text Block]",
        "terseLabel": "Prepaid Expenses And Other Current Assets"
       }
      }
     },
     "localname": "PrepaidExpensesAndOtherCurrentAssetsTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePrepaidExpensesAndOtherCurrentAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_PrepaidManufacturingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepaid manufacturing expenses.",
        "label": "Prepaid Manufacturing Expenses",
        "terseLabel": "Prepaid manufacturing expenses"
       }
      }
     },
     "localname": "PrepaidManufacturingExpenses",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_PrivatePlacementWarrantLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Private placement warrant liability.",
        "label": "Private Placement Warrant Liability [Member]",
        "terseLabel": "Private Placement Warrant Liability"
       }
      }
     },
     "localname": "PrivatePlacementWarrantLiabilityMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_PrivatePlacementWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Private Placement Warrants.",
        "label": "Private Placement Warrants [Member]",
        "terseLabel": "Private Placement Warrants"
       }
      }
     },
     "localname": "PrivatePlacementWarrantsMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ProceedsFromBusinessCombinationFinancingAndSaleOfStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount received from the business combination together with financing and sale of backstop shares.",
        "label": "Proceeds from Business Combination Financing and Sale of Stock",
        "terseLabel": "Gross proceeds from business combinations"
       }
      }
     },
     "localname": "ProceedsFromBusinessCombinationFinancingAndSaleOfStock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ProceedsFromBusinessCombinationNetOfTransactionCosts": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from business combination net of transaction costs.",
        "label": "Proceeds From Business Combination Net Of Transaction Costs",
        "terseLabel": "Proceeds from Business Combination, net of transaction costs"
       }
      }
     },
     "localname": "ProceedsFromBusinessCombinationNetOfTransactionCosts",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ProceedsFromWarrantsExercised": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from warrants exercised.",
        "label": "Proceeds From Warrants Exercised",
        "terseLabel": "Proceeds from warrants exercised"
       }
      }
     },
     "localname": "ProceedsFromWarrantsExercised",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ProductRevenueReserveAndAllowances": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product revenue reserve and allowances.",
        "label": "Product Revenue Reserve and Allowances",
        "periodEndLabel": "Product revenue reserve and allowance, ending balance",
        "periodStartLabel": "Product revenue reserve and allowance, beginning balance"
       }
      }
     },
     "localname": "ProductRevenueReserveAndAllowances",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ProductSalesCreditsTaken": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product sales credits taken.",
        "label": "Product Sales Credits Taken",
        "negatedLabel": "Credits and payments made"
       }
      }
     },
     "localname": "ProductSalesCreditsTaken",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_PromissoryNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Promissory notes.",
        "label": "Promissory notes [Member]",
        "terseLabel": "Promissory Notes"
       }
      }
     },
     "localname": "PromissoryNotesMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_PropertyAndEquipmentExpendituresIncurredButNotYetPaid": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Future cash outflow to pay for purchases of property and equipment that have occurred.",
        "label": "Property And Equipment Expenditures Incurred But Not Yet Paid",
        "terseLabel": "Purchases of property and equipment included in accounts payable and accrued expense"
       }
      }
     },
     "localname": "PropertyAndEquipmentExpendituresIncurredButNotYetPaid",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ProvisionForProductSalesCredits": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision for product sales credits.",
        "label": "Provision For Product Sales Credits",
        "terseLabel": "Provision related to product sales"
       }
      }
     },
     "localname": "ProvisionForProductSalesCredits",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_PublicWarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Warrant.",
        "label": "Public Warrant [Member]",
        "terseLabel": "Public Warrants",
        "verboseLabel": "Public Warrant"
       }
      }
     },
     "localname": "PublicWarrantMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_PublicWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Warrants.",
        "label": "Public Warrants [Member]",
        "terseLabel": "Public Warrants"
       }
      }
     },
     "localname": "PublicWarrantsMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_Puglia1GrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Puglia 1 Grant.",
        "label": "Puglia1 Grant [Member]",
        "terseLabel": "Puglia1 Grant"
       }
      }
     },
     "localname": "Puglia1GrantMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_Puglia2GrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Puglia 2 Grant.",
        "label": "Puglia2 Grant [Member]",
        "terseLabel": "Puglia 2 Grant"
       }
      }
     },
     "localname": "Puglia2GrantMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_PureTechHealthLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pure Tech Health LLC.",
        "label": "Pure Tech Health L L C [Member]",
        "terseLabel": "PureTech",
        "verboseLabel": "PureTech Health LLC"
       }
      }
     },
     "localname": "PureTechHealthLLCMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_PuretechMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Puretech.",
        "label": "Puretech [Member]",
        "terseLabel": "PureTech"
       }
      }
     },
     "localname": "PuretechMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_PutByRifTransactionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Put by Rif transaction.",
        "label": "Put by Rif Transaction [Member]",
        "terseLabel": "Put by RIF starting in January 2027 and ending in December 2027"
       }
      }
     },
     "localname": "PutByRifTransactionMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RIFShareholdersLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "RIF shareholders loan.",
        "label": "R I F Shareholders Loan [Member]",
        "terseLabel": "RIF Shareholders Loan"
       }
      }
     },
     "localname": "RIFShareholdersLoanMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RIFTransactionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "RIF transaction.",
        "label": "R I F Transaction [Member]",
        "terseLabel": "RIF Transaction"
       }
      }
     },
     "localname": "RIFTransactionMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ReclassificationOfPriorYearPresentationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reclassification of prior year presentation policy text block.",
        "label": "Reclassification Of Prior Year Presentation [Policy Text Block]",
        "terseLabel": "Reclassification of Prior Year Presentation"
       }
      }
     },
     "localname": "ReclassificationOfPriorYearPresentationPolicyTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_RecognitionOfEarnoutLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recognition of earnout liability.",
        "label": "Recognition Of Earnout Liability",
        "terseLabel": "Recognition of earnout liability"
       }
      }
     },
     "localname": "RecognitionOfEarnoutLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_RecognitionOfPrivatePlacementWarrantLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recognition of private placement warrant liability.",
        "label": "Recognition Of Private Placement Warrant Liability",
        "terseLabel": "Recognition of private placement warrant liability"
       }
      }
     },
     "localname": "RecognitionOfPrivatePlacementWarrantLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_RecognizedUponBusinessCombinationContingentEarnoutLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recognized upon business combination contingent earnout liability.",
        "label": "Recognized Upon Business Combination Contingent Earnout Liability",
        "terseLabel": "Recognized upon Business Combination"
       }
      }
     },
     "localname": "RecognizedUponBusinessCombinationContingentEarnoutLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_RedeemableWarrantsEachWholeWarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable warrants each whole warrant.",
        "label": "Redeemable Warrants Each Whole Warrant [Member]",
        "terseLabel": "Redeemable Warrants"
       }
      }
     },
     "localname": "RedeemableWarrantsEachWholeWarrantMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RedemptionOfWarrantsWhenPricePerShareOfClassCommonStockEqualsOrExceeds1800Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redemption of warrants when price per share of class common stock equals or exceeds 18.00.",
        "label": "Redemption Of Warrants When Price Per Share Of Class Common Stock Equals Or Exceeds 18.00 [Member]",
        "terseLabel": "Redemption of Warrants When the Price per Class A Ordinary Share Equals or Exceeds $18.00"
       }
      }
     },
     "localname": "RedemptionOfWarrantsWhenPricePerShareOfClassCommonStockEqualsOrExceeds1800Member",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RedemptionPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redemption period.",
        "label": "Redemption Period",
        "terseLabel": "Redemption period"
       }
      }
     },
     "localname": "RedemptionPeriod",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "gls_RelatedPartyTransactionResearchAndDevelopmentExpensesFromTransactionsWithRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related party transaction research and development expenses from transactions with related party.",
        "label": "Related Party Transaction Research and Development Expenses From Transactions With Related Party",
        "terseLabel": "Research and development, related party expense"
       }
      }
     },
     "localname": "RelatedPartyTransactionResearchAndDevelopmentExpensesFromTransactionsWithRelatedParty",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperationsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ResearchAndDevelopmentTaxCreditCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of research and development tax credit included in prepaid expenses and other current assets, classified as current.",
        "label": "Research And Development Tax Credit Current",
        "terseLabel": "Research and development tax credit"
       }
      }
     },
     "localname": "ResearchAndDevelopmentTaxCreditCurrent",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ResearchAndDevelopmentTaxCreditsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Research and development tax credits.",
        "label": "Research And Development Tax Credits [Member]",
        "terseLabel": "Research and Development Tax credits"
       }
      }
     },
     "localname": "ResearchAndDevelopmentTaxCreditsMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ResearchInnovationFundFinancingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Research Innovation Fund Financing.",
        "label": "Research Innovation Fund Financing [Member]",
        "terseLabel": "Research Innovation Fund Financing"
       }
      }
     },
     "localname": "ResearchInnovationFundFinancingMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RollerWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Roller Warrants.",
        "label": "Roller Warrants [Member]",
        "terseLabel": "Roller Warrants"
       }
      }
     },
     "localname": "RollerWarrantsMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RomanHealthPharmacyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Roman health pharmacy LLC.",
        "label": "Roman Health Pharmacy L L C [Member]",
        "terseLabel": "Roman Health Pharmacy LLC"
       }
      }
     },
     "localname": "RomanHealthPharmacyLLCMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RoyaltyAndSublicenseIncomeAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Royalty and sublicense income agreement.",
        "label": "Royalty And Sublicense Income Agreement [Member]",
        "terseLabel": "Royalty and Sublicense Income Agreement"
       }
      }
     },
     "localname": "RoyaltyAndSublicenseIncomeAgreementMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RoyaltyExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Royalty expense.",
        "label": "Royalty Expense [Member]",
        "terseLabel": "Royalty Expense"
       }
      }
     },
     "localname": "RoyaltyExpenseMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_RoyaltyPaymentRequiredPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Royalty payment required percentage.",
        "label": "Royalty Payment Required Percentage",
        "terseLabel": "Royalty payment required percentage"
       }
      }
     },
     "localname": "RoyaltyPaymentRequiredPercentage",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gls_SSD2LLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SSD2 ,LLC.",
        "label": "S S D2 L L C [Member]",
        "terseLabel": "SSD2",
        "verboseLabel": "SSD2 LLC"
       }
      }
     },
     "localname": "SSD2LLCMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of accrued liabilities and other liabilities.",
        "label": "Schedule Of Accrued Liabilities And Other Liabilities [Table Text Block]",
        "terseLabel": "Schedule of Accrued Expenses"
       }
      }
     },
     "localname": "ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesTableTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_ScheduleOfActivityInProductRevenueReserveAndAllowanceTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of activity in product revenue reserve and allowance.",
        "label": "Schedule Of Activity In Product Revenue Reserve And Allowance [Table Text Block]",
        "terseLabel": "Summary of Activity in Product Revenue Reserve and Allowance"
       }
      }
     },
     "localname": "ScheduleOfActivityInProductRevenueReserveAndAllowanceTableTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_ScheduleOfNumberOfSharesIssuedAndImmediatelyConsummationOfBusinessCombinationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of number of shares issued and immediately consummation of business combination.",
        "label": "Schedule of Number of Shares Issued and Immediately Consummation of Business Combination [Table Text Block]",
        "terseLabel": "Schedule of Number of Shares Issued and Immediately Consummation of Business Combination"
       }
      }
     },
     "localname": "ScheduleOfNumberOfSharesIssuedAndImmediatelyConsummationOfBusinessCombinationTableTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_ScheduleOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of weighted average assumptions used to determine fair value of earnout liability.",
        "label": "Schedule Of Weighted Average Assumptions Used to Determine Fair Value of Earnout Liability [Table Text Block]",
        "terseLabel": "Summary of Weighted Average Assumptions Used to Determine Fair Value of Earnout Liability"
       }
      }
     },
     "localname": "ScheduleOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityTableTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_SeriesA3RedeemableConvertiblePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A-3 redeemable convertible preferred stock.",
        "label": "Series A3 Redeemable Convertible Preferred Stock [Member]",
        "terseLabel": "Series A-3 Redeemable Convertible Preferred Stock"
       }
      }
     },
     "localname": "SeriesA3RedeemableConvertiblePreferredStockMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_SeriesA4RedeemableConvertiblePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A4 redeemable convertible preferred stock.",
        "label": "Series A4 Redeemable Convertible Preferred Stock [Member]",
        "terseLabel": "Series A-4"
       }
      }
     },
     "localname": "SeriesA4RedeemableConvertiblePreferredStockMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_SeriesA4RedeemableConvertiblePreferredStockWarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Series A-4 redeemable convertible preferred stock warrant.",
        "label": "Series A4 Redeemable Convertible Preferred Stock Warrant [Member]",
        "terseLabel": "Series A-4 redeemable convertible preferred stock (\"Series A-4\")"
       }
      }
     },
     "localname": "SeriesA4RedeemableConvertiblePreferredStockWarrantMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAggregateIntrinsicValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Aggregate Intrinsic Value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Aggregate Intrinsic Value [Abstract]",
        "terseLabel": "Aggregate Intrinsic Value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAggregateIntrinsicValueAbstract",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gls_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTermAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Remaining Contractual Term.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Remaining Contractual Term [Abstract]",
        "terseLabel": "Weighted Average Remaining Contractual Term (Years)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTermAbstract",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gls_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsNonvestedOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangements by share based payment award options nonvested options forfeitures in period weighted average exercise price.",
        "label": "Share Based Compensation Arrangements by Share Based Payment Award Options Nonvested Options Forfeitures in Period Weighted Average Exercise Price",
        "terseLabel": "Weighted- Average Exercise Price per Share, Forfeited - unvested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsNonvestedOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gls_SignificantAgreementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Significant Agreements [Abstract]"
       }
      }
     },
     "localname": "SignificantAgreementsAbstract",
     "nsuri": "http://ir.gelesis.com/20220630",
     "xbrltype": "stringItemType"
    },
    "gls_SignificantAgreementsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant agreements.",
        "label": "Significant Agreements Disclosure [Text Block]",
        "terseLabel": "Significant Agreements"
       }
      }
     },
     "localname": "SignificantAgreementsDisclosureTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_Ssd2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SSD2.",
        "label": "SSD2 [Member]",
        "terseLabel": "SSD2"
       }
      }
     },
     "localname": "Ssd2Member",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_StockIssuedDuringPeriodSharesConverted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock Issued During Period Shares Converted",
        "label": "Stock Issued During Period Shares Converted",
        "terseLabel": "CPSR stockholders"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesConverted",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_StockIssuedDuringPeriodSharesExerciseOfWarrants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares, exercise of warrants.",
        "label": "Stock Issued During Period Shares, Exercise of Warrants",
        "terseLabel": "Exercise of warrants, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesExerciseOfWarrants",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_StockIssuedDuringPeriodSharesProceedsFromBusinessCombinationNetOfIssuanceCostsAndAssumedLiabilities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares, proceeds from business combination, net of issuance costs and assumed liabilities.",
        "label": "Stock Issued During Period Shares, Proceeds from Business Combination, Net of Issuance Costs and Assumed Liabilities",
        "terseLabel": "Proceeds from business combination, net of issuance costs and assumed liabilities, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesProceedsFromBusinessCombinationNetOfIssuanceCostsAndAssumedLiabilities",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_StockIssuedDuringPeriodValueConversionOfWarrantsUponBusinessCombination": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value, conversion of warrants upon business combination.",
        "label": "Stock Issued During Period Value, Conversion of Warrants upon Business Combination",
        "terseLabel": "Conversion of legacy gelesis preferred stock warrants into common stock warrants upon business combination"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueConversionOfWarrantsUponBusinessCombination",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_StockIssuedDuringPeriodValueExerciseOfWarrants": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value exercise of warrants.",
        "label": "Stock Issued During Period Value Exercise Of Warrants",
        "terseLabel": "Exercise of warrants"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueExerciseOfWarrants",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_StockIssuedDuringPeriodValueProceedsFromBusinessCombinationNetOfIssuanceCostsAndAssumedLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value, proceeds from business combination, net of issuance costs and assumed liabilities.",
        "label": "Stock Issued During Period Value, Proceeds from Business Combination, Net of Issuance Costs and Assumed Liabilities",
        "terseLabel": "Proceeds from business combination, net of issuance costs and assumed liabilities"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueProceedsFromBusinessCombinationNetOfIssuanceCostsAndAssumedLiabilities",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_StockOptionsAndRestrictedStockUnitsConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock options and restricted stock units conversion ratio.",
        "label": "Stock Options and Restricted Stock Units Conversion Ratio",
        "terseLabel": "stock options and restricted stock units conversion exchange ratio"
       }
      }
     },
     "localname": "StockOptionsAndRestrictedStockUnitsConversionRatio",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "gls_SummaryOfChangesInWarrantLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of changes in warrant liabilities.",
        "label": "Summary of Changes in Warrant Liabilities [Table Text Block]",
        "terseLabel": "Summary of Changes in Warrant Liabilities Activity"
       }
      }
     },
     "localname": "SummaryOfChangesInWarrantLiabilitiesTableTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_TemporaryEquityAccretionOfNoncontrollingInterestPutOptionToRedemptionValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary Equity Accretion of noncontrolling interest put option to redemption value.",
        "label": "Temporary Equity Accretion Of Noncontrolling Interest Put Option To Redemption Value",
        "terseLabel": "Temporary Equity, Accretion of noncontrolling interest put option to redemption value"
       }
      }
     },
     "localname": "TemporaryEquityAccretionOfNoncontrollingInterestPutOptionToRedemptionValue",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_TemporaryEquityAccretionOfSeniorPreferredStockToRedemptionValuePriorToBusinessCombination": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity, accretion of senior preferred stock to redemption value prior to business combination.",
        "label": "Temporary Equity, Accretion of Senior Preferred Stock to Redemption Value Prior to Business Combination",
        "terseLabel": "Temporary Equity, Accretion of legacy gelesis senior preferred stock to redemption value prior to business combination"
       }
      }
     },
     "localname": "TemporaryEquityAccretionOfSeniorPreferredStockToRedemptionValuePriorToBusinessCombination",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_TemporaryEquityExerciseOfWarrantsValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity exercise of warrants value.",
        "label": "Temporary Equity Exercise Of Warrants Value",
        "terseLabel": "Temporary Equity, Exercise of Legacy Gelesis preferred stock warrants"
       }
      }
     },
     "localname": "TemporaryEquityExerciseOfWarrantsValue",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_TemporaryEquitySharesExerciseOfWarrants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity shares exercise of warrants.",
        "label": "Temporary Equity Shares Exercise Of Warrants",
        "terseLabel": "Temporary Equity, Exercise of Legacy Gelesis preferred stock warrants, shares"
       }
      }
     },
     "localname": "TemporaryEquitySharesExerciseOfWarrants",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_TemporaryEquityStockIssuedDuringPeriodSharesConversionOfConvertibleSecurities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity, stock issued during period shares, conversion of convertible securities.",
        "label": "Temporary Equity, Stock Issued During Period Shares, Conversion of Convertible Securities",
        "terseLabel": "Temporary Equity, Conversion of legacy gelesis convertible preferred stock into common stock upon business combination, shares"
       }
      }
     },
     "localname": "TemporaryEquityStockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_TemporaryEquityStockIssuedDuringPeriodValueConversionOfConvertibleSecurities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary equity, stock issued during period value, conversion of convertible securities.",
        "label": "Temporary Equity, Conversion of Legacy Gelesis convertible preferred stock into common stock upon Business Combination",
        "terseLabel": "Temporary Equity, Conversion of legacy gelesis convertible preferred stock into common stock upon business combination"
       }
      }
     },
     "localname": "TemporaryEquityStockIssuedDuringPeriodValueConversionOfConvertibleSecurities",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_ThirdAmendedAndRestatedSupplyAndDistributionAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Third Amended and Restated Supply and Distribution Agreement.",
        "label": "Third Amended and Restated Supply and Distribution Agreement [Member]",
        "terseLabel": "Third Amended and Restated Supply and Distribution Agreement"
       }
      }
     },
     "localname": "ThirdAmendedAndRestatedSupplyAndDistributionAgreementMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_ThresholdNumberOfBusinessDaysBeforeSendingNoticeOfRedemptionToWarrantHolders": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Threshold number of business days before sending notice of redemption to warrant holders.",
        "label": "Threshold Number Of Business Days Before Sending Notice Of Redemption To Warrant Holders",
        "terseLabel": "Threshold number of business days before sending notice of redemption to warrant holders"
       }
      }
     },
     "localname": "ThresholdNumberOfBusinessDaysBeforeSendingNoticeOfRedemptionToWarrantHolders",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gls_ThresholdNumberOfBusinessDaysFollowingAQualifiedFinancing": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Threshold number of business days following a qualified financing.",
        "label": "Threshold number of business days following a qualified financing",
        "terseLabel": "Threshold number of business days following a qualified financing"
       }
      }
     },
     "localname": "ThresholdNumberOfBusinessDaysFollowingAQualifiedFinancing",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gls_ThresholdPeriodBeforeSharePriceConditionCommences": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Threshold period before share price condition commences.",
        "label": "Threshold Period Before Share Price Condition Commences",
        "terseLabel": "Threshold period before share price condition commences"
       }
      }
     },
     "localname": "ThresholdPeriodBeforeSharePriceConditionCommences",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "gls_TradingPriceForFutureVestingThresholdFirstThird": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading price for future vesting threshold of the first third.",
        "label": "Trading Price for Future Vesting Threshold, First Third",
        "terseLabel": "Trading price for future vesting threshold of the first third"
       }
      }
     },
     "localname": "TradingPriceForFutureVestingThresholdFirstThird",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gls_TradingPriceForFutureVestingThresholdSecondThird": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading price for future vesting threshold of the second third.",
        "label": "Trading Price For Future Vesting Threshold, Second Third",
        "terseLabel": "Trading price for future vesting threshold of the second third"
       }
      }
     },
     "localname": "TradingPriceForFutureVestingThresholdSecondThird",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gls_TradingPriceForFutureVestingThresholdThirdPortion": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading price for future vesting threshold of the third portion.",
        "label": "Trading Price For Future Vesting Threshold, Third Portion",
        "terseLabel": "Trading price for future vesting threshold of the third portion"
       }
      }
     },
     "localname": "TradingPriceForFutureVestingThresholdThirdPortion",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gls_TransactionCostsAdvisoryFeesAndLiabilitiesPaid": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails": {
       "order": 1.0,
       "parentTag": "gls_BusinessCombinationNetProceeds",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction costs advisory fees and liabilities paid",
        "label": "Transaction Costs Advisory Fees and Liabilities Paid",
        "negatedLabel": "Less: transaction costs, advisory fees and liabilities paid"
       }
      }
     },
     "localname": "TransactionCostsAdvisoryFeesAndLiabilitiesPaid",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_TwoThousandAndTwentyOneBridgeFinancingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand and twenty one bridge financing.",
        "label": "Two Thousand And Twenty One Bridge Financing [Member]",
        "terseLabel": "2021 Bridge Financing"
       }
      }
     },
     "localname": "TwoThousandAndTwentyOneBridgeFinancingMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_TwoThousandAndTwentyOneStockOptionPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand and twenty one stock option plan.",
        "label": "Two Thousand and Twenty One Stock Option Plan [Member]",
        "terseLabel": "2021 Stock Option Plan"
       }
      }
     },
     "localname": "TwoThousandAndTwentyOneStockOptionPlanMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_UniCreditLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "UniCredit loan.",
        "label": "Uni Credit Loan [Member]",
        "terseLabel": "UniCredit Loan"
       }
      }
     },
     "localname": "UniCreditLoanMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_WarrantConversionTerms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrant Conversion Terms",
        "label": "Warrant Conversion Terms",
        "terseLabel": "Warrant conversion terms"
       }
      }
     },
     "localname": "WarrantConversionTerms",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gls_WarrantLiabilitiesFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of warrant liabilities.",
        "label": "Warrant Liabilities Fair Value Disclosure",
        "terseLabel": "Legacy Gelesis preferred stock warrants (See Note 13)"
       }
      }
     },
     "localname": "WarrantLiabilitiesFairValueDisclosure",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_WarrantsDisclosuresTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the Warrants of financial instruments.",
        "label": "Warrants Disclosures [Text Block]",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantsDisclosuresTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrants"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_WarrantsExchangeRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants exchange ratio.",
        "label": "Warrants Exchange Ratio",
        "terseLabel": "Warrants exchange ratio"
       }
      }
     },
     "localname": "WarrantsExchangeRatio",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "gls_WarrantsExercised": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants exercised.",
        "label": "Warrants Exercised",
        "terseLabel": "Warrants exercised"
       }
      }
     },
     "localname": "WarrantsExercised",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_WarrantsOnCommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants on common stock.",
        "label": "Warrants On Common Stock [Member]",
        "terseLabel": "Warrants on Common Stock"
       }
      }
     },
     "localname": "WarrantsOnCommonStockMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_WarrantsOnConvertiblePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants on convertible preferred stock.",
        "label": "Warrants On Convertible Preferred Stock [Member]",
        "terseLabel": "Warrants on Convertible Preferred Stock"
       }
      }
     },
     "localname": "WarrantsOnConvertiblePreferredStockMember",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gls_WarrantsOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants outstanding.",
        "label": "Warrants Outstanding",
        "terseLabel": "Warrants outstanding"
       }
      }
     },
     "localname": "WarrantsOutstanding",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gls_WeightedAverageAssumptionsUsedToDetermineFairValueCallOptionTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average assumptions used to determine fair value call option.",
        "label": "Weighted Average Assumptions Used To Determine Fair value Call Option [Table Text Block]",
        "terseLabel": "Weighted Average Assumptions Used to Determine Fair Value of Call Option Liability"
       }
      }
     },
     "localname": "WeightedAverageAssumptionsUsedToDetermineFairValueCallOptionTableTextBlock",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gls_WeightedAverageEstimatedFairValueOfOwnershipInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average estimated fair value of ownership interest.",
        "label": "Weighted Average Estimated Fair Value Of Ownership Interest",
        "terseLabel": "Estimated fair value of ownership interest"
       }
      }
     },
     "localname": "WeightedAverageEstimatedFairValueOfOwnershipInterest",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_WeightedAverageExercisePriceOfCallOption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average exercise price Of Call Option",
        "label": "Weighted Average Exercise Price Of Call Option",
        "terseLabel": "Exercise price of call option"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceOfCallOption",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gls_WeightedAverageExpectedDividendYield": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average expected dividend yield.",
        "label": "Weighted Average Expected Dividend Yield",
        "terseLabel": "Expected dividend yield"
       }
      }
     },
     "localname": "WeightedAverageExpectedDividendYield",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "gls_WeightedAverageExpectedTermOfCallOptionLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average expected term of Call Option Liability",
        "label": "Weighted Average Expected Term Of Call Option Liability",
        "terseLabel": "Expected term"
       }
      }
     },
     "localname": "WeightedAverageExpectedTermOfCallOptionLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "gls_WeightedAverageExpectedVolatilityOfCallOptionLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average expected volatility of call option liability.",
        "label": "Weighted Average Expected Volatility Of Call Option Liability",
        "terseLabel": "Expected Volatility"
       }
      }
     },
     "localname": "WeightedAverageExpectedVolatilityOfCallOptionLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gls_WeightedAverageRiskFreeInterestOfCallOptionLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average risk free interest of call option liability.",
        "label": "Weighted Average Risk Free Interest Of Call Option Liability",
        "terseLabel": "Risk free interest rate"
       }
      }
     },
     "localname": "WeightedAverageRiskFreeInterestOfCallOptionLiability",
     "nsuri": "http://ir.gelesis.com/20220630",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r67",
      "r69",
      "r126",
      "r127",
      "r268",
      "r315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Method Investee Name [Domain]",
        "terseLabel": "Investment, Name"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r267",
      "r314",
      "r362",
      "r365",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r553",
      "r602",
      "r604",
      "r625",
      "r626"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r267",
      "r314",
      "r362",
      "r365",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r553",
      "r602",
      "r604",
      "r625",
      "r626"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum",
        "verboseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r188",
      "r347",
      "r349",
      "r556",
      "r601",
      "r603"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product Or Service [Axis]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r188",
      "r347",
      "r349",
      "r556",
      "r601",
      "r603"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Products And Services [Domain]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r267",
      "r314",
      "r351",
      "r362",
      "r365",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r553",
      "r602",
      "r604",
      "r625",
      "r626"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r267",
      "r314",
      "r351",
      "r362",
      "r365",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r553",
      "r602",
      "r604",
      "r625",
      "r626"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Member]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [
      "r68",
      "r69",
      "r126",
      "r127",
      "r268",
      "r315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreement Counterparty Name [Domain]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r1",
      "r130",
      "r131",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r140",
      "r141",
      "r142",
      "r143",
      "r144",
      "r145",
      "r159",
      "r207",
      "r208",
      "r404",
      "r418",
      "r457",
      "r458",
      "r459",
      "r460",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r642",
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [
      "r1",
      "r130",
      "r131",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r140",
      "r141",
      "r142",
      "r143",
      "r144",
      "r145",
      "r159",
      "r207",
      "r208",
      "r404",
      "r418",
      "r457",
      "r458",
      "r459",
      "r460",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r642",
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period [Domain]"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RevisionOfPriorPeriodAccountingStandardsUpdateAdjustmentMember": {
     "auth_ref": [
      "r1",
      "r133",
      "r134",
      "r138",
      "r145",
      "r207",
      "r208",
      "r404",
      "r418",
      "r457",
      "r460",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r642",
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period, Accounting Standards Update, Adjustment [Member]",
        "terseLabel": "Retroactive Application of Reverse Recapitalization",
        "verboseLabel": "Retroactive Application of Recapitalization"
       }
      }
     },
     "localname": "RevisionOfPriorPeriodAccountingStandardsUpdateAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioPreviouslyReportedMember": {
     "auth_ref": [
      "r1",
      "r130",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r140",
      "r141",
      "r143",
      "r144",
      "r159",
      "r207",
      "r208",
      "r404",
      "r418",
      "r457",
      "r458",
      "r459",
      "r460",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r642",
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Previously Reported [Member]",
        "terseLabel": "Previously Reported"
       }
      }
     },
     "localname": "ScenarioPreviouslyReportedMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r139",
      "r145",
      "r363"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Equity Method Investment Equity Method Investee Name [Axis]",
        "terseLabel": "Investment, Name"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r139",
      "r145",
      "r239",
      "r363",
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r191",
      "r512"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r44",
      "r518"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable Current",
        "terseLabel": "Accounts payable, including due to related party of $303 and $147, respectively",
        "totalLabel": "Accounts Payable, Current, Total",
        "verboseLabel": "Outstanding accounts payable and remaining undiscounted payments, related parties"
       }
      }
     },
     "localname": "AccountsPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableRelatedPartiesCurrent": {
     "auth_ref": [
      "r44",
      "r125",
      "r511",
      "r513"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount for accounts payable to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable Related Parties Current",
        "terseLabel": "Due to related party, accounts payable",
        "verboseLabel": "Accounts payable, due to related party"
       }
      }
     },
     "localname": "AccountsPayableRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r6",
      "r23",
      "r192",
      "r193"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable Net Current",
        "terseLabel": "Accounts receivable",
        "totalLabel": "Accounts Receivable, after Allowance for Credit Loss, Current, Total"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedIncomeTaxesCurrent": {
     "auth_ref": [
      "r17",
      "r573",
      "r588"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all currently due domestic and foreign income tax obligations.",
        "label": "Accrued Income Taxes, Current",
        "terseLabel": "Tax payable"
       }
      }
     },
     "localname": "AccruedIncomeTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other.",
        "label": "Accrued Liabilities and Other Liabilities",
        "totalLabel": "Total accrued expenses"
       }
      }
     },
     "localname": "AccruedLiabilitiesAndOtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Liabilities Current",
        "terseLabel": "Accrued expenses and other current liabilities, including due to related party of $2,791 and $5,664 respectively",
        "totalLabel": "Total accrued expenses"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r41",
      "r230"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation Depletion And Amortization Property Plant And Equipment",
        "negatedLabel": "Less accumulated depreciation",
        "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"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r26",
      "r74",
      "r75",
      "r76",
      "r590",
      "r610",
      "r614"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income Loss Net Of Tax",
        "terseLabel": "Accumulated other comprehensive (loss) income",
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r73",
      "r76",
      "r83",
      "r84",
      "r85",
      "r130",
      "r131",
      "r132",
      "r443",
      "r605",
      "r606",
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "Accumulated Other Comprehensive Income [Member]",
        "terseLabel": "Accumulated Other Comprehensive (Loss) Income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r24",
      "r404",
      "r518"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid In Capital",
        "negatedLabel": "Additional paid-in capital",
        "periodEndLabel": "Additional Paid in Capital, Ending Balance",
        "periodStartLabel": "Additional Paid in Capital, Beginning Balance",
        "terseLabel": "Additional paid-in capital",
        "totalLabel": "Additional Paid in Capital, Total"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r130",
      "r131",
      "r132",
      "r401",
      "r402",
      "r403",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid In Capital [Member]",
        "terseLabel": "Additional Paid-in Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) to additional paid-in capital (APIC) for recognition and exercise of award under share-based payment arrangement.",
        "label": "Adjustments To Additional Paid In Capital Sharebased Compensation And Exercise Of Stock Options",
        "terseLabel": "Issuance of common stock upon exercise of stock options"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r366",
      "r368",
      "r407",
      "r408"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value",
        "terseLabel": "Stock based compensation expense",
        "totalLabel": "APIC, Share-based Payment Arrangement, Increase for Cost Recognition, Total"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net loss to net cash used in operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r368",
      "r397",
      "r406"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Allocated Share Based Compensation Expense",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesTextBlock": {
     "auth_ref": [
      "r195"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for allowance for credit losses.",
        "label": "Allowance For Credit Losses [Text Block]",
        "terseLabel": "Product Revenue and Reserve and Allowances"
       }
      }
     },
     "localname": "AllowanceForCreditLossesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowances1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r111",
      "r224",
      "r227"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization Of Intangible Assets",
        "negatedLabel": "Amortization expense",
        "terseLabel": "Amortization of intangible assets",
        "totalLabel": "Amortization of Intangible Assets, Total"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded From Computation Of Earnings Per Share Amount",
        "terseLabel": "Anti-dilutive securities excluded from computation of net loss per share"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of antidilutive security.",
        "label": "Antidilutive Securities Excluded From Computation Of Earnings Per Share By Antidilutive Securities [Axis]",
        "terseLabel": "Antidilutive Securities"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]",
        "terseLabel": "Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
        "label": "Antidilutive Securities Name [Domain]",
        "terseLabel": "Antidilutive Securities, Name"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AreaOfLand": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area of land held.",
        "label": "Area Of Land",
        "terseLabel": "Area of land"
       }
      }
     },
     "localname": "AreaOfLand",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetails"
     ],
     "xbrltype": "areaItemType"
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Arrangements And Nonarrangement Transactions [Member]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative"
       }
      }
     },
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r122",
      "r177",
      "r180",
      "r186",
      "r205",
      "r251",
      "r252",
      "r253",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r262",
      "r263",
      "r438",
      "r444",
      "r477",
      "r516",
      "r518",
      "r571",
      "r587"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "Total assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r9",
      "r11",
      "r66",
      "r122",
      "r205",
      "r251",
      "r252",
      "r253",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r262",
      "r263",
      "r438",
      "r444",
      "r477",
      "r516",
      "r518"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets Current [Abstract]",
        "terseLabel": "Current assets:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r369",
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r449",
      "r450"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r361",
      "r364"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r361",
      "r364",
      "r428",
      "r429"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition.",
        "label": "Business Acquisition, Transaction Costs",
        "terseLabel": "Business combination, direct transaction costs"
       }
      }
     },
     "localname": "BusinessAcquisitionCostOfAcquiredEntityTransactionCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationAcquisitionRelatedCosts": {
     "auth_ref": [
      "r427"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities.",
        "label": "Business Combination, Acquisition Related Costs",
        "terseLabel": "Business combination, acquisition-related costs"
       }
      }
     },
     "localname": "BusinessCombinationAcquisitionRelatedCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiability": {
     "auth_ref": [
      "r430",
      "r431",
      "r432"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent consideration in a business combination.",
        "label": "Business Combination, Contingent Consideration, Liability",
        "terseLabel": "Liability upon the closing of business combination",
        "totalLabel": "Business Combination, Contingent Consideration, Liability, Total"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock": {
     "auth_ref": [
      "r3",
      "r129",
      "r172"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the business description and basis of presentation concepts.  Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity.  Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Business Description And Basis Of Presentation [Text Block]",
        "terseLabel": "Nature of the Business and Basis of Presentation"
       }
      }
     },
     "localname": "BusinessDescriptionAndBasisOfPresentationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CallOptionMember": {
     "auth_ref": [
      "r615",
      "r616",
      "r617",
      "r618",
      "r619",
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial contract between two parties, the buyer and the seller of the option, where the buyer has the right but not the obligation to buy an agreed quantity of a particular commodity or financial instrument (the underlying instrument) from the seller of the option for a certain price (the strike price). Seller is obligated to sell the asset to the buyer, if the buyer exercises the option.",
        "label": "Call Option [Member]",
        "terseLabel": "Call Option"
       }
      }
     },
     "localname": "CallOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r4",
      "r39",
      "r113"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash And Cash Equivalents At Carrying Value",
        "periodEndLabel": "Cash and Cash Equivalents, at Carrying Value, Ending Balance",
        "periodStartLabel": "Cash and Cash Equivalents, at Carrying Value, Beginning Balance",
        "terseLabel": "Cash and cash equivalents",
        "totalLabel": "Cash and Cash Equivalents, at Carrying Value, Total"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r106",
      "r113",
      "r115"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents",
        "periodEndLabel": "Cash and cash equivalents at end of period",
        "periodStartLabel": "Cash and cash equivalents at beginning of year",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r106",
      "r484"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Period Increase Decrease Including Exchange Rate Effect",
        "totalLabel": "Net decrease in cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r119",
      "r122",
      "r148",
      "r149",
      "r150",
      "r153",
      "r155",
      "r162",
      "r163",
      "r164",
      "r205",
      "r251",
      "r256",
      "r257",
      "r258",
      "r262",
      "r263",
      "r311",
      "r312",
      "r317",
      "r321",
      "r477",
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class Of Stock [Domain]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class of Stock [Line Items]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRightAxis": {
     "auth_ref": [
      "r336",
      "r367"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of warrant or right issued.",
        "label": "Class Of Warrant Or Right [Axis]",
        "terseLabel": "Class of Warrant or Right"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRightDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the class or type of warrant or right outstanding. Warrants and rights represent derivative securities that give the holder the right to purchase securities (usually equity) from the issuer at a specific price within a certain time frame. Warrants are often included in a new debt issue to entice investors by a higher return potential. The main difference between warrants and call options is that warrants are issued and guaranteed by the company, whereas options are exchange instruments and are not issued by the company. Also, the lifetime of a warrant is often measured in years, while the lifetime of a typical option is measured in months.",
        "label": "Class Of Warrant Or Right [Domain]",
        "terseLabel": "Class of Warrant or Right"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Exercise Price of Warrants or Rights",
        "terseLabel": "Exercise price of warrants"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ClassOfWarrantOrRightLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class Of Warrant Or Right [Line Items]",
        "terseLabel": "Class Of Warrant Or Right [Line Items]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights": {
     "auth_ref": [
      "r329"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares.",
        "label": "Class of Warrant or Right, Number of Securities Called by Warrants or Rights",
        "terseLabel": "Sale of Private Placement Warrants (in shares)",
        "verboseLabel": "Warrants to purchase common stock"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Outstanding",
        "terseLabel": "Number of warrants outstanding",
        "verboseLabel": "Common stock warrants"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightTable": {
     "auth_ref": [
      "r336",
      "r367"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure for warrants or rights issued, which includes the title of issue of securities called for by warrants and rights outstanding, the aggregate amount of securities called for by warrants and rights outstanding, the date from which the warrants or rights are exercisable, and the price at which the warrant or right is exercisable.",
        "label": "Class Of Warrant Or Right [Table]",
        "terseLabel": "Class Of Warrant Or Right [Table]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]",
        "terseLabel": "Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items]"
       }
      }
     },
     "localname": "CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r56",
      "r238",
      "r578",
      "r595"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments And Contingencies",
        "terseLabel": "Commitments and contingencies (Note 19)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments And Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r235",
      "r236",
      "r237",
      "r245",
      "r621"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments And Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification of common stock representing ownership interest in a corporation.",
        "label": "Common Class A [Member]",
        "terseLabel": "Class A common stock"
       }
      }
     },
     "localname": "CommonClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate number of common shares reserved for future issuance.",
        "label": "Common Stock, Capital Shares Reserved for Future Issuance",
        "totalLabel": "Total common stock reserved for future issuance"
       }
      }
     },
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r130",
      "r131",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock Par Or Stated Value Per Share",
        "terseLabel": "Common stock, par value",
        "verboseLabel": "Common shares, par value (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock Shares Authorized",
        "terseLabel": "Common stock, shares authorized",
        "verboseLabel": "Common shares, shares authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock Shares Issued",
        "terseLabel": "Common stock, shares issued",
        "totalLabel": "Common Stock, Shares, Issued, Total",
        "verboseLabel": "Common shares, shares issued (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r22",
      "r328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common shares, shares outstanding (in shares)",
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "terseLabel": "Common stock, shares outstanding",
        "verboseLabel": "Total common stock immediately after Closing"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r22",
      "r518"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock Value",
        "periodEndLabel": "Common Stock, Value, Issued, Ending Balance",
        "periodStartLabel": "Common Stock, Value, Issued, Beginning Balance",
        "terseLabel": "Common stock, $0.0001 par value - 900,000,000 shares authorized at June 30, 2022; 72,552,477 shares issued and outstanding at June 30, 2022; 125,961,571 shares authorized at December 31, 2021; 6,248,192 shares issued and outstanding at December 31, 2021",
        "totalLabel": "Common Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationRelatedCostsPolicyTextBlock": {
     "auth_ref": [
      "r374"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for salaries, bonuses, incentive awards, postretirement and postemployment benefits granted to employees, including equity-based arrangements; discloses methodologies for measurement, and the bases for recognizing related assets and liabilities and recognizing and reporting compensation expense.",
        "label": "Compensation Related Costs Policy [Text Block]",
        "terseLabel": "Stock-Based Compensation"
       }
      }
     },
     "localname": "CompensationRelatedCostsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r79",
      "r81",
      "r82",
      "r89",
      "r581",
      "r598"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income Net Of Tax",
        "totalLabel": "Comprehensive loss"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConstructionInProgressMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.",
        "label": "Construction in Progress [Member]",
        "terseLabel": "Construction in Process"
       }
      }
     },
     "localname": "ConstructionInProgressMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerRefundLiability": {
     "auth_ref": [
      "r348"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability for consideration received or receivable from customer which is not included in transaction price, when consideration is expected to be refunded to customer.",
        "label": "Contract With Customer Refund Liability",
        "terseLabel": "Deferred income",
        "totalLabel": "Contract with Customer, Refund Liability, Total"
       }
      }
     },
     "localname": "ContractWithCustomerRefundLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerRefundLiabilityCurrent": {
     "auth_ref": [
      "r348"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability for consideration received or receivable from customer which is not included in transaction price, when consideration is expected to be refunded to customer, classified as current.",
        "label": "Contract With Customer Refund Liability Current",
        "terseLabel": "Deferred income, current liability"
       }
      }
     },
     "localname": "ContractWithCustomerRefundLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertiblePreferredStockMember": {
     "auth_ref": [
      "r311",
      "r312",
      "r317"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred stock that may be exchanged into common shares or other types of securities at the owner's option.",
        "label": "Convertible Preferred Stock [Member]",
        "terseLabel": "Convertible Preferred Stock"
       }
      }
     },
     "localname": "ConvertiblePreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConvertiblePreferredStockTermsOfConversion": {
     "auth_ref": [
      "r20",
      "r21",
      "r329",
      "r332",
      "r333",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of conversion terms for preferred stock.",
        "label": "Preferred Stock, Convertible, Terms",
        "terseLabel": "Convertible preferred stock, terms of conversion"
       }
      }
     },
     "localname": "ConvertiblePreferredStockTermsOfConversion",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r93",
      "r556"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.",
        "label": "Cost Of Goods And Services Sold",
        "terseLabel": "Costs of goods sold, including related party expenses of $359 and $87, respectively, and $659 and $211, respectively",
        "totalLabel": "Cost of Goods and Services Sold, Total"
       }
      }
     },
     "localname": "CostOfGoodsAndServicesSold",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostsAndExpenses": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total costs of sales and operating expenses for the period.",
        "label": "Costs and Expenses",
        "terseLabel": "Total operating expenses",
        "totalLabel": "Total operating expenses"
       }
      }
     },
     "localname": "CostsAndExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostsAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Costs and Expenses [Abstract]",
        "terseLabel": "Operating expenses:"
       }
      }
     },
     "localname": "CostsAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r118",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r281",
      "r288",
      "r289",
      "r291",
      "r299"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r16",
      "r17",
      "r18",
      "r121",
      "r128",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r271",
      "r277",
      "r278",
      "r279",
      "r280",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r295",
      "r296",
      "r297",
      "r298",
      "r497",
      "r572",
      "r574",
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r18",
      "r292",
      "r574",
      "r586"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Debt Instrument Carrying Amount",
        "terseLabel": "Total debt obligation carrying amount",
        "totalLabel": "Total debt obligation carrying amount",
        "verboseLabel": "Total debt obligation"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r264",
      "r295",
      "r296",
      "r495",
      "r497",
      "r498"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Aggregate principal amount of notes"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r51",
      "r265"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument Interest Rate Stated Percentage",
        "terseLabel": "Interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "auth_ref": [
      "r52",
      "r267",
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format.",
        "label": "Debt Instrument, Maturity Date",
        "terseLabel": "Maturity date"
       }
      }
     },
     "localname": "DebtInstrumentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r53",
      "r121",
      "r128",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r271",
      "r277",
      "r278",
      "r279",
      "r280",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r295",
      "r296",
      "r297",
      "r298",
      "r497"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r53",
      "r121",
      "r128",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r271",
      "r277",
      "r278",
      "r279",
      "r280",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r290",
      "r295",
      "r296",
      "r297",
      "r298",
      "r329",
      "r332",
      "r333",
      "r334",
      "r494",
      "r495",
      "r497",
      "r498",
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Debt Instrument [Table]",
        "terseLabel": "Debt Instrument [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "auth_ref": [
      "r277",
      "r293",
      "r295",
      "r296",
      "r496"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs.",
        "label": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net",
        "negatedLabel": "Unamortized loan discount and issuance costs",
        "terseLabel": "More than 5 years",
        "totalLabel": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Costs Capitalized Prepaid And Other Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts paid in advance for capitalized costs that will be expensed with the passage of time or the occurrence of a triggering event, and will be charged against earnings within one year or the normal operating cycle, if longer; the aggregate carrying amount of current assets, not separately presented elsewhere in the balance sheet; and other deferred costs.",
        "label": "Deferred Costs Capitalized Prepaid And Other Assets Disclosure [Text Block]",
        "terseLabel": "Schedule of Prepaid Expenses and Other Current Assets"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePrepaidExpensesAndOtherCurrentAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredIncomeCurrent": {
     "auth_ref": [
      "r248"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income excluding obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Deferred Income Current",
        "terseLabel": "Deferred income"
       }
      }
     },
     "localname": "DeferredIncomeCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueNoncurrent": {
     "auth_ref": [
      "r30"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as noncurrent.",
        "label": "Deferred Revenue Noncurrent",
        "terseLabel": "Deferred income",
        "totalLabel": "Deferred Revenue, Noncurrent, Total"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r111",
      "r228"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation",
        "totalLabel": "Depreciation, Total"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentDetailAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument Detail [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentDetailAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeLiabilityMeasurementInput": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure derivative liability.",
        "label": "Derivative Liability Measurement Input",
        "terseLabel": "Private Placement Warrants"
       }
      }
     },
     "localname": "DerivativeLiabilityMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_DerivativesAndFairValueTextBlock": {
     "auth_ref": [
      "r461",
      "r476"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivatives and fair value of assets and liabilities.",
        "label": "Derivatives and Fair Value [Text Block]",
        "terseLabel": "Earnout Liability"
       }
      }
     },
     "localname": "DerivativesAndFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiability1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivatives, Fair Value [Line Items]"
       }
      }
     },
     "localname": "DerivativesFairValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Disclosure Of Compensation Related Costs Share Based Payments [Text Block]",
        "terseLabel": "Stock-Based Compensation"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r44",
      "r125",
      "r254",
      "r256",
      "r257",
      "r261",
      "r262",
      "r263",
      "r510"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Related Parties, Current",
        "terseLabel": "Outstanding accrued expenses and remaining undiscounted payments, related parties",
        "totalLabel": "Due to Related Parties, Current, Total",
        "verboseLabel": "Loan from related party"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasicAndDiluted": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements.  Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period.  Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share Basic And Diluted",
        "terseLabel": "Net loss per share attributable to common stockholders - basic and diluted",
        "totalLabel": "Earnings Per Share, Basic and Diluted, Total"
       }
      }
     },
     "localname": "EarningsPerShareBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r156",
      "r157",
      "r158",
      "r160"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings (Loss) Per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r484"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies. Excludes amounts for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "terseLabel": "Effect of exchange rates on cash"
       }
      }
     },
     "localname": "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r123",
      "r412",
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate",
        "terseLabel": "U.S statutory rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmployeeRelatedLiabilitiesCurrent": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Employee-related Liabilities, Current",
        "terseLabel": "Accrued payroll and related benefits",
        "totalLabel": "Employee-related Liabilities, Current, Total"
       }
      }
     },
     "localname": "EmployeeRelatedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureAccruedExpensesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r398"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Period For Recognition1",
        "terseLabel": "Weighted-average period of unrecognized compensation cost expected to be recognized"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions": {
     "auth_ref": [
      "r398"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost to be recognized for option under share-based payment arrangement.",
        "label": "Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Stock Options",
        "terseLabel": "Unrecognized compensation cost"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r83",
      "r84",
      "r85",
      "r130",
      "r131",
      "r132",
      "r134",
      "r141",
      "r144",
      "r161",
      "r206",
      "r328",
      "r335",
      "r401",
      "r402",
      "r403",
      "r417",
      "r418",
      "r458",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r605",
      "r606",
      "r607",
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityFundsMember": {
     "auth_ref": [
      "r352"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An investment that pools funds from many investors to invest in a combination of underlying investments, primarily equity investments.",
        "label": "Equity Funds [Member]",
        "terseLabel": "Marketable Securities"
       }
      }
     },
     "localname": "EquityFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment Ownership Percentage",
        "terseLabel": "Equity investment ownership percentage",
        "verboseLabel": "Equity interest acquired (as a percent)"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestmentQuotedMarketValue": {
     "auth_ref": [
      "r204"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the aggregate value of each identified investment accounted for under the equity method of accounting based on the quoted market price for those investments in common stock for which a quoted market price is available.",
        "label": "Equity Method Investment, Quoted Market Value",
        "terseLabel": "Cash consideration"
       }
      }
     },
     "localname": "EquityMethodInvestmentQuotedMarketValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAdjustmentOfWarrants": {
     "auth_ref": [
      "r111",
      "r300"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of warrant liability.",
        "label": "Fair Value Adjustment Of Warrants",
        "negatedLabel": "Change in the fair value of warrants",
        "terseLabel": "Change in the fair value of warrants"
       }
      }
     },
     "localname": "FairValueAdjustmentOfWarrants",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r462",
      "r463",
      "r464",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r279",
      "r295",
      "r296",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r360",
      "r463",
      "r526",
      "r527",
      "r528"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value By Fair Value Hierarchy Level [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r462",
      "r463",
      "r466",
      "r467",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Fair Value By Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r473"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r279",
      "r352",
      "r353",
      "r358",
      "r360",
      "r463",
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value Inputs Level1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r279",
      "r295",
      "r296",
      "r352",
      "r353",
      "r358",
      "r360",
      "r463",
      "r527"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value Inputs Level2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r279",
      "r295",
      "r296",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r360",
      "r463",
      "r528"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Inputs Level3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesLevel1ToLevel2TransfersAmount": {
     "auth_ref": [
      "r464"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of liabilities measured on a recurring basis out of Level 1 of the fair value hierarchy into Level 2.",
        "label": "Fair Value Liabilities Level1 To Level2 Transfers Amount",
        "terseLabel": "Liabilities, Transfer from Level 1 to Level 2"
       }
      }
     },
     "localname": "FairValueLiabilitiesLevel1ToLevel2TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueLiabilitiesLevel2ToLevel1TransfersAmount": {
     "auth_ref": [
      "r464"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of liabilities measured on a recurring basis out of Level 2 of the fair value hierarchy into Level 1.",
        "label": "Fair Value Liabilities Level2 To Level1 Transfers Amount",
        "terseLabel": "Liabilities, Transfer from Level 2 to Level 1"
       }
      }
     },
     "localname": "FairValueLiabilitiesLevel2ToLevel1TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisTextBlock": {
     "auth_ref": [
      "r462",
      "r463"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).  Where the quoted price in an active market for the identical liability is not available, the Level 1 input is the quoted price of an identical liability when traded as an asset.",
        "label": "Fair Value Liabilities Measured On Recurring Basis [Text Block]",
        "terseLabel": "Summary of Weighted Average Assumptions of Fair Value of Liabilities",
        "verboseLabel": "Schedule of Liabilities Measured at Fair Value on Recurring Basis"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r468",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of liabilities using significant unobservable inputs (level 3). Separately presenting changes during the period, attributable to: (1) total gains or losses for the period (realized and unrealized) and location reported in the statement of income (or activities); (2) purchases, sales, issuances, and settlements (net); (3) transfers in and/or out of Level 3.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r468",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability.",
        "label": "Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Text Block]",
        "terseLabel": "Summary of Changes in Fair Value of Company's Level 3 Financial Instruments"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Fair Value Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement Policy Policy [Text Block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersIntoLevel3": {
     "auth_ref": [
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of financial instrument classified as a liability into level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Liability, Transfers Into Level 3",
        "terseLabel": "Liabilities, Transfer into Level 3"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersIntoLevel3",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersOutOfLevel3": {
     "auth_ref": [
      "r472"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of financial instrument classified as a liability out of level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Liability, Transfers out of Level 3",
        "terseLabel": "Liabilities, Transfer out of Level 3"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersOutOfLevel3",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Gain Loss Included In Earnings",
        "terseLabel": "Change in fair value"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome": {
     "auth_ref": [
      "r470"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in other comprehensive income (OCI) from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Liability Gain Loss Included In Other Comprehensive Income",
        "negatedLabel": "Foreign currency translation (gain)/loss",
        "terseLabel": "Foreign currency translation gain/(loss)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements": {
     "auth_ref": [
      "r471"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of settlements of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements",
        "negatedLabel": "Settlement",
        "terseLabel": "Settlement"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r468"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliations Recurring Basis Liability Value",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r279",
      "r295",
      "r296",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r360",
      "r526",
      "r527",
      "r528"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Measurements Fair Value Hierarchy [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r473",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value Measurements Recurring [Member]",
        "terseLabel": "Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Transfers Between Level 1 and Level 2, Description and Policy [Abstract]"
       }
      }
     },
     "localname": "FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r449",
      "r451",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that discloses the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]"
       }
      }
     },
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r197",
      "r198",
      "r200",
      "r201",
      "r202",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r290",
      "r326",
      "r455",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialLiabilitiesFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial obligations, including, but not limited to, debt instruments, derivative liabilities, federal funds purchased and sold under agreements to repurchase, securities loaned or sold under agreements to repurchase, financial instruments sold not yet purchased, guarantees, line of credit, loans and notes payable, servicing liability, and trading liabilities.",
        "label": "Financial Liabilities Fair Value Disclosure",
        "terseLabel": "Earnout liability (See Note 14)",
        "totalLabel": "Financial Liabilities Fair Value Disclosure, Total"
       }
      }
     },
     "localname": "FinancialLiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of amortization expense of assets, excluding financial assets, that lack physical substance, having a limited useful life.",
        "label": "Finite Lived Intangible Assets Amortization Expense Table [Text Block]",
        "terseLabel": "Schedule of finite lived intangible assets amortization expense"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r226",
      "r557"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite Lived Intangible Assets Net",
        "periodEndLabel": "Intangible asset, ending balance",
        "periodStartLabel": "Intangible asset, beginning balance",
        "totalLabel": "Finite-Lived Intangible Assets, Net, Total"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossBeforeTax": {
     "auth_ref": [
      "r478",
      "r480",
      "r482",
      "r483"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement.",
        "label": "Foreign Currency Transaction Gain (Loss), before Tax",
        "negatedLabel": "Unrealized loss (gain) on foreign currency transactions",
        "totalLabel": "Foreign Currency Transaction Gain (Loss), before Tax, Total"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "auth_ref": [
      "r90"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing general and administrative expense.",
        "label": "General And Administrative Expense [Member]",
        "terseLabel": "General and Administrative",
        "verboseLabel": "General and Administrative Expense"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GrantsReceivableCurrent": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of amounts due under the terms of governmental, corporate, or foundation grants. For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
        "label": "Grants Receivable Current",
        "terseLabel": "Grants receivable"
       }
      }
     },
     "localname": "GrantsReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r87",
      "r177",
      "r179",
      "r182",
      "r185",
      "r187",
      "r570",
      "r579",
      "r583",
      "r599"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income Loss From Continuing Operations Before Income Taxes Extraordinary Items Noncontrolling Interest",
        "totalLabel": "Loss before income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r232",
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r123",
      "r413",
      "r414",
      "r416",
      "r419",
      "r422",
      "r424",
      "r425",
      "r426"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r124",
      "r143",
      "r144",
      "r176",
      "r411",
      "r420",
      "r423",
      "r600"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense Benefit",
        "terseLabel": "Provision for income taxes",
        "totalLabel": "Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesReceivable": {
     "auth_ref": [
      "r62",
      "r577",
      "r596"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount due within one year of the balance sheet date (or one operating cycle, if longer) from tax authorities as of the balance sheet date representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes.",
        "label": "Income Taxes Receivable, Current",
        "terseLabel": "Income tax receivable"
       }
      }
     },
     "localname": "IncomeTaxesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayable": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 33.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.",
        "label": "Increase Decrease In Accounts Payable",
        "terseLabel": "Accounts payable",
        "totalLabel": "Increase (Decrease) in Accounts Payable, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 27.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Increase Decrease In Accounts Receivable",
        "negatedLabel": "Account receivables"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in accrued expenses, and obligations classified as other.",
        "label": "Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities",
        "terseLabel": "Accrued expenses and other current liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInContractWithCustomerLiability": {
     "auth_ref": [
      "r110",
      "r554"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in obligation to transfer good or service to customer for which consideration has been received or is receivable.",
        "label": "Increase (Decrease) in Contract with Customer, Liability",
        "terseLabel": "Deferred income"
       }
      }
     },
     "localname": "IncreaseDecreaseInContractWithCustomerLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 31.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.",
        "label": "Increase Decrease In Inventories",
        "negatedLabel": "Inventories",
        "totalLabel": "Increase (Decrease) in Inventories, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInInventories",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease In Operating Capital [Abstract]",
        "terseLabel": "Changes in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingLeaseLiability": {
     "auth_ref": [
      "r110",
      "r503"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 35.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in obligation for operating lease.",
        "label": "Increase Decrease In Operating Lease Liability",
        "terseLabel": "Operating lease liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 37.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in noncurrent operating liabilities classified as other.",
        "label": "Increase Decrease In Other Noncurrent Liabilities",
        "terseLabel": "Other long-term liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherNoncurrentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets classified as other.",
        "label": "Increase (Decrease) in Other Operating Assets",
        "negatedLabel": "Other assets",
        "totalLabel": "Increase (Decrease) in Other Operating Assets, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 30.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase Decrease In Prepaid Deferred Expense And Other Assets",
        "negatedLabel": "Prepaid expenses and other current assets",
        "totalLabel": "Increase (Decrease) in Prepaid Expense and Other Assets, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r223",
      "r225"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets Net Excluding Goodwill",
        "terseLabel": "Intangible assets, net",
        "totalLabel": "Intangible Assets, Net (Excluding Goodwill), Total"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r86",
      "r175",
      "r493",
      "r496",
      "r582"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "negatedLabel": "Interest expense, net",
        "totalLabel": "Interest Expense, Total"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r103",
      "r108",
      "r114"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Interest paid on notes payable"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory Disclosure [Abstract]"
       }
      }
     },
     "localname": "InventoryDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InventoryDisclosureTextBlock": {
     "auth_ref": [
      "r219"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for inventory. Includes, but is not limited to, the basis of stating inventory, the method of determining inventory cost, the classes of inventory, and the nature of the cost elements included in inventory.",
        "label": "Inventory Disclosure [Text Block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventories"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InventoryFinishedGoodsNetOfReserves": {
     "auth_ref": [
      "r31",
      "r218"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of merchandise or goods held by the company that are readily available for sale.",
        "label": "Inventory Finished Goods Net Of Reserves",
        "terseLabel": "Finished goods"
       }
      }
     },
     "localname": "InventoryFinishedGoodsNetOfReserves",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryNet": {
     "auth_ref": [
      "r5",
      "r64",
      "r518"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
        "label": "Inventory Net",
        "terseLabel": "Inventories",
        "totalLabel": "Total inventories"
       }
      }
     },
     "localname": "InventoryNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryRawMaterialsNetOfReserves": {
     "auth_ref": [
      "r33",
      "r218"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of unprocessed items to be consumed in the manufacturing or production process.",
        "label": "Inventory Raw Materials Net Of Reserves",
        "terseLabel": "Raw materials"
       }
      }
     },
     "localname": "InventoryRawMaterialsNetOfReserves",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryWorkInProcessNetOfReserves": {
     "auth_ref": [
      "r32",
      "r218"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, net of reserves and adjustments, as of the balance sheet date of merchandise or goods which are partially completed. This inventory is generally comprised of raw materials, labor and factory overhead costs, which require further materials, labor and overhead to be converted into finished goods, and which generally require the use of estimates to determine percentage complete and pricing.",
        "label": "Inventory Work In Process Net Of Reserves",
        "terseLabel": "Work in process"
       }
      }
     },
     "localname": "InventoryWorkInProcessNetOfReserves",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentInterestRate": {
     "auth_ref": [
      "r196",
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest on investment.",
        "label": "Investment Interest Rate",
        "terseLabel": "Investments interest rate"
       }
      }
     },
     "localname": "InvestmentInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LandAndBuildingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Real estate held for productive use and structures used in the conduct of business, including but not limited to, office, production, storage and distribution facilities.",
        "label": "Land and Building [Member]",
        "terseLabel": "Land And Buildings"
       }
      }
     },
     "localname": "LandAndBuildingMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r229"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold Improvements"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
        "label": "Lessee Operating Lease Liability Maturity Table [Text Block]",
        "terseLabel": "Schedule of Future Maturities of the Lease Liability Under the Company's Noncancelable Operating Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r505"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfTheLeaseLiabilityUnderTheCompanysNoncancelableOperatingLeasesDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee Operating Lease Liability Payments Due",
        "terseLabel": "Total lease payments",
        "totalLabel": "Total undiscounted lease maturities",
        "verboseLabel": "Operating lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r505"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee Operating Lease Liability Payments Due Next Twelve Months",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r505"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee Operating Lease Liability Payments Due Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r505"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee Operating Lease Liability Payments Due Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r505"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee Operating Lease Liability Payments Due Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear": {
     "auth_ref": [
      "r505"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease having initial or remaining lease term in excess of one year to be paid in remainder of current fiscal year.",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Remainder of Fiscal Year",
        "terseLabel": "Remaining 2022 maturities"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r505"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfTheLeaseLiabilityUnderTheCompanysNoncancelableOperatingLeasesDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee Operating Lease Liability Undiscounted Excess Amount",
        "negatedLabel": "Imputed interest"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseRemainingLeaseTerm": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining lease term of operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Lessee Operating Lease Remaining Lease Term",
        "terseLabel": "Operating lease remaining lease terms"
       }
      }
     },
     "localname": "LesseeOperatingLeaseRemainingLeaseTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r48",
      "r122",
      "r181",
      "r205",
      "r251",
      "r252",
      "r253",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r262",
      "r263",
      "r439",
      "r444",
      "r445",
      "r477",
      "r516",
      "r517"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r29",
      "r122",
      "r205",
      "r477",
      "r518",
      "r576",
      "r593"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities And Stockholders Equity",
        "totalLabel": "Total liabilities, noncontrolling interest, redeemable convertible preferred stock and stockholders' equity (deficit)"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities And Stockholders Equity [Abstract]",
        "terseLabel": "LIABILITIES, REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS\u2019 DEFICIT"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r50",
      "r122",
      "r205",
      "r251",
      "r252",
      "r253",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r262",
      "r263",
      "r439",
      "r444",
      "r445",
      "r477",
      "r516",
      "r517",
      "r518"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities Current",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities Current [Abstract]",
        "terseLabel": "Current liabilities:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r462"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "Financial and Nonfinancial Liabilities, Fair Value Disclosure",
        "terseLabel": "Total liabilities measured at fair value"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Fair Value Disclosure [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LicenseMember": {
     "auth_ref": [
      "r349"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right to use intangible asset. Intangible asset includes, but is not limited to, patent, copyright, technology, manufacturing process, software or trademark.",
        "label": "License [Member]",
        "terseLabel": "Licensing Revenue, Net"
       }
      }
     },
     "localname": "LicenseMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r18",
      "r278",
      "r294",
      "r295",
      "r296",
      "r574",
      "r589"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureDebtSummaryOfNonconvertibleDebtOutstandingDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Debt",
        "terseLabel": "Principal amount",
        "totalLabel": "Total debt obligation carrying amount",
        "verboseLabel": "Total debt obligation carrying amount"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtCurrent": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureDebtSummaryOfNonconvertibleDebtOutstandingDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long Term Debt Current",
        "terseLabel": "Current portion",
        "totalLabel": "Long-term Debt, Current Maturities, Total"
       }
      }
     },
     "localname": "LongTermDebtCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive": {
     "auth_ref": [
      "r128",
      "r249",
      "r283"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, after Year Five",
        "terseLabel": "More than 5 years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "auth_ref": [
      "r128",
      "r249",
      "r283"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long Term Debt Maturities Repayments Of Principal In Next Twelve Months",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "auth_ref": [
      "r128",
      "r249",
      "r283"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "auth_ref": [
      "r128",
      "r249",
      "r283"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "auth_ref": [
      "r128",
      "r249",
      "r283"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear": {
     "auth_ref": [
      "r128"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in remainder of current fiscal year.",
        "label": "Long-Term Debt, Maturity, Remainder of Fiscal Year",
        "terseLabel": "Remaining 2022 obligation"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt arrangement having an initial term longer than one year or beyond the normal operating cycle, if longer.",
        "label": "Long Term Debt [Member]",
        "terseLabel": "Convertible Promissory Notes"
       }
      }
     },
     "localname": "LongTermDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebtNoncurrent": {
     "auth_ref": [
      "r53"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureDebtSummaryOfNonconvertibleDebtOutstandingDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after unamortized (discount) premium and debt issuance costs of long-term debt classified as noncurrent and excluding amounts to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long Term Debt Noncurrent",
        "terseLabel": "Long-term portion",
        "totalLabel": "Long-term Debt, Excluding Current Maturities, Total"
       }
      }
     },
     "localname": "LongTermDebtNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtTerm": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period between issuance and maturity of long-term debt, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Long Term Debt Term",
        "terseLabel": "Long term debt term"
       }
      }
     },
     "localname": "LongTermDebtTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_LongTermNotesPayable": {
     "auth_ref": [
      "r53"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.",
        "label": "Long Term Notes Payable",
        "terseLabel": "Notes payable, including due to related party of $15,223 and $16,523, respectively",
        "totalLabel": "Notes Payable, Noncurrent, Total"
       }
      }
     },
     "localname": "LongTermNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Longterm Debt Type [Axis]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r53",
      "r250"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Longterm Debt Type [Domain]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfFutureMaturitiesToNonConvertibleDebtOutstandingDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtSummaryOfNonConvertibleDebtOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LossContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Loss Contingencies [Line Items]",
        "terseLabel": "Loss Contingencies [Line Items]"
       }
      }
     },
     "localname": "LossContingenciesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesTable": {
     "auth_ref": [
      "r238",
      "r239",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r246",
      "r247"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses the specific components (such as the nature, name, and date) of the loss contingency and gives an estimate of the possible loss or range of loss, or states that a reasonable estimate cannot be made. Excludes environmental contingencies, warranties and unconditional purchase obligations.",
        "label": "Loss Contingencies [Table]",
        "terseLabel": "Loss Contingencies [Table]"
       }
      }
     },
     "localname": "LossContingenciesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MarketableSecuritiesGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in marketable security, including other-than-temporary impairment (OTTI).",
        "label": "Marketable Securities, Gain (Loss)",
        "negatedLabel": "Accretion on marketable securities",
        "totalLabel": "Marketable Securities, Gain (Loss), Total"
       }
      }
     },
     "localname": "MarketableSecuritiesGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MeasurementInputExercisePriceMember": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using agreed upon price for exchange of underlying asset.",
        "label": "Measurement Input Exercise Price [Member]",
        "terseLabel": "Exercise Price of Warrants",
        "verboseLabel": "Exercise Price of Call Option"
       }
      }
     },
     "localname": "MeasurementInputExercisePriceMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputExpectedDividendRateMember": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using expected dividend rate to be paid to holder of share per year.",
        "label": "Measurement Input Expected Dividend Rate [Member]",
        "terseLabel": "Expected Dividend Yield"
       }
      }
     },
     "localname": "MeasurementInputExpectedDividendRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputMaturityMember": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using due date of last payment of principal and interest for financial instrument. Excludes expected term.",
        "label": "Measurement Input, Maturity [Member]",
        "terseLabel": "Expected term"
       }
      }
     },
     "localname": "MeasurementInputMaturityMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputPriceVolatilityMember": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using rate at which price of security will increase (decrease) for given set of returns.",
        "label": "Measurement Input Price Volatility [Member]",
        "terseLabel": "Expected Volatility"
       }
      }
     },
     "localname": "MeasurementInputPriceVolatilityMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate on instrument with zero risk of financial loss.",
        "label": "Measurement Input Risk Free Interest Rate [Member]",
        "terseLabel": "Risk Free Interest Rate"
       }
      }
     },
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r63",
      "r122",
      "r205",
      "r251",
      "r256",
      "r257",
      "r258",
      "r262",
      "r263",
      "r477",
      "r575",
      "r592"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
        "label": "Minority Interest",
        "periodEndLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Beginning Balance",
        "terseLabel": "Noncontrolling interest",
        "totalLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r106"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided By Used In Financing Activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r106"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided By Used In Investing Activities",
        "totalLabel": "Net cash (used in) provided by investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Investing Activities [Abstract]",
        "terseLabel": "Cash flows from investing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r106",
      "r109",
      "r112"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided By Used In Operating Activities",
        "totalLabel": "Net cash used in operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r2",
      "r77",
      "r80",
      "r85",
      "r88",
      "r112",
      "r122",
      "r133",
      "r135",
      "r136",
      "r138",
      "r139",
      "r143",
      "r144",
      "r151",
      "r177",
      "r179",
      "r182",
      "r185",
      "r187",
      "r205",
      "r251",
      "r252",
      "r253",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r262",
      "r263",
      "r460",
      "r477",
      "r580",
      "r597"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income Loss",
        "terseLabel": "Net loss",
        "totalLabel": "Net loss"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income Loss [Abstract]",
        "terseLabel": "Numerator:"
       }
      }
     },
     "localname": "NetIncomeLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r135",
      "r136",
      "r138",
      "r139",
      "r146",
      "r147",
      "r152",
      "r155",
      "r177",
      "r179",
      "r182",
      "r185",
      "r187"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income Loss Available To Common Stockholders Basic",
        "totalLabel": "Net loss attributable to common stockholders"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash Investing And Financing Items [Abstract]",
        "terseLabel": "Noncash investing and financing activities:"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r130",
      "r131",
      "r132",
      "r335",
      "r434"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Noncontrolling Interest"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesPayableCurrent": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of the portions of long-term notes payable due within one year or the operating cycle if longer.",
        "label": "Notes Payable Current",
        "terseLabel": "Notes payable",
        "totalLabel": "Notes Payable, Current, Total"
       }
      }
     },
     "localname": "NotesPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableFairValueDisclosure": {
     "auth_ref": [
      "r47"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of notes payable.",
        "label": "Notes Payable, Fair Value Disclosure",
        "terseLabel": "Convertible promissory notes (see Note 12)"
       }
      }
     },
     "localname": "NotesPayableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableRelatedPartiesClassifiedCurrent": {
     "auth_ref": [
      "r43",
      "r125",
      "r511"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount for notes payable (written promise to pay), due to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Notes Payable, Related Parties, Current",
        "terseLabel": "Notes payable"
       }
      }
     },
     "localname": "NotesPayableRelatedPartiesClassifiedCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableRelatedPartiesNoncurrent": {
     "auth_ref": [
      "r54",
      "r125",
      "r510"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount for notes payable (written promise to pay), payable to related parties, which are due after one year (or one business cycle).",
        "label": "Notes Payable Related Parties Noncurrent",
        "terseLabel": "Notes payable, due to related party"
       }
      }
     },
     "localname": "NotesPayableRelatedPartiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r177",
      "r179",
      "r182",
      "r185",
      "r187"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income Loss",
        "totalLabel": "Loss from operations"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseExpense": {
     "auth_ref": [
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating lease expense. Excludes sublease income.",
        "label": "Operating Lease Expense",
        "terseLabel": "Operating lease expense"
       }
      }
     },
     "localname": "OperatingLeaseExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r500"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfTheLeaseLiabilityUnderTheCompanysNoncancelableOperatingLeasesDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease Liability",
        "terseLabel": "Total lease liability",
        "totalLabel": "Operating Lease, Liability, Total"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesScheduleOfFutureMaturitiesOfLeaseLiabilityUnderCompanySNoncancelableOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r500"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease Liability Current",
        "terseLabel": "Operating lease liabilities",
        "verboseLabel": "Short-term lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r500"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease Liability Noncurrent",
        "terseLabel": "Operating lease liabilities",
        "verboseLabel": "Long-term lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r499"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease Right Of Use Asset",
        "terseLabel": "Operating lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense": {
     "auth_ref": [
      "r111"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for right-of-use asset from operating lease.",
        "label": "Operating Lease, Right-of-Use Asset, Amortization Expense",
        "terseLabel": "Reduction in carrying amount of right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetAmortizationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r504",
      "r506"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating lease weighted average discount rate, percent"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OptionIndexedToIssuersEquityTypeAxis": {
     "auth_ref": [
      "r302",
      "r453",
      "r454",
      "r456"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of freestanding contracts issued by an entity that are indexed to, and potentially settled in, an entity's own stock.",
        "label": "Option Indexed to Issuer's Equity, Type [Axis]"
       }
      }
     },
     "localname": "OptionIndexedToIssuersEquityTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OptionIndexedToIssuersEquityTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the type of freestanding contract issued by a Company that is indexed to, and potentially settled in, a Company's own stock. Specifically, the pertinent rights and privileges of the securities outstanding.",
        "label": "Option Indexed to Issuer's Equity, Type [Domain]"
       }
      }
     },
     "localname": "OptionIndexedToIssuersEquityTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization Consolidation And Presentation Of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherAssetsMember": {
     "auth_ref": [
      "r449",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other assets.",
        "label": "Other Assets [Member]",
        "terseLabel": "Other Assets"
       }
      }
     },
     "localname": "OtherAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets Noncurrent",
        "terseLabel": "Other assets",
        "totalLabel": "Other Assets, Noncurrent, Total"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r436",
      "r437",
      "r442"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature, attributable to noncontrolling interests.",
        "label": "Other Comprehensive Income Foreign Currency Transaction And Translation Adjustment Net Of Tax Portion Attributable To Noncontrolling Interest",
        "terseLabel": "Foreign currency translation loss",
        "verboseLabel": "Foreign currency translation gain"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r71",
      "r74",
      "r479",
      "r481",
      "r485"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
        "label": "Other Comprehensive Income Foreign Currency Transaction And Translation Gain Loss Arising During Period Net Of Tax",
        "negatedLabel": "Foreign currency translation adjustment",
        "terseLabel": "Foreign currency translation adjustment"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
        "label": "Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax",
        "terseLabel": "Foreign currency translation adjustment",
        "totalLabel": "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r78",
      "r81",
      "r436",
      "r437",
      "r442"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
        "label": "Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent",
        "totalLabel": "Total other comprehensive (loss) income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent [Abstract]",
        "terseLabel": "Other comprehensive (loss) income:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r72",
      "r74"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and before adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "Other Comprehensive Income Unrealized Holding Gain Loss On Securities Arising During Period Net Of Tax",
        "terseLabel": "Unrealized loss on marketable securities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Liabilities Disclosure [Abstract]"
       }
      }
     },
     "localname": "OtherLiabilitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities Noncurrent",
        "terseLabel": "Other long-term liabilities, including due to related party of $3,062 and $2,416, respectively",
        "totalLabel": "Total other long-term liabilities",
        "verboseLabel": "Other long-term liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncashIncomeExpense": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) included in net income that results in no cash inflow (outflow), classified as other.",
        "label": "Other Noncash Income (Expense)",
        "negatedLabel": "Non-cash interest (income) expense",
        "totalLabel": "Other Noncash Income (Expense), Total"
       }
      }
     },
     "localname": "OtherNoncashIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncurrentLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of other noncurrent liabilities.",
        "label": "Other Noncurrent Liabilities Table [Text Block]",
        "terseLabel": "Other Long-Term Liabilities"
       }
      }
     },
     "localname": "OtherNoncurrentLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureOtherLongTermLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherNonoperatingIncome": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income",
        "terseLabel": "Other income"
       }
      }
     },
     "localname": "OtherNonoperatingIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r96"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income Expense",
        "terseLabel": "Other income, net",
        "totalLabel": "Other Nonoperating Income (Expense), Total"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PayablesAndAccrualsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payables And Accruals [Abstract]"
       }
      }
     },
     "localname": "PayablesAndAccrualsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r102"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments Of Debt Issuance Costs",
        "terseLabel": "Proceeds form issuance of promissory notes(net of issuance costs of $0 and $30, respectively)",
        "verboseLabel": "Payment of issuance costs"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlowsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireEquitySecuritiesFvNi": {
     "auth_ref": [
      "r104",
      "r199"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to acquire investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity.",
        "label": "Payments to Acquire Equity Securities, FV-NI",
        "terseLabel": "Payments related to acquisition"
       }
      }
     },
     "localname": "PaymentsToAcquireEquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments To Acquire Property Plant And Equipment",
        "negatedLabel": "Purchases of property and equipment",
        "totalLabel": "Payments to Acquire Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r369",
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockConvertibleConversionRatio": {
     "auth_ref": [
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common shares issuable upon conversion for each share of preferred stock to be converted.",
        "label": "Preferred Stock, Convertible, Conversion Ratio",
        "terseLabel": "Convertible preferred stock exchange ratio"
       }
      }
     },
     "localname": "PreferredStockConvertibleConversionRatio",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r21",
      "r311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock, par value"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r21",
      "r311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred Stock, Shares Issued",
        "terseLabel": "Preferred stock, shares issued",
        "totalLabel": "Preferred Stock, Shares Issued, Total"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock, Shares Outstanding",
        "periodEndLabel": "Preferred Stock, Shares Outstanding, Ending Balance",
        "periodStartLabel": "Preferred Stock, Shares Outstanding, Beginning Balance",
        "terseLabel": "Preferred stock, shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r21",
      "r518"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock, Value, Issued",
        "periodEndLabel": "Preferred Stock, Value, Issued, Ending Balance",
        "periodStartLabel": "Preferred Stock, Value, Issued, Beginning Balance",
        "terseLabel": "Preferred stock, $0.0001 par value - 250,000,000 shares authorized at June 30, 2022; zero shares issued and outstanding at June 30, 2022 and December 31, 2021",
        "totalLabel": "Preferred Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r9",
      "r37",
      "r38"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense And Other Assets Current",
        "terseLabel": "Prepaid expenses and other current assets",
        "totalLabel": "Prepaid expenses and other current assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseCurrent": {
     "auth_ref": [
      "r7",
      "r10",
      "r221",
      "r222"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense Current",
        "terseLabel": "Prepaid expenses",
        "totalLabel": "Prepaid Expense, Current, Total"
       }
      }
     },
     "localname": "PrepaidExpenseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidInsurance": {
     "auth_ref": [
      "r8",
      "r10",
      "r220",
      "r222"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for insurance that provides economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Insurance",
        "terseLabel": "Prepaid Insurance"
       }
      }
     },
     "localname": "PrepaidInsurance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrivatePlacementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A private placement is a direct offering of securities to a limited number of sophisticated investors such as insurance companies, pension funds, mezzanine funds, stock funds and trusts.",
        "label": "Private Placement [Member]",
        "terseLabel": "Private Placement"
       }
      }
     },
     "localname": "PrivatePlacementMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureWarrantsSummaryOfWarrantsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromDebtNetOfIssuanceCosts": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from additional borrowings, net of cash paid to third parties in connection with debt origination.",
        "label": "Proceeds from Debt, Net of Issuance Costs",
        "terseLabel": "Proceeds from issuance of promissory notes (net of issuance costs of $0 and $30, respectively)"
       }
      }
     },
     "localname": "ProceedsFromDebtNetOfIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromGrantors": {
     "auth_ref": [
      "r107"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received from grantors during the current period related to operating activities. This element represents receipts from a guarantor for the amount of guarantee provided.",
        "label": "Proceeds from Grantors",
        "terseLabel": "Grant proceeds collected"
       }
      }
     },
     "localname": "ProceedsFromGrantors",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r99"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Aggregate purchase price"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "auth_ref": [
      "r100"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt.",
        "label": "Proceeds from Issuance of Debt",
        "terseLabel": "Aggregate cash purchase price"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans": {
     "auth_ref": [
      "r99",
      "r400"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from issuance of shares under share-based payment arrangement. Excludes option exercised.",
        "label": "Proceeds, Issuance of Shares, Share-based Payment Arrangement, Excluding Option Exercised",
        "terseLabel": "Proceeds from exercise of share-based awards",
        "verboseLabel": "Issuance of common stock upon exercise of stock options"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "auth_ref": [
      "r99"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity.",
        "label": "Proceeds from Issuance or Sale of Equity",
        "terseLabel": "Proceeds from sale of equity investment",
        "totalLabel": "Proceeds from Issuance or Sale of Equity, Total"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the aggregate amount received by the entity through sale or maturity of marketable securities  (held-to-maturity or available-for-sale) during the period.",
        "label": "Proceeds from Sale and Maturity of Marketable Securities",
        "terseLabel": "Maturities of marketable securities",
        "totalLabel": "Proceeds from Sale and Maturity of Marketable Securities, Total"
       }
      }
     },
     "localname": "ProceedsFromSaleAndMaturityOfMarketableSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfEquityMethodInvestments": {
     "auth_ref": [
      "r97"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the sale of equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Proceeds From Sale Of Equity Method Investments",
        "terseLabel": "Proceeds from RIF"
       }
      }
     },
     "localname": "ProceedsFromSaleOfEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromWarrantExercises": {
     "auth_ref": [
      "r99"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from holders exercising their stock warrants.",
        "label": "Proceeds From Warrant Exercises",
        "terseLabel": "Proceeds from the exercise of warrants"
       }
      }
     },
     "localname": "ProceedsFromWarrantExercises",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProductInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Product Information [Line Items]",
        "terseLabel": "Product Information [Line Items]"
       }
      }
     },
     "localname": "ProductInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProductMember": {
     "auth_ref": [
      "r349"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Article or substance produced by nature, labor or machinery.",
        "label": "Product [Member]",
        "terseLabel": "Product Revenue, Net"
       }
      }
     },
     "localname": "ProductMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r2",
      "r77",
      "r80",
      "r85",
      "r105",
      "r122",
      "r133",
      "r143",
      "r144",
      "r177",
      "r179",
      "r182",
      "r185",
      "r187",
      "r205",
      "r251",
      "r252",
      "r253",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r262",
      "r263",
      "r436",
      "r440",
      "r441",
      "r447",
      "r448",
      "r460",
      "r477",
      "r583"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Profit Loss",
        "terseLabel": "Net loss",
        "totalLabel": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property Plant And Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r41",
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r233",
      "r622",
      "r623",
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property Plant And Equipment Disclosure [Text Block]",
        "terseLabel": "Property and Equipment, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r40",
      "r229"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property Plant And Equipment Gross",
        "periodEndLabel": "Property, Plant and Equipment, Gross, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Gross, Beginning Balance",
        "terseLabel": "Property and equipment - at cost",
        "totalLabel": "Property and equipment \u2013 at cost"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r14",
      "r15",
      "r231",
      "r518",
      "r584",
      "r594"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property Plant And Equipment Net",
        "periodEndLabel": "Property, Plant and Equipment, Net, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Net, Beginning Balance",
        "terseLabel": "Property and equipment, net",
        "totalLabel": "Property and equipment \u2013 net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r14",
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property Plant And Equipment [Text Block]",
        "terseLabel": "Schedule of Property and Equipment, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r14",
      "r229"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RedeemableConvertiblePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of type or class of redeemable convertible preferred stock. Convertible redeemable preferred stock possess conversion and redemption features. The stock has redemption features that are outside the control of the issuer.",
        "label": "Redeemable Convertible Preferred Stock [Member]",
        "terseLabel": "Legacy Gelesis Redeemable Convertible Preferred Stock",
        "verboseLabel": "Redeemable Convertible Preferred Stock"
       }
      }
     },
     "localname": "RedeemableConvertiblePreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount": {
     "auth_ref": [
      "r305",
      "r306",
      "r307",
      "r308"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "As of the reporting date, the aggregate carrying amount of all noncontrolling interests which are redeemable by the (parent) entity (1) at a fixed or determinable price on a fixed or determinable date, (2) at the option of the holder of the noncontrolling interest, or (3) upon occurrence of an event that is not solely within the control of the (parent) entity. This item includes noncontrolling interest holder's ownership (or holders' ownership) regardless of the type of equity interest (common, preferred, other) including all potential organizational (legal) forms of the investee entity.",
        "label": "Redeemable Noncontrolling Interest Equity Carrying Amount",
        "terseLabel": "Noncontrolling interest",
        "totalLabel": "Redeemable Noncontrolling Interest, Equity, Carrying Amount, Total"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestEquityCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyCosts": {
     "auth_ref": [
      "r94",
      "r125",
      "r254",
      "r256",
      "r257",
      "r261",
      "r262",
      "r263"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Direct costs arising from transactions with related parties who are not affiliates or joint Ventures. These costs are categorized as cost of goods sold.",
        "label": "Related Party Costs",
        "terseLabel": "Cost of goods sold, related party expense"
       }
      }
     },
     "localname": "RelatedPartyCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperationsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r359",
      "r509",
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r359",
      "r509",
      "r510",
      "r513"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]",
        "terseLabel": "Related Party Transaction"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r359"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]",
        "terseLabel": "Related Party Transaction"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty": {
     "auth_ref": [
      "r509"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party.",
        "label": "Related Party Transaction, Expenses from Transactions with Related Party",
        "terseLabel": "Research and development, including related party expenses"
       }
      }
     },
     "localname": "RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of selling, general and administrative expenses resulting from transactions, excluding transactions that are eliminated in consolidated or combined financial statements, with related party.",
        "label": "Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party",
        "terseLabel": "Selling, general and administrative, related party expense"
       }
      }
     },
     "localname": "RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperationsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r359",
      "r509",
      "r513",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party Transactions By Related Party [Axis]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r507",
      "r508",
      "r510",
      "r514",
      "r515"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebt": {
     "auth_ref": [
      "r101"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer.",
        "label": "Repayments of Long-term Debt",
        "terseLabel": "Repayment of debt",
        "totalLabel": "Repayments of Long-term Debt, Total"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation.",
        "label": "Repayments Of Notes Payable",
        "negatedLabel": "Principal repayment of notes payable"
       }
      }
     },
     "localname": "RepaymentsOfNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfRelatedPartyDebt": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the payment of a long-term borrowing made from a related party where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Payments for Advances from Affiliates.",
        "label": "Repayments of Related Party Debt",
        "negatedLabel": "Repayment of convertible promissory notes due to related party, held at fair value"
       }
      }
     },
     "localname": "RepaymentsOfRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpense": {
     "auth_ref": [
      "r410",
      "r555",
      "r627"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate costs incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process whether intended for sale or the entity's use, during the reporting period charged to research and development projects, including the costs of developing computer software up to the point in time of achieving technological feasibility, and costs allocated in accounting for a business combination to in-process projects deemed to have no alternative future use.",
        "label": "Research and Development Expense",
        "terseLabel": "Research and development, including related party expenses of $57 and $64, respectively, and $119 and $130, respectively",
        "totalLabel": "Research and Development Expense, Total"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption in which the reported facts about research and development expense have been included.",
        "label": "Research And Development Expense [Member]",
        "terseLabel": "Research and Development",
        "verboseLabel": "Research and Development Expense"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock Units R S U [Member]",
        "terseLabel": "Restricted Stock Units (RSUs)"
       }
      }
     },
     "localname": "RestrictedStockUnitsRSUMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r25",
      "r335",
      "r404",
      "r518",
      "r591",
      "r609",
      "r614"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings Accumulated Deficit",
        "periodEndLabel": "Retained Earnings (Accumulated Deficit), Ending Balance",
        "periodStartLabel": "Retained Earnings (Accumulated Deficit), Beginning Balance",
        "terseLabel": "Accumulated deficit",
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r130",
      "r131",
      "r132",
      "r134",
      "r141",
      "r144",
      "r206",
      "r401",
      "r402",
      "r403",
      "r417",
      "r418",
      "r458",
      "r605",
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Accumulated Deficit"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue From Contract With Customer [Abstract]"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "auth_ref": [
      "r173",
      "r174",
      "r178",
      "r183",
      "r184",
      "r188",
      "r189",
      "r190",
      "r346",
      "r347",
      "r556"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
        "label": "Revenue From Contract With Customer Excluding Assessed Tax",
        "terseLabel": "Total revenue, net",
        "totalLabel": "Revenue from Contract with Customer, Excluding Assessed Tax, Total",
        "verboseLabel": "Revenue"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r117",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue From Contract With Customer Policy [Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "Revenue:"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule for securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by Antidilutive Securities.",
        "label": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table]",
        "terseLabel": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table]"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities.",
        "label": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Text Block]",
        "terseLabel": "Schedule of Anti-dilutive Securities Excluded from Computation of Net Loss Per Share"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r428",
      "r429"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationSummaryOfNetProceedsFromBusinessCombinationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock": {
     "auth_ref": [
      "r428",
      "r429"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of a material business combination completed during the period, including background, timing, and recognized assets and liabilities. This table  does not include leveraged buyouts.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table Text Block]",
        "terseLabel": "Summary of Net Proceeds from Business Combination"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable": {
     "auth_ref": [
      "r433"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Schedule Of Collaborative Arrangements And Noncollaborative Arrangement Transactions [Table]",
        "terseLabel": "Schedule Of Collaborative Arrangements And Noncollaborative Arrangement Transactions [Table]"
       }
      }
     },
     "localname": "ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfChangesInFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsSummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfCallOptionLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule Of Debt Table [Text Block]",
        "terseLabel": "Summary of Non-convertible Debt Outstanding"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock": {
     "auth_ref": [
      "r451"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Schedule of Derivative Instruments in Statement of Financial Position, Fair Value [Table Text Block]",
        "terseLabel": "Summary of Earnout Liability Activity"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r155"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule Of Earnings Per Share Basic And Diluted Table [Text Block]",
        "terseLabel": "Summary of Basic and Diluted Net Loss Per Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "auth_ref": [
      "r368",
      "r396",
      "r406"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allocation of amount expensed and capitalized for award under share-based payment arrangement to statement of income or comprehensive income and statement of financial position. Includes, but is not limited to, corresponding line item in financial statement.",
        "label": "Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Text Block]",
        "terseLabel": "Summary of Stock-Based Compensation Expense"
       }
      }
     },
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock": {
     "auth_ref": [
      "r188"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of entity-wide revenues from external customers for each product or service or each group of similar products or services if the information is not provided as part of the reportable operating segment information.",
        "label": "Revenue from External Customers by Products and Services [Table Text Block]",
        "terseLabel": "Summary of Revenue"
       }
      }
     },
     "localname": "ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInventoryCurrentTableTextBlock": {
     "auth_ref": [
      "r12",
      "r34",
      "r35",
      "r36"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.",
        "label": "Schedule Of Inventory Current Table [Text Block]",
        "terseLabel": "Schedule of Inventories"
       }
      }
     },
     "localname": "ScheduleOfInventoryCurrentTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureInventoriesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r249"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule Of Maturities Of Long Term Debt Table [Text Block]",
        "terseLabel": "Summary of Future Maturities to Non-convertible Debt Outstanding"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfProductInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing quantitative information concerning products or product lines by product or product line.",
        "label": "Schedule Of Product Information [Table]",
        "terseLabel": "Schedule Of Product Information [Table]"
       }
      }
     },
     "localname": "ScheduleOfProductInformationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfActivityInProductRevenueReserveAndAllowanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesSummaryOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r41",
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r511",
      "r513"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule Of Related Party Transactions By Related Party [Table]",
        "terseLabel": "Schedule Of Related Party Transactions By Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationOneSrlDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationRifDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r369",
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "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]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.",
        "label": "Schedule Of Share Based Compensation Restricted Stock Units Award Activity Table [Text Block]",
        "terseLabel": "Summary of Restricted Stock Unit Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r376",
      "r387",
      "r389"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Schedule Of Share Based Compensation Stock Options Activity Table [Text Block]",
        "terseLabel": "Summary of Stock Option Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r391"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule Of Share Based Payment Award Stock Options Valuation Assumptions Table [Text Block]",
        "terseLabel": "Schedule of Grant Date Fair Value of Options Issued Using Black-Scholes Weighted Average Assumptions"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r58",
      "r119",
      "r162",
      "r163",
      "r303",
      "r309",
      "r310",
      "r311",
      "r312",
      "r314",
      "r315",
      "r317",
      "r321",
      "r326",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule of Stock by Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockholdersEquityTableTextBlock": {
     "auth_ref": [
      "r328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in the separate accounts comprising stockholders' equity (in addition to retained earnings) and of the changes in the number of shares of equity securities during at least the most recent annual fiscal period and any subsequent interim period presented is required to make the financial statements sufficiently informative if both financial position and results of operations are presented.",
        "label": "Schedule of Stockholders Equity [Table Text Block]",
        "terseLabel": "Schedule of Common Stock Reserved for Future Issuance"
       }
      }
     },
     "localname": "ScheduleOfStockholdersEquityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.",
        "label": "Selling, General and Administrative Expense",
        "terseLabel": "Selling, general and administrative, including related party expenses of $125 and $123, respectively, and $250 and $246, respectively",
        "totalLabel": "Selling, General and Administrative Expense, Total",
        "verboseLabel": "Selling, general and administrative expenses"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing selling, general and administrative expense.",
        "label": "Selling, General and Administrative Expenses [Member]",
        "terseLabel": "Selling, General and Administrative Expense"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpensesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share Based Compensation",
        "terseLabel": "Stock-based compensation",
        "totalLabel": "Share-based Payment Arrangement, Noncash Expense, Total"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1",
        "terseLabel": "Vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r381"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeited In Period",
        "terseLabel": "Number of RSUs, Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "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"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period",
        "terseLabel": "Number of RSUs, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted- Average Grant Date Fair Value, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r383"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Number",
        "periodEndLabel": "Number of RSUs, Outstanding and Unvested",
        "periodStartLabel": "Number of RSUs, Outstanding and Unvested",
        "verboseLabel": "Number of restricted stock units issued"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r383"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted- Average Grant Date Fair Value, Outstanding and Unvested",
        "periodStartLabel": "Weighted- Average Grant Date Fair Value, Outstanding and Unvested",
        "verboseLabel": "Weighted-average fair value of stock issued per unit"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r385"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period",
        "negatedLabel": "Number of RSUs, Vested",
        "terseLabel": "Number of RSUs, Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r385"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
        "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"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r394"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividend Rate",
        "terseLabel": "Expected dividend yield"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfGrantDateFairValueOfOptionsIssuedUsingBlackScholesWeightedAverageAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r393"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Volatility Rate",
        "terseLabel": "Expected volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfGrantDateFairValueOfOptionsIssuedUsingBlackScholesWeightedAverageAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r395"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfGrantDateFairValueOfOptionsIssuedUsingBlackScholesWeightedAverageAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]",
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r372"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Authorized",
        "terseLabel": "Number of shares authorized to issue on common stock"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Available For Grant",
        "terseLabel": "Remaining shares available for issuance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Number",
        "terseLabel": "Number of Options, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Weighted Average Exercise Price",
        "terseLabel": "Weighted- Average Exercise Price per Share, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r382"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Expirations In Period",
        "negatedLabel": "Number of Options, Expired",
        "terseLabel": "Number of Options, Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r381"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Forfeitures In Period",
        "negatedLabel": "Number of Options, Forfeited - vested",
        "terseLabel": "Number of Options, Forfeited - vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Grants In Period Gross",
        "terseLabel": "Number of Options, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Grants In Period Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted-average grant date fair value of stock options granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value, Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r378",
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Number of Options, Outstanding",
        "periodStartLabel": "Number of Options, Outstanding",
        "terseLabel": "Number of Options, Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r377"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Exercise Price",
        "periodEndLabel": "Weighted- Average Exercise Price per Share, Outstanding",
        "periodStartLabel": "Weighted- Average Exercise Price per Share, Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]",
        "terseLabel": "Weighted Average Exercise Price per Share"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue": {
     "auth_ref": [
      "r389"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which current fair value of underlying stock exceeds exercise price of fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Aggregate Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value, Vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber": {
     "auth_ref": [
      "r390"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of fully vested and expected to vest options outstanding that can be converted into shares under option plan. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number",
        "terseLabel": "Number of Options, Vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r390"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price",
        "terseLabel": "Weighted- Average Exercise Price per Share, Vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfOutstandingStockMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum number of shares that may be issued in accordance with the plan as a proportion of outstanding capital stock.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Percentage of Outstanding Stock Maximum",
        "terseLabel": "Increase in percentage, number of shares of stock issued and outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfOutstandingStockMaximum",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r367",
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Options Exercises In Period Weighted Average Exercise Price",
        "terseLabel": "Weighted- Average Exercise Price per Share, Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Options Expirations In Period Weighted Average Exercise Price",
        "terseLabel": "Weighted- Average Exercise Price per Share, Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Options Forfeitures In Period Weighted Average Exercise Price",
        "terseLabel": "Weighted- Average Exercise Price per Share, Forfeited - vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Options Grants In Period Weighted Average Exercise Price",
        "terseLabel": "Weighted- Average Exercise Price per Share, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price",
        "terseLabel": "Market price of common stock"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfGrantDateFairValueOfOptionsIssuedUsingBlackScholesWeightedAverageAssumptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r371"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Expiration Period",
        "terseLabel": "Expiration period of awards granted"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r392",
      "r405"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Fair Value Assumptions Expected Term1",
        "terseLabel": "Expected term (in years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfGrantDateFairValueOfOptionsIssuedUsingBlackScholesWeightedAverageAssumptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Exercisable Intrinsic Value1",
        "terseLabel": "Aggregate Intrinsic Value, Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted- Average Remaining Contractual Term (Years), Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of non-vested options forfeited.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Number of Shares",
        "negatedLabel": "Number of Options, Forfeited - unvested",
        "terseLabel": "Number of Options, Forfeited - unvested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r390"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Outstanding Weighted Average Remaining Contractual Term2",
        "terseLabel": "Weighted- Average Remaining Contractual Term (Years), Outstanding"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r390"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for fully vested and expected to vest options outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted- Average Remaining Contractual Term (Years), Vested and expected to vest"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1": {
     "auth_ref": [
      "r375"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Vested In Period Fair Value1",
        "terseLabel": "Total fair value of options vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares Outstanding",
        "periodEndLabel": "Balance, shares",
        "periodStartLabel": "Balance, shares"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmountCurrent": {
     "auth_ref": [
      "r301"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount that is required to be paid, determined under the conditions specified in the contract, if as of the reporting date, the holder of the share has exercised the right to or the shares are mandatorily redeemable within one year of the reporting date or operating cycle, if longer.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Settlement Terms, Share Value, Amount, Current",
        "terseLabel": "Warrant liabilities"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionSettlementTermsAmountCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmountNoncurrent": {
     "auth_ref": [
      "r301"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount that is required to be paid, determined under the conditions specified in the contract, if as of the reporting date, the holder of the share has exercised the right to or the shares are mandatorily redeemable after one year from the reporting date or operating cycle, if longer.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Settlement Terms, Share Value, Amount, Noncurrent",
        "terseLabel": "Warrant liabilities"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionSettlementTermsAmountNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsFairValueOfShares": {
     "auth_ref": [
      "r301"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of shares that would be issued, determined under the conditions specified in the contract if the settlement were to occur at the reporting date.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Settlement Terms, Fair Value of Shares",
        "terseLabel": "Warrant liability"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionSettlementTermsFairValueOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r45"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r44"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r116",
      "r129"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SoftwareDevelopmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internally developed software for sale, licensing or long-term internal use.",
        "label": "Software Development [Member]",
        "terseLabel": "Capitalized Software"
       }
      }
     },
     "localname": "SoftwareDevelopmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r20",
      "r21",
      "r22",
      "r119",
      "r122",
      "r148",
      "r149",
      "r150",
      "r153",
      "r155",
      "r162",
      "r163",
      "r164",
      "r205",
      "r251",
      "r256",
      "r257",
      "r258",
      "r262",
      "r263",
      "r311",
      "r312",
      "r317",
      "r321",
      "r328",
      "r477",
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Statement Class Of Stock [Axis]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantLiabilitiesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromComputationOfNetLossPerShareDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r61",
      "r83",
      "r84",
      "r85",
      "r130",
      "r131",
      "r132",
      "r134",
      "r141",
      "r144",
      "r161",
      "r206",
      "r328",
      "r335",
      "r401",
      "r402",
      "r403",
      "r417",
      "r418",
      "r458",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r605",
      "r606",
      "r607",
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Statement Equity Components [Axis]",
        "terseLabel": "Equity Components"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Income And Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Stockholders Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r130",
      "r131",
      "r132",
      "r161",
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities": {
     "auth_ref": [
      "r60",
      "r282",
      "r328",
      "r329",
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period as a result of the conversion of convertible securities.",
        "label": "Stock Issued During Period, Shares, Conversion of Convertible Securities",
        "terseLabel": "Conversion of legacy gelesis convertible preferred stock into common stock upon business combination, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r21",
      "r22",
      "r328",
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued during period, Shares, New issues"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesOther": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued attributable to transactions classified as other.",
        "label": "Stock Issued During Period, Shares, Other",
        "terseLabel": "Common stock issued to Gelesis Legacy Equityholders",
        "verboseLabel": "Common stock issued"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationScheduleOfConsummationOfBusinessCombinationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r21",
      "r22",
      "r328",
      "r335",
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Stock Issued During Period Shares Stock Options Exercised",
        "negatedLabel": "Number of Options, Exercised",
        "terseLabel": "Number of Options, Exercised",
        "verboseLabel": "Issuance of common stock upon exercise of stock options shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities": {
     "auth_ref": [
      "r61",
      "r328",
      "r335"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gross value of stock issued during the period upon the conversion of convertible securities.",
        "label": "Stock Issued During Period, Value, Conversion of Convertible Securities",
        "terseLabel": "Conversion of legacy gelesis convertible preferred stock into common stock upon business combination"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueConversionOfConvertibleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r21",
      "r22",
      "r328",
      "r335"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued during period, Value, New issues"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r22",
      "r27",
      "r28",
      "r122",
      "r194",
      "r205",
      "r477",
      "r518"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders Equity",
        "periodEndLabel": "Stockholders' Equity Attributable to Parent, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Parent, Beginning Balance",
        "totalLabel": "Total stockholders' equity (deficit)"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders Equity [Abstract]",
        "terseLabel": "Stockholders' equity (deficit):"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r0",
      "r1",
      "r84",
      "r122",
      "r130",
      "r131",
      "r132",
      "r134",
      "r141",
      "r205",
      "r206",
      "r335",
      "r401",
      "r402",
      "r403",
      "r417",
      "r418",
      "r434",
      "r435",
      "r446",
      "r458",
      "r477",
      "r486",
      "r487",
      "r491",
      "r606",
      "r607",
      "r643"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders Equity Including Portion Attributable To Noncontrolling Interest",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders Equity Note [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r120",
      "r312",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r327",
      "r335",
      "r337"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders Equity Note Disclosure [Text Block]",
        "terseLabel": "Stockholder\u2019s Deficit",
        "verboseLabel": "Stockholder's Equity (Deficit)"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficit1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r492",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r492",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r492",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r492",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for reporting subsequent events.",
        "label": "Subsequent Events Policy Policy [Text Block]",
        "terseLabel": "Subsequent Event(s)"
       }
      }
     },
     "localname": "SubsequentEventsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r519",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Event(s)"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEvents1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Different names of stock transactions and the different attributes of each transaction.",
        "label": "Subsidiary Or Equity Method Investee Sale Of Stock By Subsidiary Or Equity Investee [Table]",
        "terseLabel": "Subsidiary Or Equity Method Investee Sale Of Stock By Subsidiary Or Equity Investee [Table]"
       }
      }
     },
     "localname": "SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureBusinessCombinationAndReverseRecapitalizationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsidiarySaleOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Subsidiary Sale Of Stock [Line Items]",
        "terseLabel": "Subsidiary Sale Of Stock [Line Items]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureNatureOfBusinessAndBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental cash flow information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityAccretionToRedemptionValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of accretion of temporary equity to its redemption value during the period.",
        "label": "Temporary Equity Accretion To Redemption Value",
        "negatedLabel": "Temporary Equity, Accretion of senior preferred stock to redemption value",
        "terseLabel": "Temporary Equity, Accretion of Legacy Gelesis senior preferred stock to redemption value"
       }
      }
     },
     "localname": "TemporaryEquityAccretionToRedemptionValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment": {
     "auth_ref": [],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      },
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease to net income for accretion of temporary equity to its redemption value to derive net income apportioned to common stockholders.",
        "label": "Temporary Equity Accretion To Redemption Value Adjustment",
        "negatedLabel": "Accretion of Legacy Gelesis senior preferred stock to redemption value",
        "negatedTerseLabel": "Accretion of redeemable convertible preferred stock to redemption value",
        "totalLabel": "Accretion of senior preferred stock to redemption value"
       }
      }
     },
     "localname": "TemporaryEquityAccretionToRedemptionValueAdjustment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "auth_ref": [
      "r251",
      "r256",
      "r257",
      "r258",
      "r262",
      "r263"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Carrying Amount Attributable To Parent",
        "terseLabel": "Legacy Gelesis redeemable convertible preferred stock, $0.0001 par value - zero shares issued and outstanding at June 30, 2022; 51,730,762 shares authorized at December 31, 2021; and 48,566,655 shares issued and outstanding at December 31, 2021"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests": {
     "auth_ref": [
      "r57",
      "r122",
      "r205",
      "r477"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent and noncontrolling interests, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Carrying Amount Including Portion Attributable To Noncontrolling Interests",
        "periodEndLabel": "Temporary Equity Balance",
        "periodStartLabel": "Temporary Equity Balance",
        "totalLabel": "Temporary Equity, Carrying Amount, Including Portion Attributable to Noncontrolling Interests, Total"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityForeignCurrencyTranslationAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to temporary equity resulting from foreign currency translation adjustments.",
        "label": "Temporary Equity Foreign Currency Translation Adjustments",
        "negatedLabel": "Temporary Equity, Foreign currency translation adjustment",
        "terseLabel": "Temporary Equity, Foreign currency translation adjustment"
       }
      }
     },
     "localname": "TemporaryEquityForeignCurrencyTranslationAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityParOrStatedValuePerShare": {
     "auth_ref": [
      "r13",
      "r304"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.",
        "label": "Temporary Equity Par Or Stated Value Per Share",
        "terseLabel": "Temporary equity, par value"
       }
      }
     },
     "localname": "TemporaryEquityParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_TemporaryEquitySharesAuthorized": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of securities classified as temporary equity that are permitted to be issued by an entity's charter and bylaws. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Shares Authorized",
        "terseLabel": "Temporary equity, shares authorized"
       }
      }
     },
     "localname": "TemporaryEquitySharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquitySharesIssued": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders. Securities issued include securities outstanding and securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Shares Issued",
        "terseLabel": "Temporary equity, shares issued"
       }
      }
     },
     "localname": "TemporaryEquitySharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquitySharesOutstanding": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders. Securities outstanding equals securities issued minus securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity Shares Outstanding",
        "periodEndLabel": "Temporary Equity Balance, shares",
        "periodStartLabel": "Temporary Equity Balance, shares",
        "terseLabel": "Temporary equity, shares outstanding",
        "verboseLabel": "Conversion of all classes of redeemable convertible preferred stock"
       }
      }
     },
     "localname": "TemporaryEquitySharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitScheduleOfCommonStockReservedForFutureIssuanceDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfNoncontrollingInterestRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r197",
      "r198",
      "r200",
      "r201",
      "r202",
      "r290",
      "r326",
      "r455",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilityAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfEarnoutLiabilityActivityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfChangesInFairValueOfCompanysLevel3FinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfArrangementAxis": {
     "auth_ref": [
      "r433"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Type Of Arrangement [Axis]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative"
       }
      }
     },
     "localname": "TypeOfArrangementAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureProductRevenueAndReserveAndAllowancesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSignificantAgreementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use Of Estimates",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount": {
     "auth_ref": [
      "r415"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset.",
        "label": "Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount",
        "terseLabel": "Adjustment to record deferred tax liability"
       }
      }
     },
     "localname": "ValuationAllowanceDeferredTaxAssetChangeInAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSignificantAgreementsScheduleOfFiniteLivedIntangibleAssetsAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Approach and Technique [Axis]"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Approach and Technique [Domain]"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureEarnoutLiabilitySummaryOfWeightedAverageAssumptionsUsedToDetermineFairValueOfEarnoutLiabilityDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureWarrantsSummaryOfWeightedAverageAssumptionsOfFairValueOfLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValueAddedTaxReceivableCurrent": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of value added taxes due either from customers arising from sales on credit terms, or as previously overpaid to tax authorities. For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
        "label": "Value Added Tax Receivable Current",
        "terseLabel": "Value added tax receivable"
       }
      }
     },
     "localname": "ValueAddedTaxReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_WarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Security that gives the holder the right to purchase shares of stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Warrant [Member]",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantsAndRightsNoteDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants And Rights Note Disclosure [Abstract]"
       }
      }
     },
     "localname": "WarrantsAndRightsNoteDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingTerm": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Warrants And Rights Outstanding Term",
        "terseLabel": "Expected term",
        "verboseLabel": "Warrants expiration term"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureStockholdersEquityDeficitAdditionalInformationDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS).",
        "label": "Weighted Average Number Of Share Outstanding Basic And Diluted",
        "terseLabel": "Weighted average common shares outstanding, basic and diluted",
        "verboseLabel": "Weighted average common shares outstanding - basic and diluted"
       }
      }
     },
     "localname": "WeightedAverageNumberOfShareOutstandingBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails",
      "http://ir.gelesis.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number Of Shares Outstanding [Abstract]",
        "terseLabel": "Denominator:"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://ir.gelesis.com/20220630/taxonomy/role/Role_DisclosureEarningsLossPerShareSummaryOfBasicAndDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    }
   },
   "unitCount": 11
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6787-107765"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3444-108585"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6801-107765"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(27)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1377-109256"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1278-109256"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2626-109256"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "http://asc.fasb.org/topic&trid=2134479"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "310",
   "URI": "http://asc.fasb.org/topic&trid=2196771"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583714&loc=SL75117360-209713"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.BB)",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=27011343&loc=d3e100047-122729"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "http://asc.fasb.org/topic&trid=2126998"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=123349782&loc=d3e5879-108316"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=123349782&loc=d3e5879-108316"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14394-108349"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14453-108349"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14472-108349"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12021-110248"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12053-110248"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=28183603&loc=d3e692-112598"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(5))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262497&loc=d3e20148-110875"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262807&loc=d3e22047-110879"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "63",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=117411753&loc=d3e23176-110880"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(12)(c)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(16)(c)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "14",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "15",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21553-112644"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496180-112644"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21484-112644"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21488-112644"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21506-112644"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21521-112644"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21538-112644"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "50",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6784392&loc=d3e188667-122775"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130561-203045"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130563-203045"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130563-203045"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130564-203045"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "27",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130611-203046-203046"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "http://asc.fasb.org/topic&trid=49130388"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(c))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=123468992&loc=d3e4534-113899"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b),(f(1))",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(4)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=SL79508275-113901"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11149-113907"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11178-113907"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.14)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "730",
   "URI": "http://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123586518&loc=d3e1043-128460"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a)(5))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859824&loc=d3e6819-128478"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "http://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568447-111683"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568740-111683"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569643-111683"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123421605&loc=SL5629052-113961"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90193-114008"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90198-114008"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20,22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=SL6742756-110258"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "820",
   "URI": "http://asc.fasb.org/topic&trid=2155941"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=120253306&loc=d3e28228-110885"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=120253306&loc=d3e28129-110885"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123602790&loc=d3e30226-110892"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123602790&loc=d3e30304-110892"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32022-110900"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.23)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123371682&loc=d3e55415-109406"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "730",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=6472174&loc=d3e58812-109433"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.27(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.28,29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(1))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.5(c))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-30)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column E)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column F)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column G)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611282-123010"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "985",
   "URI": "http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756"
  },
  "r628": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r629": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r630": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r631": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r632": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r633": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r634": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r635": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r636": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r637": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r638": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r639": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.6(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r640": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r641": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.8)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.9)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226024-175313"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226049-175313"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a-c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e681-108580"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e557-108580"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(7)(d))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(a),(d))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  }
 },
 "version": "2.1"
}
