<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>1</ContextCount>
  <ElementCount>24</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>0</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>0</UnitCount>
  <MyReports>
    <Report instance="brhc10045896_8k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000100 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://geminitherapeutics.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 1 fact(s) appearing in ix:hidden were eligible for transformation: dei:SecurityExchangeName -  brhc10045896_8k.htm 11</Log>
  </Logs>
  <InputFiles>
    <File doctype="8-K" original="brhc10045896_8k.htm">brhc10045896_8k.htm</File>
    <File>brhc10045896_ex10-1.htm</File>
    <File>brhc10045896_ex10-10.htm</File>
    <File>brhc10045896_ex10-2.htm</File>
    <File>brhc10045896_ex10-3.htm</File>
    <File>brhc10045896_ex10-4.htm</File>
    <File>brhc10045896_ex10-5.htm</File>
    <File>brhc10045896_ex10-6.htm</File>
    <File>brhc10045896_ex10-7.htm</File>
    <File>brhc10045896_ex10-8.htm</File>
    <File>brhc10045896_ex10-9.htm</File>
    <File>brhc10045896_ex14-1.htm</File>
    <File>brhc10045896_ex23-1.htm</File>
    <File>brhc10045896_ex3-1.htm</File>
    <File>brhc10045896_ex3-2.htm</File>
    <File>brhc10045896_ex99-1.htm</File>
    <File>brhc10045896_ex99-2.htm</File>
    <File>brhc10045896_ex99-3.htm</File>
    <File>brhc10045896_ex99-4.htm</File>
    <File>brhc10045896_ex99-5.htm</File>
    <File>brhc10045896_ex99-6.htm</File>
    <File>brhc10045896_ex99-7.htm</File>
    <File>gmtx-20221229.xsd</File>
    <File>gmtx-20221229_lab.xml</File>
    <File>gmtx-20221229_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="24">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
