{
 "instance": {
  "soph-20f_20211231.htm": {
   "axisCustom": 0,
   "axisStandard": 34,
   "contextCount": 472,
   "dts": {
    "calculationLink": {
     "local": [
      "soph-20211231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "soph-20211231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "soph-20f_20211231.htm"
     ]
    },
    "labelLink": {
     "local": [
      "soph-20211231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "soph-20211231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "soph-20211231.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/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.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/currency/2021/currency-2021.xsd",
      "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd",
      "https://xbrl.sec.gov/exch/2021/exch-2021.xsd",
      "https://xbrl.sec.gov/naics/2021/naics-2021.xsd",
      "https://xbrl.sec.gov/sic/2021/sic-2021.xsd",
      "https://xbrl.sec.gov/stpr/2021/stpr-2021.xsd"
     ]
    }
   },
   "elementCount": 842,
   "entityCount": 1,
   "hidden": {
    "http://sophiagenetics.com/20211231": 22,
    "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full": 79,
    "http://xbrl.sec.gov/dei/2021q4": 4,
    "total": 105
   },
   "keyCustom": 195,
   "keyStandard": 425,
   "memberCustom": 74,
   "memberStandard": 50,
   "nsprefix": "soph",
   "nsuri": "http://sophiagenetics.com/20211231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfRevenueFromContractsWithCustomersExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100090 - Disclosure - Revenue",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenue",
     "shortName": "Revenue",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfRevenueFromContractsWithCustomersExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutAccruedExpensesExplanatory",
       "ifrs-full:DisclosureOfAccruedExpensesAndOtherLiabilitiesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:AccruedCompensation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100990 - Disclosure - Accrued Expenses - Summary of Accrued Expenses (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails",
     "shortName": "Accrued Expenses - Summary of Accrued Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutAccruedExpensesExplanatory",
       "ifrs-full:DisclosureOfAccruedExpensesAndOtherLiabilitiesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:AccruedCompensation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfOtherNoncurrentLiabilitiesExplanatory",
       "soph:DisclosureOfNonCurrentLiabilitiesOtherExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NoncurrentDerivativeFinancialLiabilities",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101000 - Disclosure - Other Non-Current Liabilities - Schedule of Other Non-Current Liabilities (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails",
     "shortName": "Other Non-Current Liabilities - Schedule of Other Non-Current Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfOtherNoncurrentLiabilitiesExplanatory",
       "soph:DisclosureOfNonCurrentLiabilitiesOtherExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "soph:NonCurrentLeaseRestorationCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PastServiceCostAndLossesGainsArisingFromSettlementsDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101010 - Disclosure - Post-employment Benefits - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
     "shortName": "Post-employment Benefits - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PastServiceCostAndLossesGainsArisingFromSettlementsDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:DefinedBenefitObligationAtPresentValue",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101020 - Disclosure - Post-employment Benefits - Summary of Additional Details on Defined Pension Plans Funded Status (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfAdditionalDetailsOnDefinedPensionPlansFundedStatusDetails",
     "shortName": "Post-employment Benefits - Summary of Additional Details on Defined Pension Plans Funded Status (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:PlanAssetsAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:DefinedBenefitObligationAtPresentValue",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101030 - Disclosure - Post-employment Benefits - Summary of Movement in Defined Benefit Obligation (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails",
     "shortName": "Post-employment Benefits - Summary of Movement in Defined Benefit Obligation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfMovementInDefinedBenefitObligationExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CurrentServiceCostDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfMovementInDefinedBenefitPlanAssetsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:LiabilityAssetOfDefinedBenefitPlans",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101040 - Disclosure - Post-employment Benefits - Summary of Movement in Defined Benefit Plans Assets (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails",
     "shortName": "Post-employment Benefits - Summary of Movement in Defined Benefit Plans Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfMovementInDefinedBenefitPlanAssetsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:InterestExpenseIncomeNetDefinedBenefitLiabilityAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:DefinedBenefitPlanAssetsCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101050 - Disclosure - Post-employment Benefits - Summary of Defined Benefit Plans Assets (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfDefinedBenefitPlansAssetsDetails",
     "shortName": "Post-employment Benefits - Summary of Defined Benefit Plans Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:DefinedBenefitPlanAssetsCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfMovementInDefinedBenefitObligationExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:ServiceCostDefinedBenefitPlans",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101060 - Disclosure - Post-employment Benefits - Schedule of Pension Costs Recognized in Statement of Loss (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
     "shortName": "Post-employment Benefits - Schedule of Pension Costs Recognized in Statement of Loss (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutPensionCostsRecognizedInStatementOfIncomeLossExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:PostemploymentBenefitExpenseDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutPensionRemeasurementRecognizedInStatementOtherComprehensiveIncomeLossExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ActuarialGainsLossesArisingFromChangesInDemographicAssumptionsNetOfTaxDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101070 - Disclosure - Post-employment Benefits - Schedule of Pension Remeasurement Recognized in Statement Other Comprehensive Loss (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
     "shortName": "Post-employment Benefits - Schedule of Pension Remeasurement Recognized in Statement Other Comprehensive Loss (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutPensionRemeasurementRecognizedInStatementOtherComprehensiveIncomeLossExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ActuarialGainsLossesArisingFromChangesInDemographicAssumptionsNetOfTaxDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullActuarialAssumptionsAxis_ifrs-fullActuarialAssumptionOfDiscountRatesMember_ifrs-fullFundingArrangementsOfDefinedBenefitPlansAxis_ifrs-fullWhollyOrPartlyFundedDefinedBenefitPlansMember_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101080 - Disclosure - Post-employment Benefits - Schedule of Sensitivity Analysis for Funded Plans (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
     "shortName": "Post-employment Benefits - Schedule of Sensitivity Analysis for Funded Plans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullActuarialAssumptionsAxis_ifrs-fullActuarialAssumptionOfDiscountRatesMember_ifrs-fullFundingArrangementsOfDefinedBenefitPlansAxis_ifrs-fullWhollyOrPartlyFundedDefinedBenefitPlansMember_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCostOfSalesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100100 - Disclosure - Cost of Revenue",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCostOfRevenue",
     "shortName": "Cost of Revenue",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCostOfSalesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullActuarialAssumptionsAxis_ifrs-fullActuarialAssumptionOfDiscountRatesMember_ifrs-fullFundingArrangementsOfDefinedBenefitPlansAxis_ifrs-fullWhollyUnfundedDefinedBenefitPlansMember_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101090 - Disclosure - Post-employment Benefits - Schedule of Sensitivity Analysis for Unfunded Plans (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
     "shortName": "Post-employment Benefits - Schedule of Sensitivity Analysis for Unfunded Plans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullActuarialAssumptionsAxis_ifrs-fullActuarialAssumptionOfDiscountRatesMember_ifrs-fullFundingArrangementsOfDefinedBenefitPlansAxis_ifrs-fullWhollyUnfundedDefinedBenefitPlansMember_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullActuarialAssumptionsAxis_ifrs-fullActuarialAssumptionOfDiscountRatesMember_ifrs-fullFundingArrangementsOfDefinedBenefitPlansAxis_ifrs-fullWhollyUnfundedDefinedBenefitPlansMember_20210101_20211231",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "soph:ActuarialAssumptionBasisPoints",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101100 - Disclosure - Post-employment Benefits - Schedule of Sensitivity Analysis for Unfunded Plans (Parenthetical) (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails",
     "shortName": "Post-employment Benefits - Schedule of Sensitivity Analysis for Unfunded Plans (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullActuarialAssumptionsAxis_ifrs-fullActuarialAssumptionOfDiscountRatesMember_ifrs-fullFundingArrangementsOfDefinedBenefitPlansAxis_ifrs-fullWhollyUnfundedDefinedBenefitPlansMember_20210101_20211231",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "soph:ActuarialAssumptionBasisPoints",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "soph:NumberOfShareOptionPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_sophPlan",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101110 - Disclosure - Share-based Compensation -Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
     "shortName": "Share-based Compensation -Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "soph:NumberOfShareOptionPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_sophPlan",
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfNumberAndWeightedAverageExercisePricesOfShareOptionsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullTypesOfSharebasedPaymentArrangementsAxis_sophTwoThousandAndThirteenIncentiveShareOptionPlanMember_20201231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfOutstandingShareOptions",
      "reportCount": 1,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101120 - Disclosure - Share-based Compensation -Summary of Stock Option Activity (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
     "shortName": "Share-based Compensation -Summary of Stock Option Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfNumberAndWeightedAverageExercisePricesOfShareOptionsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullTypesOfSharebasedPaymentArrangementsAxis_sophTwoThousandAndThirteenIncentiveShareOptionPlanMember_20210101_20211231",
      "decimals": "0",
      "lang": null,
      "name": "ifrs-full:NumberOfShareOptionsExercisedInSharebasedPaymentArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfIndirectMeasurementOfFairValueOfGoodsOrServicesReceivedShareOptionsGrantedDuringPeriodExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullTypesOfSharebasedPaymentArrangementsAxis_sophTwoThousandAndNineteenIncentiveShareOptionPlanMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "ifrs-full:WeightedAverageSharePriceShareOptionsGranted2019",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101130 - Disclosure - Share-based Compensation -Summary of Valuation Inputs (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
     "shortName": "Share-based Compensation -Summary of Valuation Inputs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfIndirectMeasurementOfFairValueOfGoodsOrServicesReceivedShareOptionsGrantedDuringPeriodExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullTypesOfSharebasedPaymentArrangementsAxis_sophTwoThousandAndNineteenIncentiveShareOptionPlanMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "ifrs-full:WeightedAverageSharePriceShareOptionsGranted2019",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutWeightedAverageFairValueOfOptionsGrantedExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullTypesOfSharebasedPaymentArrangementsAxis_sophTwoThousandAndNineteenIncentiveShareOptionPlanMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "soph:WeightedAverageFairValueShareOptionsGranted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101140 - Disclosure - Share-based Compensation - Weighted Average Fair Value of Options Granted (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationWeightedAverageFairValueOfOptionsGrantedDetails",
     "shortName": "Share-based Compensation - Weighted Average Fair Value of Options Granted (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutWeightedAverageFairValueOfOptionsGrantedExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullTypesOfSharebasedPaymentArrangementsAxis_sophTwoThousandAndNineteenIncentiveShareOptionPlanMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "soph:WeightedAverageFairValueShareOptionsGranted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:ExplanationOfEffectOfSharebasedPaymentsOnFinancialPositions",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ReserveOfSharebasedPayments",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101150 - Disclosure - Share-based Compensation - Movements in Share-based Compensation Reserve (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationMovementsInShareBasedCompensationReserveDetails",
     "shortName": "Share-based Compensation - Movements in Share-based Compensation Reserve (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:ExplanationOfEffectOfSharebasedPaymentsOnFinancialPositions",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:ReserveOfSharebasedPayments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullTypesOfSharebasedPaymentArrangementsAxis_sophRestrictedStockUnitsMember_20210101_20211231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfInstrumentsOtherEquityInstrumentsGranted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101160 - Disclosure - Share-based Compensation - Summary of Restricted Stock Units Activity (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails",
     "shortName": "Share-based Compensation - Summary of Restricted Stock Units Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullTypesOfSharebasedPaymentArrangementsAxis_sophRestrictedStockUnitsMember_20210101_20211231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfInstrumentsOtherEquityInstrumentsGranted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Borrowings",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101170 - Disclosure - Borrowings - Summary of Borrowings Activity (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsSummaryOfBorrowingsActivityDetails",
     "shortName": "Borrowings - Summary of Borrowings Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "soph:TransferToDeferredGovernmentGrantIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RepaymentsOfBorrowingsClassifiedAsFinancingActivities",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101180 - Disclosure - Borrowings - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
     "shortName": "Borrowings - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullBorrowingsByNameAxis_sophPlainEnglishGrowthCapitalLoanAgreementMember_srtCounterpartyNameAxis_sophTriplePointMember_20180618",
      "decimals": "-5",
      "lang": null,
      "name": "ifrs-full:LoansReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfOperatingExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100110 - Disclosure - Operating Expense",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpense",
     "shortName": "Operating Expense",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfOperatingExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCounterpartiesAxis_sophTriplePointCapitalLLCMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "soph:TransactionStrikePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101190 - Disclosure - TriplePoint Success Fee - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails",
     "shortName": "TriplePoint Success Fee - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCounterpartiesAxis_sophTriplePointCapitalLLCMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "soph:TransactionStrikePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfOtherNoncurrentLiabilitiesExplanatory",
       "soph:DisclosureOfNonCurrentLiabilitiesOtherExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NoncurrentDerivativeFinancialLiabilities",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101200 - Disclosure - TriplePoint Success Fee - Summary of Loss Recognized on Derivative with TriplePoint Loan (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfLossRecognizedOnDerivativeWithTriplepointLoanDetails",
     "shortName": "TriplePoint Success Fee - Summary of Loss Recognized on Derivative with TriplePoint Loan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutLossRecognizedOnDerivative",
       "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCounterpartiesAxis_sophTriplePointCapitalLLCMember_20181231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:NoncurrentDerivativeFinancialLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutKeyAssumptionsInValuationOfDerivativeExplanatory",
       "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCounterpartiesAxis_sophTriplePointCapitalLLCMember_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:DerivativeEquityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101210 - Disclosure - TriplePoint Success Fee - Summary of Key Assumptions in Valuation of Derivative (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails",
     "shortName": "TriplePoint Success Fee - Summary of Key Assumptions in Valuation of Derivative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutKeyAssumptionsInValuationOfDerivativeExplanatory",
       "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCounterpartiesAxis_sophTriplePointCapitalLLCMember_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:DerivativeEquityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutKeyAssumptionsOnDerivativeValuesSetOutExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCounterpartiesAxis_sophTriplePointCapitalLLCMember_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:EquityValuePlusTenPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101220 - Disclosure - TriplePoint Success Fee - Summary of Key Assumptions on Derivative Values Set Out (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails",
     "shortName": "TriplePoint Success Fee - Summary of Key Assumptions on Derivative Values Set Out (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutKeyAssumptionsOnDerivativeValuesSetOutExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCounterpartiesAxis_sophTriplePointCapitalLLCMember_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:EquityValuePlusTenPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20200101_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProceedsFromIssuingShares",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101230 - Disclosure - Initial Public Offerings - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
     "shortName": "Initial Public Offerings - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "soph:InitialPublicOfferingsExplanatoryTextBlock",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCapitalRequirementsAxis_sophInitialPublicOfferingMember_ifrs-fullClassesOfShareCapitalAxis_ifrs-fullOrdinarySharesMember_20210825_20210825",
      "decimals": "-5",
      "lang": null,
      "name": "soph:GrossProceedsFromIssuanceOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R125": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullClassesOfShareCapitalAxis_sophPreferredFSharesMember_20200923",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101240 - Disclosure - Share Capital Issuance - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails",
     "shortName": "Share Capital Issuance - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullClassesOfShareCapitalAxis_sophPreferredFSharesMember_20200923",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R126": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DescriptionOfNatureOfRelatedPartyRelationship",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101250 - Disclosure - Related Parties - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
     "shortName": "Related Parties - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DescriptionOfNatureOfRelatedPartyRelationship",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R127": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101260 - Disclosure - Related Parties - Summary of Compensation for Key Management and Non-executive Directors (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails",
     "shortName": "Related Parties - Summary of Compensation for Key Management and Non-executive Directors (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R128": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCategoriesOfRelatedPartiesAxis_sophAlychloNVMember_ifrs-fullClassesOfShareCapitalAxis_ifrs-fullPreferenceSharesMember_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101270 - Disclosure - Related Parties - Summary of Related Parties Participated in Sale of Series F Preferred Shares (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails",
     "shortName": "Related Parties - Summary of Related Parties Participated in Sale of Series F Preferred Shares (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCategoriesOfRelatedPartiesAxis_sophAlychloNVMember_ifrs-fullClassesOfShareCapitalAxis_ifrs-fullPreferenceSharesMember_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R129": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ifrs-full:DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "soph:FutureLeasePaymentsUnderShortTermLeasesNotRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101280 - Disclosure - Commitments and Contingencies - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails",
     "shortName": "Commitments and Contingencies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ifrs-full:DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "soph:FutureLeasePaymentsUnderShortTermLeasesNotRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherOperatingIncomeExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Other Operating Income (Expense), Net",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherOperatingIncomeExpenseNet",
     "shortName": "Other Operating Income (Expense), Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherOperatingIncomeExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R130": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:FinancialAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101290 - Disclosure - Financial Instruments and Risks - Schedule of Financial Instruments (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail",
     "shortName": "Financial Instruments and Risks - Schedule of Financial Instruments (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:FinancialAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R131": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:LongtermBorrowings",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101300 - Disclosure - Financial Instruments and Risks - Additional Information (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
     "shortName": "Financial Instruments and Risks - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "INF",
      "lang": null,
      "name": "ifrs-full:TransfersOutOfLevel1IntoLevel2OfFairValueHierarchyAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R132": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfMaturityAnalysisOfUndiscountedCashOutflowsToRepurchaseDerecognisedFinancialAssetsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:GrossLoanCommitments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101310 - Disclosure - Financial Instruments and Risks - Summary of Maturity Profile of Financial Liabilities (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
     "shortName": "Financial Instruments and Risks - Summary of Maturity Profile of Financial Liabilities (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfMaturityAnalysisOfUndiscountedCashOutflowsToRepurchaseDerecognisedFinancialAssetsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:GrossLoanCommitments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R133": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfMaturityAnalysisOfUndiscountedCashOutflowsToRepurchaseDerecognisedFinancialAssetsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullBorrowingsByNameAxis_sophCOVIDCHFOneMillionMember_20201231",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "soph:GrossLoanCommitmentsFaceValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101320 - Disclosure - Financial Instruments and Risks - Summary of Maturity Profile of Financial Liabilities (Parenthetical) (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail",
     "shortName": "Financial Instruments and Risks - Summary of Maturity Profile of Financial Liabilities (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfMaturityAnalysisOfUndiscountedCashOutflowsToRepurchaseDerecognisedFinancialAssetsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullBorrowingsByNameAxis_sophCOVIDCHFOneMillionMember_20201231",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "soph:GrossLoanCommitmentsFaceValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R134": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "5",
      "first": true,
      "lang": null,
      "name": "soph:ForeignExchangeSpotRate",
      "reportCount": 1,
      "unitRef": "U_iso4217USD_iso4217CHF",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101330 - Disclosure - Financial Instruments and Risks - Summary of Significant Exchange Rates (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfSignificantExchangeRatesDetail",
     "shortName": "Financial Instruments and Risks - Summary of Significant Exchange Rates (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "5",
      "lang": null,
      "name": "soph:ForeignExchangeSpotRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD_iso4217EUR",
      "xsiNil": "false"
     }
    },
    "R135": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101340 - Disclosure - Financial Instruments and Risks - Sensitivity of Loss Before Tax To Changes in Foreign Exchange Rates (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
     "shortName": "Financial Instruments and Risks - Sensitivity of Loss Before Tax To Changes in Foreign Exchange Rates (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R136": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:SensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCurrencyInWhichInformationIsDisplayedAxis_sophFunctionalCurrencyMember_srtCurrencyAxis_sophDifferencesOfCurrencyUSDCHFMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "soph:PercentageOfForeignExchangeRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101350 - Disclosure - Financial Instruments and Risks - Sensitivity of Loss Before Tax To Changes in Foreign Exchange Rates (Parenthetical) (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail",
     "shortName": "Financial Instruments and Risks - Sensitivity of Loss Before Tax To Changes in Foreign Exchange Rates (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:SensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCurrencyInWhichInformationIsDisplayedAxis_sophFunctionalCurrencyMember_srtCurrencyAxis_sophDifferencesOfCurrencyUSDCHFMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "soph:PercentageOfForeignExchangeRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R137": {
     "firstAnchor": null,
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101360 - Disclosure - Financial Instruments and Risks - Sensitivity of Equity To Changes in Foreign Exchange Rates (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
     "shortName": "Financial Instruments and Risks - Sensitivity of Equity To Changes in Foreign Exchange Rates (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R138": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:SensitivityOfEquityToChangesInForeignExchangeRatesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCurrencyInWhichInformationIsDisplayedAxis_sophPresentationCurrencyMember_srtCurrencyAxis_sophDifferencesOfCurrencyUSDCHFMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "soph:PercentageOfForeignExchangeRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101370 - Disclosure - Financial Instruments and Risks - Sensitivity of Equity To Changes in Foreign Exchange Rates (Parenthetical) (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
     "shortName": "Financial Instruments and Risks - Sensitivity of Equity To Changes in Foreign Exchange Rates (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:SensitivityOfEquityToChangesInForeignExchangeRatesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCurrencyInWhichInformationIsDisplayedAxis_sophPresentationCurrencyMember_srtCurrencyAxis_sophDifferencesOfCurrencyUSDCHFMember_20210101_20211231",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "soph:PercentageOfForeignExchangeRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlipure",
      "xsiNil": "false"
     }
    },
    "R139": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CashAndCashEquivalents",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101380 - Disclosure - Capital Management - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCapitalManagementAdditionalInformationDetails",
     "shortName": "Capital Management - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinanceCostExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Finance Expense, Net",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinanceExpenseNet",
     "shortName": "Finance Expense, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinanceCostExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfIncomeTaxExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Income Tax",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTax",
     "shortName": "Income Tax",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfIncomeTaxExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Loss Per Share",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShare",
     "shortName": "Loss Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Cash and Cash Equivalents",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCashAndCashEquivalents",
     "shortName": "Cash and Cash Equivalents",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfTermDepositsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Term Deposits",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDeposits",
     "shortName": "Term Deposits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfTermDepositsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Accounts Receivable",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivable",
     "shortName": "Accounts Receivable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - Consolidated Statements of Loss",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss",
     "shortName": "Consolidated Statements of Loss",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CostOfSales",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfInventoriesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Inventory",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventory",
     "shortName": "Inventory",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfInventoriesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherCurrentAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Prepaids and Other Current Assets",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssets",
     "shortName": "Prepaids and Other Current Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherCurrentAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Property and Equipment",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipment",
     "shortName": "Property and Equipment",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfIntangibleAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Intangible Assets",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssets",
     "shortName": "Intangible Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfIntangibleAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfLeasesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Leases",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfLeasesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Accounts Payable",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayable",
     "shortName": "Accounts Payable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfAccruedExpensesAndOtherLiabilitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Accrued Expenses",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpenses",
     "shortName": "Accrued Expenses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfAccruedExpensesAndOtherLiabilitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfNonCurrentLiabilitiesOtherExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Other Non-Current Liabilities",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilities",
     "shortName": "Other Non-Current Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfNonCurrentLiabilitiesOtherExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Post-employment Benefits",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefits",
     "shortName": "Post-employment Benefits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Share-based Compensation",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensation",
     "shortName": "Share-based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100020 - Statement - Consolidated Statements of Comprehensive Loss",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss",
     "shortName": "Consolidated Statements of Comprehensive Loss",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfBorrowingsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Borrowings",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowings",
     "shortName": "Borrowings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfBorrowingsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - TriplePoint Success Fee",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFee",
     "shortName": "TriplePoint Success Fee",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:InitialPublicOfferingsExplanatoryTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Initial Public Offerings",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferings",
     "shortName": "Initial Public Offerings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:InitialPublicOfferingsExplanatoryTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Share Capital Issuance",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuance",
     "shortName": "Share Capital Issuance",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfRelatedPartyExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Related Parties",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedParties",
     "shortName": "Related Parties",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfRelatedPartyExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Commitments And Contingencies",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies",
     "shortName": "Commitments And Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Financial Instruments and Risks",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisks",
     "shortName": "Financial Instruments and Risks",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfCapitalManagementExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Capital Management",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCapitalManagement",
     "shortName": "Capital Management",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfCapitalManagementExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Events After Reporting Date",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureEventsAfterReportingDate",
     "shortName": "Events After Reporting Date",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DescriptionOfAccountingPolicyForBasisOfPreparationExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Significant Accounting Policies (Policies)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies",
     "shortName": "Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DescriptionOfAccountingPolicyForBasisOfPreparationExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CashAndCashEquivalents",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100030 - Statement - Consolidated Balance Sheet",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet",
     "shortName": "Consolidated Balance Sheet",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CurrentAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "soph:CompanyInformationAndOperationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:SummaryOfWhollyOwnedSubsidiariesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Company Information and Operations (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsTables",
     "shortName": "Company Information and Operations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "soph:CompanyInformationAndOperationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:SummaryOfWhollyOwnedSubsidiariesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfOperatingSegmentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfGeographicalAreasExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Segment Reporting (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingTables",
     "shortName": "Segment Reporting (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfOperatingSegmentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfGeographicalAreasExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Revenue (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueTables",
     "shortName": "Revenue (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutOperatingExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Operating Expense (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseTables",
     "shortName": "Operating Expense (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutOperatingExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Finance Expense, Net (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinanceExpenseNetTables",
     "shortName": "Finance Expense, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfCurrentAndDeferredTaxExpensesBenefitsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Income Tax (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxTables",
     "shortName": "Income Tax (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfCurrentAndDeferredTaxExpensesBenefitsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:EarningsPerShareExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Loss Per Share (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareTables",
     "shortName": "Loss Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:EarningsPerShareExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfScheduleOfCashAndCashEquivalentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Cash and Cash Equivalents (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCashAndCashEquivalentsTables",
     "shortName": "Cash and Cash Equivalents (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfScheduleOfCashAndCashEquivalentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "soph:DisclosureOfTermDepositsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutTermDepositsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Term Deposits (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDepositsTables",
     "shortName": "Term Deposits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "soph:DisclosureOfTermDepositsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutTermDepositsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Accounts Receivable (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableTables",
     "shortName": "Accounts Receivable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20181231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Equity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - Consolidated Statement of Changes in Equity",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity",
     "shortName": "Consolidated Statement of Changes in Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20181231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Equity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Inventory (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryTables",
     "shortName": "Inventory (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfOtherCurrentAssetsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationOfOtherCurrentAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Prepaids and Other Current Assets (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsTables",
     "shortName": "Prepaids and Other Current Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfOtherCurrentAssetsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationOfOtherCurrentAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Property and Equipment (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentTables",
     "shortName": "Property and Equipment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Intangibles assets (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangiblesAssetsTables",
     "shortName": "Intangibles assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Leases (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfAccountsPayablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Accounts Payable (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableTables",
     "shortName": "Accounts Payable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfAccountsPayablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfAccruedExpensesAndOtherLiabilitiesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutAccruedExpensesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Accrued Expenses (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesTables",
     "shortName": "Accrued Expenses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfAccruedExpensesAndOtherLiabilitiesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutAccruedExpensesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "soph:DisclosureOfNonCurrentLiabilitiesOtherExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherNoncurrentLiabilitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Other Non-Current Liabilities (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesTables",
     "shortName": "Other Non-Current Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "soph:DisclosureOfNonCurrentLiabilitiesOtherExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherNoncurrentLiabilitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Post-employment Benefits (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsTables",
     "shortName": "Post-employment Benefits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutWeightedAverageFairValueOfOptionsGrantedExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Share-based Compensation (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables",
     "shortName": "Share-based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutWeightedAverageFairValueOfOptionsGrantedExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLossBeforeTax",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - Consolidated Statement of Cash Flows",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows",
     "shortName": "Consolidated Statement of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AdjustmentsForDepreciationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Borrowings (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsTables",
     "shortName": "Borrowings (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutLossRecognizedOnDerivative",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - TriplePoint Success Fee (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeTables",
     "shortName": "TriplePoint Success Fee (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "soph:DisclosureOfTriplePointSuccessFeeExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DisclosureOfDetailedInformationAboutLossRecognizedOnDerivative",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Related Parties (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesTables",
     "shortName": "Related Parties (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Financial Instruments and Risks (Tables)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksTables",
     "shortName": "Financial Instruments and Risks (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "soph:CompanyInformationAndOperationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DateOfIncorporation",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Company Information and Operations - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
     "shortName": "Company Information and Operations - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "soph:CompanyInformationAndOperationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:DateOfIncorporation",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:SummaryOfWhollyOwnedSubsidiariesTableTextBlock",
       "soph:CompanyInformationAndOperationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullSignificantInvestmentsInSubsidiariesAxis_sophSophiaGeneticsSASMember_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:NameOfSubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Company Information and Operations - Summary of Wholly-Owned Subsidiaries (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails",
     "shortName": "Company Information and Operations - Summary of Wholly-Owned Subsidiaries (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:SummaryOfWhollyOwnedSubsidiariesTableTextBlock",
       "soph:CompanyInformationAndOperationsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullSignificantInvestmentsInSubsidiariesAxis_sophSophiaGeneticsSASMember_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:NameOfSubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Segment Reporting - Summary of Revenue by Customer Location (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails",
     "shortName": "Segment Reporting - Summary of Revenue by Customer Location (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfGeographicalAreasExplanatory",
       "ifrs-full:DisclosureOfOperatingSegmentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullGeographicalAreasAxis_countryFR_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ifrs-full:DisclosureOfOperatingSegmentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Segment Reporting - Summary of Non-current Non-financial Assets by Country (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
     "shortName": "Segment Reporting - Summary of Non-current Non-financial Assets by Country (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ifrs-full:DisclosureOfOperatingSegmentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:CustomerPaymentTerm",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Revenue - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails",
     "shortName": "Revenue - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:CustomerPaymentTerm",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - Disclosure - Revenue - Schedule of Revenue from Contracts with Customers Allocated to Revenue Streams (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueScheduleOfRevenueFromContractsWithCustomersAllocatedToRevenueStreamsDetails",
     "shortName": "Revenue - Schedule of Revenue from Contracts with Customers Allocated to Revenue Streams (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullSegmentsAxis_sophSOPHiAPlatformMember_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:CompanyInformationAndOperationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100060 - Disclosure - Company Information and Operations",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperations",
     "shortName": "Company Information and Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:CompanyInformationAndOperationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:ResearchTaxCredit",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Operating Expense - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseAdditionalInformationDetails",
     "shortName": "Operating Expense - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullAttributionOfExpensesByNatureToTheirFunctionAxis_sophResearchAndDevelopmentAndInnovationMember_20210101_20211231",
      "decimals": "-5",
      "lang": null,
      "name": "soph:ResearchTaxCredit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ChangesInInventoriesOfFinishedGoodsAndWorkInProgress",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - Disclosure - Operating Expense - Summary of Operating Expenses (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails",
     "shortName": "Operating Expense - Summary of Operating Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ChangesInInventoriesOfFinishedGoodsAndWorkInProgress",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:DepreciationExpense",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Operating Expense - Summary of Depreciation and Amortization have Charged in Expense (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
     "shortName": "Operating Expense - Summary of Depreciation and Amortization have Charged in Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDepreciationAndAmortizationHaveChargedInExpenseExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullAttributionOfExpensesByNatureToTheirFunctionAxis_ifrs-fullCostOfSalesMember_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AmortisationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfEmployeeBenefitExpensesAndSocialChargesFromTheOperatingExpenseExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ExpenseFromSharebasedPaymentTransactionsWithEmployees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - Disclosure - Operating Expense - Summary of Employee Benefit Expenses, Social Charges and Share-based Compensation from the Operating Expense (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails",
     "shortName": "Operating Expense - Summary of Employee Benefit Expenses, Social Charges and Share-based Compensation from the Operating Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfEmployeeBenefitExpensesAndSocialChargesFromTheOperatingExpenseExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ExpenseFromSharebasedPaymentTransactionsWithEmployees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:InterestRevenueExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - Disclosure - Schedule of Finance Expense, Net (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails",
     "shortName": "Schedule of Finance Expense, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:InterestRevenueExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "soph:UnrecognizedTaxLiabilityIncludingInterestAndPenalties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - Disclosure - Income Tax - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails",
     "shortName": "Income Tax - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "soph:UnrecognizedTaxLiabilityIncludingInterestAndPenalties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20190101_20191231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentTaxExpenseIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Income Tax - Summary of Current and Deferred Tax (Expenses) Benefits (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails",
     "shortName": "Income Tax - Summary of Current and Deferred Tax (Expenses) Benefits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20190101_20191231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentTaxExpenseIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:AccountingProfit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - Disclosure - Income Tax - Reconciliation of Expected Tax Expense to Tax Expense Report in Statement of Loss (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails",
     "shortName": "Income Tax - Reconciliation of Expected Tax Expense to Tax Expense Report in Statement of Loss (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:AccountingProfit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:DeferredTaxLiabilityAsset",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Income Tax - Summary of Movement in Deferred Tax Balances (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails",
     "shortName": "Income Tax - Summary of Movement in Deferred Tax Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:DeferredTaxExpenseIncomeRecognisedInProfitOrLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:UnrecognizedDeferredTaxAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Income Tax - Summary of Unrecognized Deferred Tax Assets (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails",
     "shortName": "Income Tax - Summary of Unrecognized Deferred Tax Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:UnrecognizedDeferredTaxAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100070 - Disclosure - Significant Accounting Policies",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPolicies",
     "shortName": "Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:NetOperatingLossCarryforwardsYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Income Tax - Summary of Net Operating Loss Carryforwards (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails",
     "shortName": "Income Tax - Summary of Net Operating Loss Carryforwards (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:NetOperatingLossCarryforwardsYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullClassesOfShareCapitalAxis_ifrs-fullOrdinarySharesMember_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ParValuePerShare",
      "reportCount": 1,
      "unitRef": "U_iso4217USD_xbrlishares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Loss Per Share - Additional information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareAdditionalInformationDetails",
     "shortName": "Loss Per Share - Additional information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLossAttributableToOwnersOfParent",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Loss Per Share - Components of Loss for Year (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareComponentsOfLossForYearDetails",
     "shortName": "Loss Per Share - Components of Loss for Year (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "0",
      "lang": null,
      "name": "soph:WeightedAverageNumberOfSharesBasicAndDiluted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_xbrlishares",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfScheduleOfCashAndCashEquivalentsExplanatory",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Cash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100820 - Disclosure - Cas and Cash Equivalents - Schedule of Cash and Cash Equivalents (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsScheduleOfCashAndCashEquivalentsDetails",
     "shortName": "Cas and Cash Equivalents - Schedule of Cash and Cash Equivalents (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfScheduleOfCashAndCashEquivalentsExplanatory",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Cash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210731",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "ifrs-full:BankAcceptanceLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Cas and Cash Equivalents - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsAdditionalInformationDetails",
     "shortName": "Cas and Cash Equivalents - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210731",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "ifrs-full:BankAcceptanceLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ShorttermDepositsNotClassifiedAsCashEquivalents",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Term Deposits - Allocation Between Company's Term Deposits (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDepositsAllocationBetweenCompanySTermDepositsDetails",
     "shortName": "Term Deposits - Allocation Between Company's Term Deposits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutTermDepositsExplanatory",
       "soph:DisclosureOfTermDepositsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "soph:TermDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:AccountsReceivableBalanceNonInterestBearingAndPaymentTerms",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Accounts Receivable - Additional Information (Detail)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableAdditionalInformationDetail",
     "shortName": "Accounts Receivable - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "soph:AccountsReceivableBalanceNonInterestBearingAndPaymentTerms",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossExplanatory",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentTradeReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Schedule of Accounts Receivable and Lease Receivable Less Expected Credit Loss (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails",
     "shortName": "Schedule of Accounts Receivable and Lease Receivable Less Expected Credit Loss (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossExplanatory",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentTradeReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossExplanatory",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Schedule of Movement in Allowance for Expected Credit Losses in Accounts Receivable (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfMovementInAllowanceForExpectedCreditLossesInAccountsReceivableDetails",
     "shortName": "Schedule of Movement in Allowance for Expected Credit Losses in Accounts Receivable (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfAllowanceForCreditLossesExplanatory",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RawMaterials",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Inventory - Schedule of Inventory (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails",
     "shortName": "Inventory - Schedule of Inventory (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RawMaterials",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOperatingSegmentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100080 - Disclosure - Segment Reporting",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReporting",
     "shortName": "Segment Reporting",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOperatingSegmentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:ProvisionOfInventory",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Inventory - Schedule of Inventory Provision Movement (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryProvisionMovementDetails",
     "shortName": "Inventory - Schedule of Inventory Provision Movement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfInventoryProvisionMovementExplanatory",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "soph:InventoryIncreaseDecreaseInProvision",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationOfOtherCurrentAssetsExplanatory",
       "ifrs-full:DisclosureOfOtherCurrentAssetsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:CurrentAccruedContractRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Prepaids and Other Current Assets - Summary of Other Current Assets (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails",
     "shortName": "Prepaids and Other Current Assets - Summary of Other Current Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfDetailedInformationOfOtherCurrentAssetsExplanatory",
       "ifrs-full:DisclosureOfOtherCurrentAssetsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:CurrentAccruedContractRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "soph:AccruedExpenses",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Property and Equipment - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
     "shortName": "Property and Equipment - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullClassesOfPropertyPlantAndEquipmentAxis_sophComputerHardwareMember_ifrs-fullRangeAxis_ifrs-fullBottomOfRangeMember_20210101_20211231",
      "decimals": null,
      "lang": "en-US",
      "name": "ifrs-full:UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PropertyPlantAndEquipment",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Property and Equipment - Summary of Property and Equipment, Net (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails",
     "shortName": "Property and Equipment - Summary of Property and Equipment, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_ifrs-fullCarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_ifrs-fullGrossCarryingAmountMember_20191231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:PropertyPlantAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfIntangibleAssetsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "soph:NumberOfOperatingSegment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_sophSegment",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Intangible Assets -Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails",
     "shortName": "Intangible Assets -Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfIntangibleAssetsExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "soph:NumberOfOperatingSegment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_sophSegment",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:IntangibleAssetsAndGoodwill",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Intangible Assets - Intangible Assets Net, Movement (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails",
     "shortName": "Intangible Assets - Intangible Assets Net, Movement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:IntangibleAssetsAndGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "soph:NumberOfSignificantLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_sophLease",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Leases - Additional Information (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
     "shortName": "Leases - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "soph:NumberOfSignificantLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_sophLease",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RightofuseAssets",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Leases - Schedule of Movements in Right of Use Assets (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInRightOfUseAssetsDetails",
     "shortName": "Leases - Schedule of Movements in Right of Use Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AdditionsToRightofuseAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20201231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:LeaseLiabilities",
      "reportCount": 1,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Leases - Schedule of Movements in Lease Liabilities (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInLeaseLiabilitiesDetails",
     "shortName": "Leases - Schedule of Movements in Lease Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20210101_20211231",
      "decimals": "-3",
      "lang": null,
      "name": "soph:AdditionsToLeaseLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfAccountsPayablesExplanatory",
       "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:TradeAndOtherPayablesToTradeSuppliers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100980 - Disclosure - Accounts Payable - Summary of Accounts Payable (Details)",
     "role": "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails",
     "shortName": "Accounts Payable - Summary of Accounts Payable (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "soph:DisclosureOfAccountsPayablesExplanatory",
       "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
       "body",
       "html"
      ],
      "baseRef": "soph-20f_20211231.htm",
      "contextRef": "C_0001840706_20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:TradeAndOtherPayablesToTradeSuppliers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_iso4217USD",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 128,
   "tag": {
    "country_AT": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AUSTRIA",
        "terseLabel": "Austria"
       }
      }
     },
     "localname": "AT",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_BR": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BRAZIL",
        "terseLabel": "Brazil"
       }
      }
     },
     "localname": "BR",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_CH": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SWITZERLAND",
        "terseLabel": "Switzerland"
       }
      }
     },
     "localname": "CH",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_DE": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GERMANY",
        "terseLabel": "Germany"
       }
      }
     },
     "localname": "DE",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_ES": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SPAIN",
        "terseLabel": "Spain"
       }
      }
     },
     "localname": "ES",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_FR": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FRANCE",
        "terseLabel": "France"
       }
      }
     },
     "localname": "FR",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_GB": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED KINGDOM",
        "terseLabel": "United Kingdom"
       }
      }
     },
     "localname": "GB",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_IT": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ITALY",
        "terseLabel": "Italy"
       }
      }
     },
     "localname": "IT",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_TR": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TURKEY",
        "terseLabel": "Turkey"
       }
      }
     },
     "localname": "TR",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_US": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED STATES",
        "terseLabel": "United States"
       }
      }
     },
     "localname": "US",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_AllCurrenciesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Currencies [Domain]",
        "terseLabel": "All Currencies"
       }
      }
     },
     "localname": "AllCurrenciesDomain",
     "nsuri": "http://xbrl.sec.gov/currency/2021",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]",
        "terseLabel": "Address Type"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "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",
        "verboseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r324",
      "r325",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm Id",
        "terseLabel": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r324",
      "r325",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location",
        "terseLabel": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r324",
      "r325",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name",
        "terseLabel": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r325",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]",
        "terseLabel": "Business Contact"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name",
        "terseLabel": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAccountingStandard": {
     "auth_ref": [
      "r325"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The basis of accounting the registrant has used to prepare the financial statements included in this filing This can either be 'U.S. GAAP', 'International Financial Reporting Standards', or 'Other'.",
        "label": "Document Accounting Standard",
        "terseLabel": "Document Accounting Standard"
       }
      }
     },
     "localname": "DocumentAccountingStandard",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "accountingStandardItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r324",
      "r325",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement",
        "terseLabel": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r327"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/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",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCountry": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ISO 3166-1 alpha-2 country code.",
        "label": "Entity Address Country",
        "terseLabel": "Entity Address, Country"
       }
      }
     },
     "localname": "EntityAddressCountry",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "countryCodeItemType"
    },
    "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses Address Type [Axis]",
        "terseLabel": "Entity Addresses, Address Type"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r322"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/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]",
        "terseLabel": "Entity"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r322"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r330"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r322"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r328"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r322"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r322"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well Known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r321"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r323"
     ],
     "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://sophiagenetics.com/20211231/taxonomy/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://sophiagenetics.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "ifrs-full_AccountingEstimatesAxis": {
     "auth_ref": [
      "r175"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Accounting Estimates [Axis]",
        "terseLabel": "Accounting estimates [axis]"
       }
      }
     },
     "localname": "AccountingEstimatesAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_AccountingEstimatesMember": {
     "auth_ref": [
      "r175"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for an asset, a liability or a periodic consumption of an asset, subject to adjustments that result from the assessment of the present status of, and expected future benefits and obligations associated with, assets and liabilities. It also represents the standard value for the 'Accounting estimates' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Accounting Estimates [Member]",
        "terseLabel": "Accounting estimates [member]"
       }
      }
     },
     "localname": "AccountingEstimatesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AccountingProfit": {
     "auth_ref": [
      "r63",
      "r64"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of profit (loss) for a period before deducting tax expense. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Accounting Profit",
        "terseLabel": "Loss before tax"
       }
      }
     },
     "localname": "AccountingProfit",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AccruedIncomeOtherThanContractAssets": {
     "auth_ref": [
      "r24",
      "r36"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_TradeAndOtherCurrentReceivables",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets representing income that has been earned but is not yet a receivable, other than contract assets. [Refer: Contract assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Accrued Income Other Than Contract Assets",
        "terseLabel": "Accrued contract revenue"
       }
      }
     },
     "localname": "AccruedIncomeOtherThanContractAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AccumulatedDepreciationAndAmortisationMember": {
     "auth_ref": [
      "r73",
      "r79",
      "r136",
      "r150",
      "r153"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for accumulated depreciation and amortisation. [Refer: Depreciation and amortisation expense]"
       }
      },
      "en-us": {
       "role": {
        "label": "Accumulated Depreciation And Amortisation [Member]",
        "terseLabel": "Accumulated Depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationAndAmortisationMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialAssumptionOfDiscountRates": {
     "auth_ref": [
      "r92"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The discount rate used as the significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumption Of Discount Rates",
        "terseLabel": "Estimating the defined benefit obligation, the discount rates"
       }
      }
     },
     "localname": "ActuarialAssumptionOfDiscountRates",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ActuarialAssumptionOfDiscountRatesMember": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the discount rates used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumption Of Discount Rates [Member]",
        "terseLabel": "Discount Rates"
       }
      }
     },
     "localname": "ActuarialAssumptionOfDiscountRatesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfInflation": {
     "auth_ref": [
      "r92"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The expected rate of inflation that is used as a significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit plans [member]; Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumption Of Expected Rates Of Inflation",
        "terseLabel": "Demographic assumptions increase in expected employee turnover rate"
       }
      }
     },
     "localname": "ActuarialAssumptionOfExpectedRatesOfInflation",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfInflationMember": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the expected rates of inflation used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumption Of Expected Rates Of Inflation [Member]",
        "terseLabel": "Inflation"
       }
      }
     },
     "localname": "ActuarialAssumptionOfExpectedRatesOfInflationMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfSalaryIncreases": {
     "auth_ref": [
      "r92"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The expected rate of salary increases used as a significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit plans [member]; Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumption Of Expected Rates Of Salary Increases",
        "terseLabel": "Demographic assumptions increase in expected employee salaries"
       }
      }
     },
     "localname": "ActuarialAssumptionOfExpectedRatesOfSalaryIncreases",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfSalaryIncreasesMember": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the expected rates of salary increases used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumption Of Expected Rates Of Salary Increases [Member]",
        "terseLabel": "Expected Rates of Salary Increases"
       }
      }
     },
     "localname": "ActuarialAssumptionOfExpectedRatesOfSalaryIncreasesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialAssumptionOfLifeExpectancyAfterRetirementMember": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the life expectancy after retirement used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumption Of Life Expectancy After Retirement [Member]",
        "terseLabel": "Life Expectancy"
       }
      }
     },
     "localname": "ActuarialAssumptionOfLifeExpectancyAfterRetirementMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialAssumptionsAxis": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumptions [Axis]",
        "terseLabel": "Actuarial assumptions [axis]"
       }
      }
     },
     "localname": "ActuarialAssumptionsAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ActuarialAssumptionsMember": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all actuarial assumptions. Actuarial assumptions are the entity\u2019s unbiased and mutually compatible best estimates of the demographic and financial variables that will determine the ultimate cost of providing post-employment benefits. It also represents the standard value for the 'Actuarial assumptions' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Assumptions [Member]",
        "terseLabel": "Actuarial assumptions [member]"
       }
      }
     },
     "localname": "ActuarialAssumptionsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialGainsLossesArisingFromChangesInDemographicAssumptionsNetOfTaxDefinedBenefitPlans": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails": {
       "order": 10040.0,
       "parentTag": "soph_ActuarialGainsLossesNetDefinedBenefitPlans",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, resulting from actuarial gains (losses) arising from changes in demographic assumptions that result in remeasurements of the net defined benefit liability (asset). Demographic assumptions deal with matters such as: (a) mortality; (b) rates of employee turnover, disability and early retirement; (c) the proportion of plan members with dependants who will be eligible for benefits; (d) the proportion of plan members who will select each form of payment option available under the plan terms; and (e) claim rates under medical plans. [Refer: Other comprehensive income, net of tax, gains (losses) on remeasurements of defined benefit plans] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from actuarial gains (losses) arising from changes in demographic assumptions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Gains Losses Arising From Changes In Demographic Assumptions Net Of Tax Defined Benefit Plans",
        "terseLabel": "Changes in demographic assumptions"
       }
      }
     },
     "localname": "ActuarialGainsLossesArisingFromChangesInDemographicAssumptionsNetOfTaxDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ActuarialGainsLossesArisingFromChangesInFinancialAssumptionsNetOfTaxDefinedBenefitPlans": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails": {
       "order": 10050.0,
       "parentTag": "soph_ActuarialGainsLossesNetDefinedBenefitPlans",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, resulting from actuarial gains (losses) arising from changes in financial assumptions that result in remeasurements of the net defined benefit liability (asset). Financial assumptions deal with items such as: (a) the discount rate; (b) benefit levels, excluding any cost of the benefits to be met by employees, and future salary; (c) in the case of medical benefits, future medical costs, including claim handling costs (ie the costs that will be incurred in processing and resolving claims, including legal and adjuster's fees); and (d) taxes payable by the plan on contributions relating to service before the reporting date or on benefits resulting from that service. [Refer: Other comprehensive income, net of tax, gains (losses) on remeasurements of defined benefit plans] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from actuarial gains (losses) arising from changes in financial assumptions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Gains Losses Arising From Changes In Financial Assumptions Net Of Tax Defined Benefit Plans",
        "terseLabel": "Changes in financial assumptions"
       }
      }
     },
     "localname": "ActuarialGainsLossesArisingFromChangesInFinancialAssumptionsNetOfTaxDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ActuarialGainsLossesArisingFromExperienceAdjustmentsNetOfTaxDefinedBenefitPlans": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails": {
       "order": 10060.0,
       "parentTag": "soph_ActuarialGainsLossesNetDefinedBenefitPlans",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, resulting from actuarial gains (losses) arising from experience adjustments that result in remeasurements of the net defined benefit liability (asset). Experience adjustments deal with the effects of differences between the previous actuarial assumptions and what has actually occurred. [Refer: Other comprehensive income, net of tax, gains (losses) on remeasurements of defined benefit plans] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from actuarial gains (losses) arising from experience adjustments]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial Gains Losses Arising From Experience Adjustments Net Of Tax Defined Benefit Plans",
        "terseLabel": "Experience adjustments"
       }
      }
     },
     "localname": "ActuarialGainsLossesArisingFromExperienceAdjustmentsNetOfTaxDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [
      "r314"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additional allowance for credit losses of financial assets recognised in profit or loss. [Refer: Allowance account for credit losses of financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additional Allowance Recognised In Profit Or Loss Allowance Account For Credit Losses Of Financial Assets",
        "terseLabel": "Increase"
       }
      }
     },
     "localname": "AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfMovementInAllowanceForExpectedCreditLossesInAccountsReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r137"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additions to intangible assets other than goodwill, other than those acquired through business combinations. [Refer: Business combinations [member]; Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additions Other Than Through Business Combinations Intangible Assets Other Than Goodwill",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment": {
     "auth_ref": [
      "r74"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additions to property, plant and equipment other than those acquired through business combinations. [Refer: Business combinations [member]; Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additions Other Than Through Business Combinations Property Plant And Equipment",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionsToRightofuseAssets": {
     "auth_ref": [
      "r223"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additions to right-of-use assets. [Refer: Right-of-use assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additions To Rightofuse Assets",
        "terseLabel": "Right-of-use assets, Additions"
       }
      }
     },
     "localname": "AdditionsToRightofuseAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInRightOfUseAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInInventories": {
     "auth_ref": [
      "r164"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10320.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for decrease (increase) in inventories to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Inventories; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Decrease Increase In Inventories",
        "terseLabel": "(Increase) decrease in inventory"
       }
      }
     },
     "localname": "AdjustmentsForDecreaseIncreaseInInventories",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInPrepaidExpenses": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10310.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for the decrease (increase) in prepaid expenses to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Current prepaid expenses; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Decrease Increase In Prepaid Expenses",
        "terseLabel": "(Increase) decrease in prepaids and other assets"
       }
      }
     },
     "localname": "AdjustmentsForDecreaseIncreaseInPrepaidExpenses",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInTradeAccountReceivable": {
     "auth_ref": [
      "r164"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10300.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for decrease (increase) in trade accounts receivable to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Decrease Increase In Trade Account Receivable",
        "terseLabel": "(Increase) decrease in accounts receivable"
       }
      }
     },
     "localname": "AdjustmentsForDecreaseIncreaseInTradeAccountReceivable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForDepreciationExpense": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10190.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for depreciation expense to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Depreciation Expense",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "AdjustmentsForDepreciationExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10290.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for gain (loss) on disposals of property, plant and equipment to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss); Property, plant and equipment; Disposals, property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Gain Loss On Disposals Property Plant And Equipment",
        "negatedLabel": "Loss on disposal of property and equipment"
       }
      }
     },
     "localname": "AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossExplorationAndEvaluationAssets": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10260.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for impairment loss (reversal of impairment loss) on exploration and evaluation assets recognised in profit or loss to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Exploration and evaluation assets [member]; Impairment loss; Adjustments for impairment loss (reversal of impairment loss) recognised in profit or loss; Impairment loss (reversal of impairment loss) recognised in profit or loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Impairment Loss Reversal Of Impairment Loss Recognised In Profit Or Loss Exploration And Evaluation Assets",
        "terseLabel": "Intangible assets write-off"
       }
      }
     },
     "localname": "AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossExplorationAndEvaluationAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForIncreaseDecreaseInEmployeeBenefitLiabilities": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10270.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in employee benefit liabilities to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Increase Decrease In Employee Benefit Liabilities",
        "terseLabel": "Movements in provisions, pensions, and government grants"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInEmployeeBenefitLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForIncreaseDecreaseInTradeAndOtherPayables": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10330.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in trade and other payables to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Trade and other payables; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Increase Decrease In Trade And Other Payables",
        "terseLabel": "Increase (decrease) in accounts payables, accrued expenses, deferred contract revenue, and other liabilities"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInTradeAndOtherPayables",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForInterestExpense": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10210.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for interest expense to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Interest expense; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Interest Expense",
        "terseLabel": "Interest expense"
       }
      }
     },
     "localname": "AdjustmentsForInterestExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForInterestIncome": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10220.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for interest income expense to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Interest income; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Interest Income",
        "negatedLabel": "Interest income"
       }
      }
     },
     "localname": "AdjustmentsForInterestIncome",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForReconcileProfitLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Reconcile Profit Loss [Abstract]",
        "terseLabel": "Adjustments for non-monetary items"
       }
      }
     },
     "localname": "AdjustmentsForReconcileProfitLossAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_AdjustmentsForSharebasedPayments": {
     "auth_ref": [
      "r165"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10070.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10250.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for share-based payments to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments For Sharebased Payments",
        "negatedLabel": "Share-based compensation",
        "terseLabel": "Share-based compensation"
       }
      }
     },
     "localname": "AdjustmentsForSharebasedPayments",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdministrativeExpense": {
     "auth_ref": [
      "r2",
      "r52",
      "r119"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10110.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expenses that the entity classifies as being administrative."
       }
      },
      "en-us": {
       "role": {
        "label": "Administrative Expense",
        "negatedLabel": "Office expenses"
       }
      }
     },
     "localname": "AdministrativeExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AggregatedTimeBandsMember": {
     "auth_ref": [
      "r27",
      "r96",
      "r215",
      "r228",
      "r229",
      "r253",
      "r278",
      "r284",
      "r301",
      "r302",
      "r304",
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated time bands. It also represents the standard value for the 'Maturity' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Aggregated Time Bands [Member]",
        "terseLabel": "Aggregated time bands [member]"
       }
      }
     },
     "localname": "AggregatedTimeBandsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [
      "r314"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_TradeAndOtherCurrentReceivables",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of an allowance account used to record impairments to financial assets due to credit losses. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Allowance Account For Credit Losses Of Financial Assets",
        "negatedLabel": "Allowance for expected credit losses",
        "periodEndLabel": "As of December 31",
        "periodStartLabel": "As of January 1"
       }
      }
     },
     "localname": "AllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfMovementInAllowanceForExpectedCreditLossesInAccountsReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AmortisationExpense": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10090.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10200.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of amortisation expense. Amortisation is the systematic allocation of depreciable amounts of intangible assets over their useful lives."
       }
      },
      "en-us": {
       "role": {
        "label": "Amortisation Expense",
        "negatedLabel": "Amortization",
        "terseLabel": "Amortization"
       }
      }
     },
     "localname": "AmortisationExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AmortisationMethodIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r135"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amortisation method used for intangible assets other than goodwill with finite useful lives. [Refer: Intangible assets other than goodwill; Depreciation and amortisation expense]"
       }
      },
      "en-us": {
       "role": {
        "label": "Amortisation Method Intangible Assets Other Than Goodwill",
        "terseLabel": "Amortization method"
       }
      }
     },
     "localname": "AmortisationMethodIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_AnalysisOfIncomeAndExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Analysis Of Income And Expense [Abstract]"
       }
      }
     },
     "localname": "AnalysisOfIncomeAndExpenseAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_Assets": {
     "auth_ref": [
      "r24",
      "r196",
      "r197",
      "r200",
      "r293",
      "r295"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of a present economic resource controlled by the entity as a result of past events. Economic resource is a right that has the potential to produce economic benefits."
       }
      },
      "en-us": {
       "role": {
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_AttributionOfExpensesByNatureToTheirFunctionAxis": {
     "auth_ref": [
      "r3",
      "r11"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Attribution Of Expenses By Nature To Their Function [Axis]",
        "terseLabel": "Attribution of expenses by nature to their function [axis]"
       }
      }
     },
     "localname": "AttributionOfExpensesByNatureToTheirFunctionAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_BankAcceptanceLiabilities": {
     "auth_ref": [
      "r24"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of bank acceptances recognised as liabilities."
       }
      },
      "en-us": {
       "role": {
        "label": "Bank Acceptance Liabilities",
        "terseLabel": "Designated cash"
       }
      }
     },
     "localname": "BankAcceptanceLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_Borrowings": {
     "auth_ref": [
      "r24"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of outstanding funds that the entity is obligated to repay."
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "terseLabel": "Outstanding borrowings",
        "verboseLabel": "Outstanding debt"
       }
      }
     },
     "localname": "Borrowings",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsSummaryOfBorrowingsActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCapitalManagementAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_BorrowingsAdjustmentToInterestRateBasis": {
     "auth_ref": [
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The adjustment to the basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings Adjustment To Interest Rate Basis",
        "terseLabel": "Adjusted interest rate"
       }
      }
     },
     "localname": "BorrowingsAdjustmentToInterestRateBasis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_BorrowingsByNameAxis": {
     "auth_ref": [
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings By Name [Axis]",
        "terseLabel": "Borrowings by name [axis]"
       }
      }
     },
     "localname": "BorrowingsByNameAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_BorrowingsByNameMember": {
     "auth_ref": [
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all borrowings when disaggregated by name. It also represents the standard value for the 'Borrowings by name' axis if no other member is used. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings By Name [Member]",
        "terseLabel": "Borrowings by name [member]"
       }
      }
     },
     "localname": "BorrowingsByNameMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_BorrowingsInterestRate": {
     "auth_ref": [
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The interest rate on borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings Interest Rate",
        "terseLabel": "Interest rate"
       }
      }
     },
     "localname": "BorrowingsInterestRate",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_BottomOfRangeMember": {
     "auth_ref": [
      "r203",
      "r205",
      "r206",
      "r241",
      "r272",
      "r304"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the bottom of a range."
       }
      },
      "en-us": {
       "role": {
        "label": "Bottom Of Range [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "BottomOfRangeMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CapitalCommitmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Commitments [Abstract]"
       }
      }
     },
     "localname": "CapitalCommitmentsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CapitalRequirementsAxis": {
     "auth_ref": [
      "r14"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Capital Requirements [Axis]",
        "terseLabel": "Capital requirements [axis]"
       }
      }
     },
     "localname": "CapitalRequirementsAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CapitalRequirementsMember": {
     "auth_ref": [
      "r14"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for capital requirements that the entity is subject to. It also represents the standard value for the 'Capital requirements' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Capital Requirements [Member]",
        "terseLabel": "Capital requirements [member]"
       }
      }
     },
     "localname": "CapitalRequirementsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CapitalisedDevelopmentExpenditureMember": {
     "auth_ref": [
      "r143"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of intangible assets arising from development expenditure capitalised before the start of commercial production or use. An intangible asset shall only be recognised if the entity can demonstrate all of the following: (a) the technical feasibility of completing the intangible asset so that it will be available for use or sale; (b) its intention to complete the intangible asset and use or sell it; (c) its ability to use or sell the intangible asset; (d) how the intangible asset will generate probable future economic benefits. Among other things, the entity can demonstrate the existence of a market for the output of the intangible asset or the intangible asset itself or, if it is to be used internally, the usefulness of the intangible asset; (e) the availability of adequate technical, financial and other resources to complete the development and to use or sell the intangible asset; and (f) its ability to measure reliably the expenditure attributable to the intangible asset during its development."
       }
      },
      "en-us": {
       "role": {
        "label": "Capitalised Development Expenditure [Member]",
        "terseLabel": "Capitalized Internally Developed Software Costs"
       }
      }
     },
     "localname": "CapitalisedDevelopmentExpenditureMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis": {
     "auth_ref": [
      "r73",
      "r77",
      "r136",
      "r141",
      "r149",
      "r150",
      "r151",
      "r152",
      "r153",
      "r250",
      "r261",
      "r262",
      "r316",
      "r319"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Carrying Amount Accumulated Depreciation Amortisation And Impairment And Gross Carrying Amount [Axis]",
        "terseLabel": "Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount [axis]"
       }
      }
     },
     "localname": "CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CarryingAmountMember": {
     "auth_ref": [
      "r77",
      "r141",
      "r149",
      "r151",
      "r152",
      "r250",
      "r261",
      "r262",
      "r316",
      "r318"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the amount at which an asset is recognised in the statement of financial position (after deducting any accumulated depreciation or amortisation and accumulated impairment losses). It also represents the standard value for the 'Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount' axis if no other member is used. [Refer: Depreciation and amortisation expense; Impairment loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Carrying Amount [Member]",
        "terseLabel": "Carrying amount [member]"
       }
      }
     },
     "localname": "CarryingAmountMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Cash": {
     "auth_ref": [
      "r172"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsScheduleOfCashAndCashEquivalentsDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of cash on hand and demand deposits. [Refer: Cash on hand]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "Cash",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsScheduleOfCashAndCashEquivalentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashAndCashEquivalents": {
     "auth_ref": [
      "r21",
      "r172",
      "r191"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsScheduleOfCashAndCashEquivalentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10270.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash And Cash Equivalents",
        "periodEndLabel": "Cash and cash equivalents at end of the year",
        "periodStartLabel": "Cash and cash equivalents at beginning of the year",
        "terseLabel": "Cash and cash equivalents",
        "totalLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalents",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCapitalManagementAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsScheduleOfCashAndCashEquivalentsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashAndCashEquivalentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash And Cash Equivalents [Abstract]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashEquivalents": {
     "auth_ref": [
      "r172"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsScheduleOfCashAndCashEquivalentsDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash Equivalents",
        "terseLabel": "Cash equivalents"
       }
      }
     },
     "localname": "CashEquivalents",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCasAndCashEquivalentsScheduleOfCashAndCashEquivalentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInDecreaseIncreaseInShorttermDepositsAndInvestments": {
     "auth_ref": [
      "r157"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10160.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow (outflow) due to a decrease (increase) in short-term deposits and investments."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash Flows From Used In Decrease Increase In Shortterm Deposits And Investments",
        "terseLabel": "Proceeds upon maturity of term deposits and short-term investments"
       }
      }
     },
     "localname": "CashFlowsFromUsedInDecreaseIncreaseInShorttermDepositsAndInvestments",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInFinancingActivities": {
     "auth_ref": [
      "r154",
      "r173"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10030.0,
       "parentTag": "ifrs-full_IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) financing activities, which are activities that result in changes in the size and composition of the contributed equity and borrowings of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash Flows From Used In Financing Activities",
        "totalLabel": "Net cash flow provided from (used in) financing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInFinancingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flows From Used In Financing Activities [Abstract]",
        "terseLabel": "Financing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInFinancingActivitiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashFlowsFromUsedInInvestingActivities": {
     "auth_ref": [
      "r154",
      "r173"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10020.0,
       "parentTag": "ifrs-full_IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) investing activities, which are the acquisition and disposal of long-term assets and other investments not included in cash equivalents."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash Flows From Used In Investing Activities",
        "totalLabel": "Net cash flow used in investing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInInvestingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flows From Used In Investing Activities [Abstract]",
        "terseLabel": "Investing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInInvestingActivitiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashFlowsFromUsedInOperatingActivities": {
     "auth_ref": [
      "r154",
      "r173"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10010.0,
       "parentTag": "ifrs-full_IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges",
       "weight": 1.0
      }
     },
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) operating activities, which are the principal revenue-producing activities of the entity and other activities that are not investing or financing activities. [Refer: Revenue]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash Flows From Used In Operating Activities",
        "totalLabel": "Net cash flows used in operating activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInOperatingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flows From Used In Operating Activities [Abstract]",
        "terseLabel": "Operating activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInOperatingActivitiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashOutflowForLeases": {
     "auth_ref": [
      "r222"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for leases."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash Outflow For Leases",
        "terseLabel": "Cash outflows related to leases less than 12 months"
       }
      }
     },
     "localname": "CashOutflowForLeases",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CategoriesOfFinancialAssetsAxis": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Categories Of Financial Assets [Axis]",
        "terseLabel": "Categories of financial assets [axis]"
       }
      }
     },
     "localname": "CategoriesOfFinancialAssetsAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CategoriesOfFinancialLiabilitiesAxis": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Categories Of Financial Liabilities [Axis]",
        "terseLabel": "Categories of financial liabilities [axis]"
       }
      }
     },
     "localname": "CategoriesOfFinancialLiabilitiesAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CategoriesOfRelatedPartiesAxis": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Categories Of Related Parties [Axis]",
        "terseLabel": "Categories of related parties [axis]"
       }
      }
     },
     "localname": "CategoriesOfRelatedPartiesAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ChangesInInventoriesOfFinishedGoodsAndWorkInProgress": {
     "auth_ref": [
      "r1",
      "r52"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease (increase) in inventories of finished goods and work in progress. [Refer: Inventories; Current finished goods; Current work in progress]"
       }
      },
      "en-us": {
       "role": {
        "label": "Changes In Inventories Of Finished Goods And Work In Progress",
        "negatedLabel": "Changes in inventories of finished goods and work in progress"
       }
      }
     },
     "localname": "ChangesInInventoriesOfFinishedGoodsAndWorkInProgress",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ClassesOfAssetsAxis": {
     "auth_ref": [
      "r129",
      "r131",
      "r201",
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes Of Assets [Axis]",
        "terseLabel": "Classes of assets [axis]"
       }
      }
     },
     "localname": "ClassesOfAssetsAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfAssetsMember": {
     "auth_ref": [
      "r129",
      "r201",
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a present economic resource controlled by the entity as a result of past events. Economic resource is a right that has the potential to produce economic benefits. It also represents the standard value for the 'Classes of assets' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes Of Assets [Member]",
        "terseLabel": "Assets [member]"
       }
      }
     },
     "localname": "ClassesOfAssetsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ClassesOfFinancialInstrumentsAxis": {
     "auth_ref": [
      "r261",
      "r264",
      "r266",
      "r268"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes Of Financial Instruments [Axis]",
        "terseLabel": "Classes of financial instruments [axis]"
       }
      }
     },
     "localname": "ClassesOfFinancialInstrumentsAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfFinancialInstrumentsMember": {
     "auth_ref": [
      "r261",
      "r264",
      "r266",
      "r268"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated classes of financial instruments. Financial instruments are contracts that give rise to a financial asset of one entity and a financial liability or equity instrument of another entity. It also represents the standard value for the 'Classes of financial instruments' axis if no other member is used. [Refer: Financial assets; Financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Classes Of Financial Instruments [Member]",
        "terseLabel": "Financial instruments, class [member]"
       }
      }
     },
     "localname": "ClassesOfFinancialInstrumentsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ClassesOfIntangibleAssetsAndGoodwillAxis": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes Of Intangible Assets And Goodwill [Axis]",
        "terseLabel": "Classes of intangible assets and goodwill [axis]"
       }
      }
     },
     "localname": "ClassesOfIntangibleAssetsAndGoodwillAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfInventoriesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes Of Inventories [Abstract]"
       }
      }
     },
     "localname": "ClassesOfInventoriesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes Of Property Plant And Equipment [Axis]",
        "terseLabel": "Classes of property, plant and equipment [axis]"
       }
      }
     },
     "localname": "ClassesOfPropertyPlantAndEquipmentAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfShareCapitalAxis": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes Of Share Capital [Axis]",
        "terseLabel": "Classes of share capital [axis]"
       }
      }
     },
     "localname": "ClassesOfShareCapitalAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfShareCapitalMember": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for share capital of the entity. It also represents the standard value for the 'Classes of share capital' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes Of Share Capital [Member]",
        "terseLabel": "Share capital [member]"
       }
      }
     },
     "localname": "ClassesOfShareCapitalMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ComponentsOfEquityAxis": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Components Of Equity [Axis]",
        "terseLabel": "Components of equity [axis]"
       }
      }
     },
     "localname": "ComponentsOfEquityAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components Of Other Comprehensive Income That Will Be Reclassified To Profit Or Loss Net Of Tax [Abstract]",
        "terseLabel": "Items that may be reclassified to statement of loss (net of tax)"
       }
      }
     },
     "localname": "ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components Of Other Comprehensive Income That Will Not Be Reclassified To Profit Or Loss Net Of Tax [Abstract]",
        "terseLabel": "Items that will not be reclassified to statement of loss (net of tax)"
       }
      }
     },
     "localname": "ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ComprehensiveIncome": {
     "auth_ref": [
      "r4",
      "r44",
      "r177",
      "r179",
      "r184",
      "r189"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss": {
       "order": 10010.0,
       "parentTag": "ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of change in equity resulting from transactions and other events, other than those changes resulting from transactions with owners in their capacity as owners."
       }
      },
      "en-us": {
       "role": {
        "label": "Comprehensive Income",
        "totalLabel": "Total comprehensive loss for the year"
       }
      }
     },
     "localname": "ComprehensiveIncome",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent": {
     "auth_ref": [
      "r4",
      "r46"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of comprehensive income attributable to owners of the parent. [Refer: Comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Comprehensive Income Attributable To Owners Of Parent",
        "totalLabel": "Attributable to owners of the parent"
       }
      }
     },
     "localname": "ComprehensiveIncomeAttributableToOwnersOfParent",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ContractLiabilities": {
     "auth_ref": [
      "r207",
      "r211"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of an entity\u2019s obligation to transfer goods or services to a customer for which the entity has received consideration (or the amount is due) from the customer."
       }
      },
      "en-us": {
       "role": {
        "label": "Contract Liabilities",
        "terseLabel": "Accrued contract revenue"
       }
      }
     },
     "localname": "ContractLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ContributionsToPlanByEmployerNetDefinedBenefitLiabilityAsset": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease (increase) in net defined benefit liability (asset) resulting from contributions to a defined benefit plan by the employer. [Refer: Net defined benefit liability (asset); Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Contributions To Plan By Employer Net Defined Benefit Liability Asset",
        "terseLabel": "Employer contributions"
       }
      }
     },
     "localname": "ContributionsToPlanByEmployerNetDefinedBenefitLiabilityAsset",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ContributionsToPlanByPlanParticipantsNetDefinedBenefitLiabilityAsset": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease (increase) in the net defined benefit liability (asset) resulting from contributions to a defined benefit plan by plan participants. [Refer: Net defined benefit liability (asset); Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Contributions To Plan By Plan Participants Net Defined Benefit Liability Asset",
        "negatedLabel": "Actual plan participants\u2019 contributions",
        "terseLabel": "Employee contributions"
       }
      }
     },
     "localname": "ContributionsToPlanByPlanParticipantsNetDefinedBenefitLiabilityAsset",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CostOfSales": {
     "auth_ref": [
      "r2",
      "r52"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10120.0,
       "parentTag": "ifrs-full_GrossProfit",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of all expenses directly or indirectly attributed to the goods or services sold. Attributed expenses include, but are not limited to, costs previously included in the measurement of inventory that has now been sold, such as depreciation and maintenance of factory buildings and equipment used in the production process, unallocated production overheads, and abnormal amounts of production costs of inventories."
       }
      },
      "en-us": {
       "role": {
        "label": "Cost Of Sales",
        "negatedLabel": "Cost of revenue"
       }
      }
     },
     "localname": "CostOfSales",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CostOfSalesMember": {
     "auth_ref": [
      "r3",
      "r11"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the amount of all expenses directly or indirectly attributed to goods or services sold. This member is used to attribute an expense by nature to a functional line item in the statement of profit or loss."
       }
      },
      "en-us": {
       "role": {
        "label": "Cost Of Sales [Member]",
        "terseLabel": "Cost of Revenue"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CounterpartiesAxis": {
     "auth_ref": [
      "r285"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Counterparties [Axis]",
        "terseLabel": "Counterparties [axis]"
       }
      }
     },
     "localname": "CounterpartiesAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfLossRecognizedOnDerivativeWithTriplepointLoanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CounterpartiesMember": {
     "auth_ref": [
      "r285"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the parties to the transaction other than the entity. It also represents the standard value for the 'Counterparties' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Counterparties [Member]",
        "terseLabel": "Counterparties [member]"
       }
      }
     },
     "localname": "CounterpartiesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfLossRecognizedOnDerivativeWithTriplepointLoanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CountryOfIncorporationOrResidenceOfSubsidiary": {
     "auth_ref": [
      "r122",
      "r125",
      "r181",
      "r183"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The country in which a subsidiary of the entity is incorporated. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Country Of Incorporation Or Residence Of Subsidiary",
        "terseLabel": "Subsidiary location"
       }
      }
     },
     "localname": "CountryOfIncorporationOrResidenceOfSubsidiary",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CurrencyInWhichInformationIsDisplayedAxis": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Currency In Which Information Is Displayed [Axis]",
        "terseLabel": "Currency in which information is displayed [axis]"
       }
      }
     },
     "localname": "CurrencyInWhichInformationIsDisplayedAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CurrentAssets": {
     "auth_ref": [
      "r28",
      "r184",
      "r185"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10200.0,
       "parentTag": "ifrs-full_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets that the entity (a) expects to realise or intends to sell or consume in its normal operating cycle; (b) holds primarily for the purpose of trading; (c) expects to realise within twelve months after the reporting period; or (d) classifies as cash or cash equivalents (as defined in IAS 7) unless the asset is restricted from being exchanged or used to settle a liability for at least twelve months after the reporting period. [Refer: Assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Assets",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "CurrentAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Assets [Abstract]",
        "terseLabel": "Current assets"
       }
      }
     },
     "localname": "CurrentAssetsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CurrentDeferredIncomeIncludingCurrentContractLiabilities": {
     "auth_ref": [
      "r24",
      "r36"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10160.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current deferred income including current contract liabilities. [Refer: Deferred income including contract liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Deferred Income Including Current Contract Liabilities",
        "terseLabel": "Deferred contract revenue"
       }
      }
     },
     "localname": "CurrentDeferredIncomeIncludingCurrentContractLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentLeaseLiabilities": {
     "auth_ref": [
      "r219"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10180.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current lease liabilities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Lease Liabilities",
        "terseLabel": "Current portion of lease liabilities"
       }
      }
     },
     "localname": "CurrentLeaseLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentLiabilities": {
     "auth_ref": [
      "r30",
      "r184",
      "r187"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10070.0,
       "parentTag": "ifrs-full_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The amount of liabilities that: (a) the entity expects to settle in its normal operating cycle; (b) the entity holds primarily for the purpose of trading; (c) are due to be settled within twelve months after the reporting period; or (d) the entity does not have an unconditional right to defer settlement for at least twelve months after the reporting period.\nEffective 2023-01-01: The amount of liabilities that: (a) the entity expects to settle in its normal operating cycle; (b) the entity holds primarily for the purpose of trading; (c) are due to be settled within twelve months after the reporting period; or (d) the entity does not have the right at the end of the reporting period to defer settlement for at least twelve months after the reporting period."
       }
      },
      "en-us": {
       "role": {
        "label": "Current Liabilities",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "CurrentLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Liabilities [Abstract]",
        "terseLabel": "Current liabilities"
       }
      }
     },
     "localname": "CurrentLiabilitiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CurrentPortionOfLongtermBorrowings": {
     "auth_ref": [
      "r24"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The current portion of non-current borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Portion Of Longterm Borrowings",
        "terseLabel": "Current portion of borrowings"
       }
      }
     },
     "localname": "CurrentPortionOfLongtermBorrowings",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentPrepayments": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_CurrentPrepaymentsAndOtherCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current prepayments. [Refer: Prepayments]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Prepayments",
        "terseLabel": "Prepayments"
       }
      }
     },
     "localname": "CurrentPrepayments",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentPrepaymentsAndOtherCurrentAssets": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10310.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current prepayments and other current assets. [Refer: Other current assets; Current prepayments]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Prepayments And Other Current Assets",
        "terseLabel": "Prepaids and other current assets",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "CurrentPrepaymentsAndOtherCurrentAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentServiceCostDefinedBenefitPlans": {
     "auth_ref": [
      "r81"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The expense of employee service in the current period arising from defined benefit plans. [Refer: Post-employment benefit expense in profit or loss, defined benefit plans] [Contrast: Increase in net defined benefit liability (asset) resulting from current service cost]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Service Cost Defined Benefit Plans",
        "negatedLabel": "of which current service cost"
       }
      }
     },
     "localname": "CurrentServiceCostDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTaxExpenseIncome": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income taxes payable (recoverable) in respect of the taxable profit (tax loss) for a period."
       }
      },
      "en-us": {
       "role": {
        "label": "Current Tax Expense Income",
        "negatedLabel": "Current year"
       }
      }
     },
     "localname": "CurrentTaxExpenseIncome",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current tax expense (income) and adjustments for the current tax of prior periods. [Refer: Current tax expense (income); Adjustments for current tax of prior periods]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Tax Expense Income And Adjustments For Current Tax Of Prior Periods",
        "negatedTotalLabel": "Total current income tax expense"
       }
      }
     },
     "localname": "CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriodsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Tax Expense Income And Adjustments For Current Tax Of Prior Periods [Abstract]",
        "terseLabel": "Current Tax Expense Income And Adjustments For Current Tax Of Prior Periods [Abstract]"
       }
      }
     },
     "localname": "CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriodsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CurrentTradeReceivables": {
     "auth_ref": [
      "r29",
      "r33"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_TradeAndOtherCurrentReceivables",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current trade receivables. [Refer: Trade receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Trade Receivables",
        "terseLabel": "Accounts receivable"
       }
      }
     },
     "localname": "CurrentTradeReceivables",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentValueAddedTaxReceivables": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails": {
       "order": 10050.0,
       "parentTag": "ifrs-full_CurrentPrepaymentsAndOtherCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current value added tax receivables. [Refer: Value added tax receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current Value Added Tax Receivables",
        "terseLabel": "VAT receivable"
       }
      }
     },
     "localname": "CurrentValueAddedTaxReceivables",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DateOfGrantOfSharebasedPaymentArrangement": {
     "auth_ref": [
      "r233",
      "r248"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The date on which share-based payment arrangements are granted. [Refer: Share-based payment arrangements [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Date Of Grant Of Sharebased Payment Arrangement",
        "terseLabel": "Grant date"
       }
      }
     },
     "localname": "DateOfGrantOfSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DeferredTaxAssets": {
     "auth_ref": [
      "r23",
      "r25",
      "r65"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amounts of income taxes recoverable in future periods in respect of: (a) deductible temporary differences; (b) the carryforward of unused tax losses; and (c) the carryforward of unused tax credits. [Refer: Temporary differences [member]; Unused tax credits [member]; Unused tax losses [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets",
        "terseLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxExpenseIncome": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of tax expense (income) relating to changes in deferred tax liabilities and deferred tax assets. [Refer: Deferred tax assets; Deferred tax liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred Tax Expense Income",
        "negatedTotalLabel": "Total deferred income tax (expense) benefit"
       }
      }
     },
     "localname": "DeferredTaxExpenseIncome",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxExpenseIncomeRecognisedInProfitOrLoss": {
     "auth_ref": [
      "r66"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of tax expense or income relating to changes in deferred tax liabilities and deferred tax assets, recognised in profit or loss. [Refer: Deferred tax assets; Deferred tax expense (income); Deferred tax liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred Tax Expense Income Recognised In Profit Or Loss",
        "terseLabel": "Recognized in profit or loss"
       }
      }
     },
     "localname": "DeferredTaxExpenseIncomeRecognisedInProfitOrLoss",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxExpenseIncomeRelatingToOriginationAndReversalOfTemporaryDifferences": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_DeferredTaxExpenseIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of deferred tax expense or income relating to the creation or reversal of temporary differences. [Refer: Temporary differences [member]; Deferred tax expense (income)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred Tax Expense Income Relating To Origination And Reversal Of Temporary Differences",
        "negatedLabel": "Origination and reversal of temporary differences"
       }
      }
     },
     "localname": "DeferredTaxExpenseIncomeRelatingToOriginationAndReversalOfTemporaryDifferences",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxLiabilities": {
     "auth_ref": [
      "r23",
      "r25",
      "r65"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amounts of income taxes payable in future periods in respect of taxable temporary differences. [Refer: Temporary differences [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred Tax Liabilities",
        "negatedLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxLiabilityAsset": {
     "auth_ref": [
      "r65"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of deferred tax liabilities or assets. [Refer: Deferred tax liabilities; Deferred tax assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred Tax Liability Asset",
        "periodEndLabel": "Deferred tax liability (asset) at end of period",
        "periodStartLabel": "Deferred tax liability (asset) at beginning of period"
       }
      }
     },
     "localname": "DeferredTaxLiabilityAsset",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DefinedBenefitObligationAtPresentValue": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfAdditionalDetailsOnDefinedPensionPlansFundedStatusDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_SurplusDeficitInPlan",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The present value, without deducting any plan assets, of expected future payments required to settle the obligation resulting from employee service in the current and prior periods. [Refer: Plan assets, at fair value]"
       }
      },
      "en-us": {
       "role": {
        "label": "Defined Benefit Obligation At Present Value",
        "negatedLabel": "Present value of defined benefit obligation",
        "negatedPeriodEndLabel": "December 31",
        "negatedPeriodStartLabel": "January 1"
       }
      }
     },
     "localname": "DefinedBenefitObligationAtPresentValue",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfAdditionalDetailsOnDefinedPensionPlansFundedStatusDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DefinedBenefitPlansAxis": {
     "auth_ref": [
      "r86"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Defined Benefit Plans [Axis]",
        "terseLabel": "Defined benefit plans [axis]"
       }
      }
     },
     "localname": "DefinedBenefitPlansAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DefinedBenefitPlansMember": {
     "auth_ref": [
      "r86"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for post-employment benefit plans other than defined contribution plans. Defined contribution plans are post-employment benefit plans under which an entity pays fixed contributions into a separate entity (a fund) and will have no legal or constructive obligation to pay further contributions if the fund does not hold sufficient assets to pay all employee benefits relating to employee service in the current and prior periods. It also represents the standard value for the 'Defined benefit plans' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Defined Benefit Plans [Member]",
        "terseLabel": "Defined benefit plans [member]"
       }
      }
     },
     "localname": "DefinedBenefitPlansMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_DepreciationExpense": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10080.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of depreciation expense. Depreciation is the systematic allocation of depreciable amounts of tangible assets over their useful lives."
       }
      },
      "en-us": {
       "role": {
        "label": "Depreciation Expense",
        "negatedLabel": "Depreciation"
       }
      }
     },
     "localname": "DepreciationExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DepreciationRightofuseAssets": {
     "auth_ref": [
      "r220"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of depreciation of right-of-use assets. [Refer: Depreciation and amortisation expense; Right-of-use assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Depreciation Rightofuse Assets",
        "negatedLabel": "Right-of-use assets, Depreciation charge"
       }
      }
     },
     "localname": "DepreciationRightofuseAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInRightOfUseAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DerivativesMember": {
     "auth_ref": [
      "r202",
      "r204",
      "r271",
      "r287"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for financial instruments or other contracts within the scope of IFRS 9 with all three of the following characteristics: (a) Their value changes in response to the change in a specified interest rate, financial instrument price, commodity price, foreign exchange rate, index of prices or rates, credit rating or credit index, or other variable, provided in the case of a non-financial variable that the variable is not specific to a party to the contract (sometimes called the \u2018underlying\u2019); (b) They require no initial net investment or an initial net investment that is smaller than would be required for other types of contracts that would be expected to have a similar response to changes in market factors; (c) They are settled at a future date. [Refer: Financial instruments, class [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Derivatives [Member]",
        "terseLabel": "Derivative"
       }
      }
     },
     "localname": "DerivativesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForFinancialAssetsExplanatory": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy for financial assets. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Accounting Policy For Financial Assets Explanatory",
        "terseLabel": "Financial Assets Classification"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForFinancialAssetsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForFinancialLiabilitiesExplanatory": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy for financial liabilities. [Refer: Financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Accounting Policy For Financial Liabilities Explanatory",
        "terseLabel": "Financial Liabilities Classification"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForFinancialLiabilitiesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy for foreign currency translation."
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Accounting Policy For Foreign Currency Translation Explanatory",
        "terseLabel": "Foreign Currency Translation"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy for property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Accounting Policy For Property Plant And Equipment Explanatory",
        "terseLabel": "Property and Equipment Accounting Policies"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAcquiree": {
     "auth_ref": [
      "r249"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the business or businesses that the acquirer obtains control of in a business combination. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Acquiree",
        "terseLabel": "Acquisition term"
       }
      }
     },
     "localname": "DescriptionOfAcquiree",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DescriptionOfExpectedVolatilityShareOptionsGranted": {
     "auth_ref": [
      "r243"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The expected volatility of the share price used to calculate the fair value of the share options granted. Expected volatility is a measure of the amount by which a price is expected to fluctuate during a period. The measure of volatility used in option pricing models is the annualised standard deviation of the continuously compounded rates of return on the share over a period of time."
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Expected Volatility Share Options Granted",
        "terseLabel": "Expected volatility"
       }
      }
     },
     "localname": "DescriptionOfExpectedVolatilityShareOptionsGranted",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_DescriptionOfMaximumTermOfOptionsGrantedForSharebasedPaymentArrangement": {
     "auth_ref": [
      "r233"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the maximum term of options granted for a type of share-based payment arrangement that existed at any time during the period. An entity with substantially similar types of share-based payment arrangements may aggregate this information. [Refer: Share-based payment arrangements [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Maximum Term Of Options Granted For Sharebased Payment Arrangement",
        "terseLabel": "Life of share-based payment arrangement options"
       }
      }
     },
     "localname": "DescriptionOfMaximumTermOfOptionsGrantedForSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DescriptionOfNatureOfRelatedPartyRelationship": {
     "auth_ref": [
      "r115"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the nature of the related party relationships. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Nature Of Related Party Relationship",
        "terseLabel": "Description of nature of related party relationship"
       }
      }
     },
     "localname": "DescriptionOfNatureOfRelatedPartyRelationship",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DescriptionOfOptionLifeShareOptionsGranted": {
     "auth_ref": [
      "r243"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The option life of share options granted."
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Option Life Share Options Granted",
        "terseLabel": "Expected life of share options (years)",
        "verboseLabel": "Life of option"
       }
      }
     },
     "localname": "DescriptionOfOptionLifeShareOptionsGranted",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_DescriptionOfRiskFreeInterestRateShareOptionsGranted": {
     "auth_ref": [
      "r243"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The implied yield currently available on zero-coupon government issues of the country in whose currency the exercise price for share options granted is expressed, with a remaining term equal to the expected term of the option being valued (based on the option's remaining contractual life and taking into account the effects of expected early exercise). [Refer: Government [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Risk Free Interest Rate Share Options Granted",
        "negatedLabel": "Risk free interest rate",
        "terseLabel": "Risk free interest rate"
       }
      }
     },
     "localname": "DescriptionOfRiskFreeInterestRateShareOptionsGranted",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_DescriptionOfVestingRequirementsForSharebasedPaymentArrangement": {
     "auth_ref": [
      "r233"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the vesting requirements for a type of share-based payment arrangement that existed at any time during the period. An entity with substantially similar types of share-based payment arrangements may aggregate this information. [Refer: Share-based payment arrangements [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description Of Vesting Requirements For Sharebased Payment Arrangement",
        "terseLabel": "Description of vesting requirements for share-based payment arrangement"
       }
      }
     },
     "localname": "DescriptionOfVestingRequirementsForSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfAccruedExpensesAndOtherLiabilitiesExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of accrued expenses and other liabilities. [Refer: Accruals; Other liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Accrued Expenses And Other Liabilities Explanatory",
        "terseLabel": "Accrued Expenses"
       }
      }
     },
     "localname": "DisclosureOfAccruedExpensesAndOtherLiabilitiesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpenses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory": {
     "auth_ref": [
      "r82"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of additional information about defined benefit plans necessary to meet the objectives of IAS 19. [Refer: Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Additional Information About Defined Benefit Plans Explanatory",
        "terseLabel": "Summary of Additional Details on Defined Pension Plans Funded Status"
       }
      }
     },
     "localname": "DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfAllowanceForCreditLossesExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the allowance relating to impairments of financial assets due to credit losses. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Allowance For Credit Losses Explanatory",
        "terseLabel": "Schedule of Movement in Allowance for Expected Credit Losses in Accounts Receivable"
       }
      }
     },
     "localname": "DisclosureOfAllowanceForCreditLossesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfAttributionOfExpensesByNatureToTheirFunctionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Attribution Of Expenses By Nature To Their Function [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfAttributionOfExpensesByNatureToTheirFunctionAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfAttributionOfExpensesByNatureToTheirFunctionLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Attribution Of Expenses By Nature To Their Function [Line Items]",
        "terseLabel": "Disclosure Of Attribution Of Expenses By Nature To Their Function [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfAttributionOfExpensesByNatureToTheirFunctionLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfAttributionOfExpensesByNatureToTheirFunctionTable": {
     "auth_ref": [
      "r3",
      "r11"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to attribution of expenses by nature to analysis of expenses by function in the statement of profit or loss."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Attribution Of Expenses By Nature To Their Function [Table]",
        "terseLabel": "Disclosure Of Attribution Of Expenses By Nature To Their Function [Table]"
       }
      }
     },
     "localname": "DisclosureOfAttributionOfExpensesByNatureToTheirFunctionTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfBorrowingsExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Borrowings Explanatory",
        "terseLabel": "Borrowings"
       }
      }
     },
     "localname": "DisclosureOfBorrowingsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfCashAndCashEquivalentsExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of cash and cash equivalents. [Refer: Cash and cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Cash And Cash Equivalents Explanatory",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "DisclosureOfCashAndCashEquivalentsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCashAndCashEquivalents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Classes Of Share Capital [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfClassesOfShareCapitalAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Classes Of Share Capital [Line Items]",
        "terseLabel": "Disclosure Of Classes Of Share Capital [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfClassesOfShareCapitalLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalTable": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to classes of share capital."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Classes Of Share Capital [Table]",
        "terseLabel": "Disclosure Of Classes Of Share Capital [Table]"
       }
      }
     },
     "localname": "DisclosureOfClassesOfShareCapitalTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of commitments and contingent liabilities. [Refer: Contingent liabilities [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Commitments And Contingent Liabilities Explanatory",
        "terseLabel": "Commitments And Contingencies"
       }
      }
     },
     "localname": "DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfContingentLiabilitiesInBusinessCombinationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Contingent Liabilities In Business Combination [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfContingentLiabilitiesInBusinessCombinationAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfCostOfSalesExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the cost of sales. [Refer: Cost of sales]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Cost Of Sales Explanatory",
        "terseLabel": "Cost of Revenue"
       }
      }
     },
     "localname": "DisclosureOfCostOfSalesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCostOfRevenue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDeferredTaxesExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of deferred taxes. [Refer: Deferred tax liabilities; Deferred tax assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Deferred Taxes Explanatory",
        "terseLabel": "Summary of Movement in Deferred Tax Balances"
       }
      }
     },
     "localname": "DisclosureOfDeferredTaxesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansExplanatory": {
     "auth_ref": [
      "r86"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of defined benefit plans. [Refer: Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Defined Benefit Plans Explanatory",
        "terseLabel": "Summary of Defined Benefit Plans Assets"
       }
      }
     },
     "localname": "DisclosureOfDefinedBenefitPlansExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Defined Benefit Plans [Line Items]",
        "terseLabel": "Disclosure Of Defined Benefit Plans [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfDefinedBenefitPlansLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansTable": {
     "auth_ref": [
      "r86"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to defined benefit plans."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Defined Benefit Plans [Table]",
        "terseLabel": "Disclosure Of Defined Benefit Plans [Table]"
       }
      }
     },
     "localname": "DisclosureOfDefinedBenefitPlansTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Borrowings [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsExplanatory": {
     "auth_ref": [
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Borrowings Explanatory",
        "terseLabel": "Summary of Borrowings Activity"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Borrowings [Line Items]",
        "terseLabel": "Disclosure Of Detailed Information About Borrowings [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable": {
     "auth_ref": [
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of borrowings."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Borrowings [Table]",
        "terseLabel": "Disclosure Of Detailed Information About Borrowings [Table]"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory": {
     "auth_ref": [
      "r257",
      "r264",
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about financial instruments. [Refer: Financial instruments, class [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Financial Instruments Explanatory",
        "terseLabel": "Schedule of Financial Instruments"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Property Plant And Equipment Explanatory",
        "terseLabel": "Summary of Property and Equipment, Net"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory": {
     "auth_ref": [
      "r209"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the disaggregation of revenue from contracts with customers. [Refer: Revenue from contracts with customers]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Disaggregation Of Revenue From Contracts With Customers Explanatory",
        "terseLabel": "Schedule of Revenue from Contracts with Customers Allocated to Revenue Streams"
       }
      }
     },
     "localname": "DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Disaggregation Of Revenue From Contracts With Customers [Line Items]",
        "terseLabel": "Disclosure Of Disaggregation Of Revenue From Contracts With Customers [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueScheduleOfRevenueFromContractsWithCustomersAllocatedToRevenueStreamsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable": {
     "auth_ref": [
      "r209"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the disaggregation of revenue from contracts with customers."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Disaggregation Of Revenue From Contracts With Customers [Table]",
        "terseLabel": "Disclosure Of Disaggregation Of Revenue From Contracts With Customers [Table]"
       }
      }
     },
     "localname": "DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueScheduleOfRevenueFromContractsWithCustomersAllocatedToRevenueStreamsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfEarningsPerShareExplanatory": {
     "auth_ref": [
      "r128"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for earnings per share."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Earnings Per Share Explanatory",
        "terseLabel": "Loss Per Share"
       }
      }
     },
     "localname": "DisclosureOfEarningsPerShareExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory": {
     "auth_ref": [
      "r109"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for the effect of changes in foreign exchange rates."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Effect Of Changes In Foreign Exchange Rates Explanatory",
        "terseLabel": "Summary of Significant Foreign Exchange Rates"
       }
      }
     },
     "localname": "DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfEmployeeBenefitsExplanatory": {
     "auth_ref": [
      "r102"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for employee benefits."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Employee Benefits Explanatory",
        "terseLabel": "Post-employment Benefits"
       }
      }
     },
     "localname": "DisclosureOfEmployeeBenefitsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfEventsAfterReportingPeriodExplanatory": {
     "auth_ref": [
      "r55"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for events after the reporting period."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Events After Reporting Period Explanatory",
        "terseLabel": "Events After Reporting Date"
       }
      }
     },
     "localname": "DisclosureOfEventsAfterReportingPeriodExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureEventsAfterReportingDate"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFinanceCostExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of finance cost. [Refer: Finance costs]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Finance Cost Explanatory",
        "terseLabel": "Finance Expense, Net"
       }
      }
     },
     "localname": "DisclosureOfFinanceCostExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinanceExpenseNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFinanceIncomeExpenseExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of finance income (cost). [Refer: Finance income (cost)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Finance Income Expense Explanatory",
        "terseLabel": "Schedule of Finance Expense, Net"
       }
      }
     },
     "localname": "DisclosureOfFinanceIncomeExpenseExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinanceExpenseNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Financial Instruments [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsExplanatory": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for financial instruments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Financial Instruments Explanatory",
        "terseLabel": "Financial Instruments and Risks"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisks"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Financial Instruments [Line Items]",
        "terseLabel": "Disclosure Of Financial Instruments [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsTable": {
     "auth_ref": [
      "r257",
      "r264",
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of financial instruments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Financial Instruments [Table]",
        "terseLabel": "Disclosure Of Financial Instruments [Table]"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfGeographicalAreasExplanatory": {
     "auth_ref": [
      "r300"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of geographical information."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Geographical Areas Explanatory",
        "terseLabel": "Summary of Revenue by Customer Location"
       }
      }
     },
     "localname": "DisclosureOfGeographicalAreasExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfIncomeTaxExplanatory": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for income taxes."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Income Tax Explanatory",
        "terseLabel": "Income Tax"
       }
      }
     },
     "localname": "DisclosureOfIncomeTaxExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTax"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfIndirectMeasurementOfFairValueOfGoodsOrServicesReceivedShareOptionsGrantedDuringPeriodExplanatory": {
     "auth_ref": [
      "r244"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of information about indirect, by reference to the fair value of the equity instruments granted, measurement of the fair value of goods or services received as consideration for the entity's share options."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Indirect Measurement Of Fair Value Of Goods Or Services Received Share Options Granted During Period Explanatory",
        "terseLabel": "Summary of Valuation Inputs"
       }
      }
     },
     "localname": "DisclosureOfIndirectMeasurementOfFairValueOfGoodsOrServicesReceivedShareOptionsGrantedDuringPeriodExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfInformationAboutCreditExposuresDesignatedAsMeasuredAtFairValueThroughProfitOrLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Information About Credit Exposures Designated As Measured At Fair Value Through Profit Or Loss [Line Items]",
        "terseLabel": "Disclosure Of Information About Credit Exposures Designated As Measured At Fair Value Through Profit Or Loss [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfInformationAboutCreditExposuresDesignatedAsMeasuredAtFairValueThroughProfitOrLossLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfLossRecognizedOnDerivativeWithTriplepointLoanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfInformationAboutCreditExposuresDesignatedAsMeasuredAtFairValueThroughProfitOrLossTable": {
     "auth_ref": [
      "r255"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to credit exposures designated as measured at fair value through profit or loss."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Information About Credit Exposures Designated As Measured At Fair Value Through Profit Or Loss [Table]",
        "terseLabel": "Disclosure Of Information About Credit Exposures Designated As Measured At Fair Value Through Profit Or Loss [Table]"
       }
      }
     },
     "localname": "DisclosureOfInformationAboutCreditExposuresDesignatedAsMeasuredAtFairValueThroughProfitOrLossTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfLossRecognizedOnDerivativeWithTriplepointLoanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfIntangibleAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Intangible Assets [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfIntangibleAssetsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfIntangibleAssetsExplanatory": {
     "auth_ref": [
      "r148"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for intangible assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Intangible Assets Explanatory",
        "terseLabel": "Intangible Assets"
       }
      }
     },
     "localname": "DisclosureOfIntangibleAssetsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Intangible Assets [Line Items]",
        "terseLabel": "Disclosure Of Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfIntangibleAssetsLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfIntangibleAssetsTable": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of intangible assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Intangible Assets [Table]",
        "terseLabel": "Disclosure Of Intangible Assets [Table]"
       }
      }
     },
     "localname": "DisclosureOfIntangibleAssetsTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfInventoriesExplanatory": {
     "auth_ref": [
      "r105"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for inventories."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Inventories Explanatory",
        "terseLabel": "Inventory"
       }
      }
     },
     "localname": "DisclosureOfInventoriesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventory"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfLeasesExplanatory": {
     "auth_ref": [
      "r230",
      "r231"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for leases."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Leases Explanatory",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "DisclosureOfLeasesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfMaturityAnalysisOfUndiscountedCashOutflowsToRepurchaseDerecognisedFinancialAssetsExplanatory": {
     "auth_ref": [
      "r270"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of a maturity analysis of the undiscounted cash outflows that would or may be required to repurchase derecognised financial assets or other amounts payable to the transferee in respect of transferred assets, showing the remaining contractual maturities of the entity's continuing involvement. [Refer: Undiscounted cash outflow required to repurchase derecognised financial assets; Other amounts payable to transferee in respect of transferred assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Maturity Analysis Of Undiscounted Cash Outflows To Repurchase Derecognised Financial Assets Explanatory",
        "terseLabel": "Summary of Maturity Profile of Financial Liabilities"
       }
      }
     },
     "localname": "DisclosureOfMaturityAnalysisOfUndiscountedCashOutflowsToRepurchaseDerecognisedFinancialAssetsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfNumberAndWeightedAverageExercisePricesOfOtherEquityInstrumentsExplanatory": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the number and weighted average exercise prices of other equity instruments (ie other than share options)."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Number And Weighted Average Exercise Prices Of Other Equity Instruments Explanatory",
        "terseLabel": "Summary of Restricted Stock Units Activity"
       }
      }
     },
     "localname": "DisclosureOfNumberAndWeightedAverageExercisePricesOfOtherEquityInstrumentsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfNumberAndWeightedAverageExercisePricesOfShareOptionsExplanatory": {
     "auth_ref": [
      "r240"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the number and weighted average exercise prices of share options. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Number And Weighted Average Exercise Prices Of Share Options Explanatory",
        "terseLabel": "Summary of Stock Option Activity"
       }
      }
     },
     "localname": "DisclosureOfNumberAndWeightedAverageExercisePricesOfShareOptionsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOperatingSegmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Operating Segments [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfOperatingSegmentsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfOperatingSegmentsExplanatory": {
     "auth_ref": [
      "r293"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of operating segments. [Refer: Operating segments [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Operating Segments Explanatory",
        "terseLabel": "Segment Reporting"
       }
      }
     },
     "localname": "DisclosureOfOperatingSegmentsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReporting"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOperatingSegmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Operating Segments [Line Items]",
        "terseLabel": "Disclosure Of Operating Segments [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfOperatingSegmentsLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfOperatingSegmentsTable": {
     "auth_ref": [
      "r293"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to operating segments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Operating Segments [Table]",
        "terseLabel": "Disclosure Of Operating Segments [Table]"
       }
      }
     },
     "localname": "DisclosureOfOperatingSegmentsTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfOtherCurrentAssetsExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of other current assets. [Refer: Other current assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Other Current Assets Explanatory",
        "terseLabel": "Prepaids and Other Current Assets"
       }
      }
     },
     "localname": "DisclosureOfOtherCurrentAssetsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOtherNoncurrentLiabilitiesExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of other non-current liabilities. [Refer: Other non-current liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Other Noncurrent Liabilities Explanatory",
        "terseLabel": "Schedule of Other Non-Current Liabilities"
       }
      }
     },
     "localname": "DisclosureOfOtherNoncurrentLiabilitiesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOtherOperatingIncomeExpenseExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of other operating income or expense. [Refer: Other operating income (expense)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Other Operating Income Expense Explanatory",
        "terseLabel": "Other Operating Income (Expense), Net"
       }
      }
     },
     "localname": "DisclosureOfOtherOperatingIncomeExpenseExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherOperatingIncomeExpenseNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfPerformanceObligationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Performance Obligations [Line Items]",
        "terseLabel": "Disclosure Of Performance Obligations [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfPerformanceObligationsLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfPerformanceObligationsTable": {
     "auth_ref": [
      "r214"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to performance obligations in contracts with customers."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Performance Obligations [Table]",
        "terseLabel": "Disclosure Of Performance Obligations [Table]"
       }
      }
     },
     "localname": "DisclosureOfPerformanceObligationsTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Property Plant And Equipment [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfPropertyPlantAndEquipmentAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentExplanatory": {
     "auth_ref": [
      "r80"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for property, plant and equipment."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Property Plant And Equipment Explanatory",
        "terseLabel": "Property and Equipment"
       }
      }
     },
     "localname": "DisclosureOfPropertyPlantAndEquipmentExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipment"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Property Plant And Equipment [Line Items]",
        "terseLabel": "Disclosure Of Property Plant And Equipment [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfPropertyPlantAndEquipmentLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of property, plant and equipment."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Property Plant And Equipment [Table]",
        "terseLabel": "Disclosure Of Property Plant And Equipment [Table]"
       }
      }
     },
     "localname": "DisclosureOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutLeasesForLesseeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Quantitative Information About Leases For Lessee [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfQuantitativeInformationAboutLeasesForLesseeAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory": {
     "auth_ref": [
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of quantitative information about right-of-use assets. [Refer: Right-of-use assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Quantitative Information About Rightofuse Assets Explanatory",
        "terseLabel": "Schedule of Movements in Right of Use Assets"
       }
      }
     },
     "localname": "DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the reconciliation of changes in intangible assets and goodwill. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Reconciliation Of Changes In Intangible Assets And Goodwill Explanatory",
        "terseLabel": "Intangible Assets Net, Movement"
       }
      }
     },
     "localname": "DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangiblesAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfRelatedPartyExplanatory": {
     "auth_ref": [
      "r118"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for related parties."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Related Party Explanatory",
        "terseLabel": "Related Parties"
       }
      }
     },
     "localname": "DisclosureOfRelatedPartyExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedParties"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfRevenueFromContractsWithCustomersExplanatory": {
     "auth_ref": [
      "r217",
      "r218"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for revenue from contracts with customers."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Revenue From Contracts With Customers Explanatory",
        "terseLabel": "Revenue"
       }
      }
     },
     "localname": "DisclosureOfRevenueFromContractsWithCustomersExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of a sensitivity analysis for significant actuarial assumptions used to determine the present value of a defined benefit obligation. [Refer: Actuarial assumptions [member]; Defined benefit obligation, at present value]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Sensitivity Analysis For Actuarial Assumptions Explanatory",
        "terseLabel": "Schedule of Sensitivity Analysis for Funded and Unfunded Plans"
       }
      }
     },
     "localname": "DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfSensitivityAnalysisForActuarialAssumptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Sensitivity Analysis For Actuarial Assumptions [Line Items]",
        "terseLabel": "Disclosure Of Sensitivity Analysis For Actuarial Assumptions [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfSensitivityAnalysisForActuarialAssumptionsLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfSensitivityAnalysisForActuarialAssumptionsTable": {
     "auth_ref": [
      "r94"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the sensitivity analysis for actuarial assumptions."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Sensitivity Analysis For Actuarial Assumptions [Table]",
        "terseLabel": "Disclosure Of Sensitivity Analysis For Actuarial Assumptions [Table]"
       }
      }
     },
     "localname": "DisclosureOfSensitivityAnalysisForActuarialAssumptionsTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory": {
     "auth_ref": [
      "r41"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for share capital, reserves and other equity interest."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Share Capital Reserves And Other Equity Interest Explanatory",
        "terseLabel": "Share Capital Issuance"
       }
      }
     },
     "localname": "DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuance"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfSharebasedPaymentArrangementsExplanatory": {
     "auth_ref": [
      "r232"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangements."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Sharebased Payment Arrangements Explanatory",
        "terseLabel": "Share-based Compensation"
       }
      }
     },
     "localname": "DisclosureOfSharebasedPaymentArrangementsExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Significant Investments In Subsidiaries [Line Items]",
        "terseLabel": "Disclosure Of Significant Investments In Subsidiaries [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable": {
     "auth_ref": [
      "r123",
      "r126",
      "r195"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to subsidiaries."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Significant Investments In Subsidiaries [Table]",
        "terseLabel": "Disclosure Of Significant Investments In Subsidiaries [Table]"
       }
      }
     },
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for significant accounting policies applied by the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Summary Of Significant Accounting Policies Explanatory",
        "terseLabel": "Significant accounting policies"
       }
      }
     },
     "localname": "DisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to temporary differences, unused tax losses and unused tax credits."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Temporary Difference Unused Tax Losses And Unused Tax Credits [Table]",
        "terseLabel": "Disclosure Of Temporary Difference Unused Tax Losses And Unused Tax Credits [Table]"
       }
      }
     },
     "localname": "DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Terms And Conditions Of Sharebased Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Terms And Conditions Of Sharebased Payment Arrangement [Line Items]",
        "terseLabel": "Disclosure Of Terms And Conditions Of Sharebased Payment Arrangement [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationWeightedAverageFairValueOfOptionsGrantedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to terms and conditions of share-based payment arrangements."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Terms And Conditions Of Sharebased Payment Arrangement [Table]",
        "terseLabel": "Disclosure Of Terms And Conditions Of Sharebased Payment Arrangement [Table]"
       }
      }
     },
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationWeightedAverageFairValueOfOptionsGrantedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTradeAndOtherPayablesExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of trade and other payables. [Refer: Trade and other payables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Trade And Other Payables Explanatory",
        "terseLabel": "Accounts Payable"
       }
      }
     },
     "localname": "DisclosureOfTradeAndOtherPayablesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfTradeAndOtherReceivablesExplanatory": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of trade and other receivables. [Refer: Trade and other receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Trade And Other Receivables Explanatory",
        "terseLabel": "Accounts Receivable"
       }
      }
     },
     "localname": "DisclosureOfTradeAndOtherReceivablesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Transactions Between Related Parties [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesExplanatory": {
     "auth_ref": [
      "r115"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of transactions between the entity and its related parties. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Transactions Between Related Parties Explanatory",
        "terseLabel": "Summary of Compensation for Key Management and Non-executive Directors"
       }
      }
     },
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Transactions Between Related Parties [Line Items]",
        "terseLabel": "Disclosure Of Transactions Between Related Parties [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesTable": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to transactions between related parties."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure Of Transactions Between Related Parties [Table]",
        "terseLabel": "Disclosure Of Transactions Between Related Parties [Table]"
       }
      }
     },
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisposalsIntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r138"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in intangible assets and goodwill resulting from disposals. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disposals Intangible Assets And Goodwill",
        "negatedLabel": "Disposals"
       }
      }
     },
     "localname": "DisposalsIntangibleAssetsAndGoodwill",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DisposalsPropertyPlantAndEquipment": {
     "auth_ref": [
      "r75"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in property, plant and equipment resulting from disposals. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disposals Property Plant And Equipment",
        "negatedLabel": "Disposals"
       }
      }
     },
     "localname": "DisposalsPropertyPlantAndEquipment",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DomicileOfEntity": {
     "auth_ref": [
      "r15"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The country of domicile of the entity. [Refer: Country of domicile [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Domicile Of Entity",
        "terseLabel": "Country of domicile"
       }
      }
     },
     "localname": "DomicileOfEntity",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Loss per share"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_EarningsPerShareExplanatory": {
     "auth_ref": [
      "r127"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of earnings per share."
       }
      },
      "en-us": {
       "role": {
        "label": "Earnings Per Share Explanatory",
        "terseLabel": "Components of Loss for Year"
       }
      }
     },
     "localname": "EarningsPerShareExplanatory",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_EarningsPerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Line Items]",
        "terseLabel": "Earnings Per Share [Line Items]"
       }
      }
     },
     "localname": "EarningsPerShareLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_EarningsPerShareTable": {
     "auth_ref": [
      "r127"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to earnings per share."
       }
      },
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Table]",
        "terseLabel": "Earnings Per Share [Table]"
       }
      }
     },
     "localname": "EarningsPerShareTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents": {
     "auth_ref": [
      "r167",
      "r168"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The effect of exchange rate changes on cash and cash equivalents held or due in a foreign currency. [Refer: Cash and cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Effect Of Exchange Rate Changes On Cash And Cash Equivalents",
        "terseLabel": "Effect of exchange differences on cash balances"
       }
      }
     },
     "localname": "EffectOfExchangeRateChangesOnCashAndCashEquivalents",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EmployeeBenefitsExpense": {
     "auth_ref": [
      "r1",
      "r3",
      "r52"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The expense of all forms of consideration given by an entity in exchange for a service rendered by employees or for the termination of employment."
       }
      },
      "en-us": {
       "role": {
        "label": "Employee Benefits Expense",
        "negatedLabel": "Employee benefit expenses"
       }
      }
     },
     "localname": "EmployeeBenefitsExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EntitysTotalForRelatedPartiesMember": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Categories of related parties' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entitys Total For Related Parties [Member]",
        "terseLabel": "Entity's total for related parties [member]"
       }
      }
     },
     "localname": "EntitysTotalForRelatedPartiesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EntitysTotalForSubsidiariesMember": {
     "auth_ref": [
      "r123",
      "r126",
      "r195"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Subsidiaries' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entitys Total For Subsidiaries [Member]",
        "terseLabel": "Entity's total for subsidiaries [member]"
       }
      }
     },
     "localname": "EntitysTotalForSubsidiariesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Equity": {
     "auth_ref": [
      "r24",
      "r35",
      "r176",
      "r178",
      "r196",
      "r197",
      "r200"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10020.0,
       "parentTag": "ifrs-full_EquityAndLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of residual interest in the assets of the entity after deducting all its liabilities."
       }
      },
      "en-us": {
       "role": {
        "label": "Equity",
        "periodEndLabel": "Balance, end of the year",
        "periodStartLabel": "Balance, beginning of the year",
        "totalLabel": "Total equity"
       }
      }
     },
     "localname": "Equity",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_EquityAndLiabilities": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of the entity's equity and liabilities. [Refer: Equity; Liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Equity And Liabilities",
        "totalLabel": "Total liabilities and equity"
       }
      }
     },
     "localname": "EquityAndLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EquityAndLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity And Liabilities [Abstract]",
        "terseLabel": "Liabilities and equity"
       }
      }
     },
     "localname": "EquityAndLiabilitiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_EquityMember": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the residual interest in the assets of the entity after deducting all its liabilities. It also represents the standard value for the 'Components of equity' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Equity [Member]",
        "terseLabel": "Equity [member]"
       }
      }
     },
     "localname": "EquityMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EstimateOfContributionsExpectedToBePaidToPlan": {
     "auth_ref": [
      "r95",
      "r97"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The estimate of the expected contributions to be made to a defined benefit plan for the next annual reporting period. [Refer: Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Estimate Of Contributions Expected To Be Paid To Plan",
        "terseLabel": "Expected employer contributions for next annual reporting period"
       }
      }
     },
     "localname": "EstimateOfContributionsExpectedToBePaidToPlan",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EstimatedFinancialEffectOfContingentAssets": {
     "auth_ref": [
      "r133"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of the estimated financial effect of possible assets that arise from past events and whose existence will be confirmed only by the occurrence or non-occurrence of one or more uncertain future events not wholly within control of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Estimated Financial Effect Of Contingent Assets",
        "terseLabel": "Contingent assets"
       }
      }
     },
     "localname": "EstimatedFinancialEffectOfContingentAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EstimatedFinancialEffectOfContingentLiabilities": {
     "auth_ref": [
      "r132"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of the estimated financial effect of contingent liabilities. [Refer: Contingent liabilities [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Estimated Financial Effect Of Contingent Liabilities",
        "terseLabel": "Contingent liabilities"
       }
      }
     },
     "localname": "EstimatedFinancialEffectOfContingentLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ExercisePriceShareOptionsGranted2019": {
     "auth_ref": [
      "r243"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The exercise price of share options granted."
       }
      },
      "en-us": {
       "role": {
        "label": "Exercise Price Share Options Granted2019",
        "terseLabel": "Strike price"
       }
      }
     },
     "localname": "ExercisePriceShareOptionsGranted2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_ExpectedDividendAsPercentageShareOptionsGranted": {
     "auth_ref": [
      "r243"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The percentage of an expected dividend used to calculate the fair value of share options granted."
       }
      },
      "en-us": {
       "role": {
        "label": "Expected Dividend As Percentage Share Options Granted",
        "terseLabel": "Dividend yield (%)"
       }
      }
     },
     "localname": "ExpectedDividendAsPercentageShareOptionsGranted",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ExpenseFromSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets": {
     "auth_ref": [
      "r247"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense arising from share-based payment transactions in which the goods or services received did not qualify for recognition as assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Expense From Sharebased Payment Transactions In Which Goods Or Services Received Did Not Qualify For Recognition As Assets",
        "terseLabel": "Expense recognized"
       }
      }
     },
     "localname": "ExpenseFromSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ExpenseFromSharebasedPaymentTransactionsWithEmployees": {
     "auth_ref": [
      "r11"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense from share-based payment transactions with employees. [Refer: Expense from share-based payment transactions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Expense From Sharebased Payment Transactions With Employees",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "ExpenseFromSharebasedPaymentTransactionsWithEmployees",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ExplanationOfEffectOfSharebasedPaymentsOnFinancialPositions": {
     "auth_ref": [
      "r246"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The explanation that enables users of financial statements to understand the effect of share-based payment transactions on the entity's financial position."
       }
      },
      "en-us": {
       "role": {
        "label": "Explanation Of Effect Of Sharebased Payments On Financial Positions",
        "terseLabel": "Movements in Share-based Compensation Reserve"
       }
      }
     },
     "localname": "ExplanationOfEffectOfSharebasedPaymentsOnFinancialPositions",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_FinanceIncomeCost": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10050.0,
       "parentTag": "ifrs-full_ProfitLossBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income or cost associated with interest and other financing activities of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Finance Income Cost",
        "terseLabel": "Finance expense, net",
        "totalLabel": "Total finance income (expense), net"
       }
      }
     },
     "localname": "FinanceIncomeCost",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialAssets": {
     "auth_ref": [
      "r256",
      "r261",
      "r262",
      "r266",
      "r267"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets that are: (a) cash; (b) an equity instrument of another entity; (c) a contractual right: (i) to receive cash or another financial asset from another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially favourable to the entity; or (d) a contract that will, or may be, settled in the entity\u2019s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to receive a variable number of the entity\u2019s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity\u2019s own equity instruments. For this purpose the entity\u2019s own equity instruments do not include puttable financial instruments classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity\u2019s own equity instruments. [Refer: Financial instruments, class [member]; Financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial Assets",
        "terseLabel": "Total financial assets"
       }
      }
     },
     "localname": "FinancialAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember": {
     "auth_ref": [
      "r274"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial assets at amortised cost category. [Refer: Financial assets at amortised cost]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial Assets At Amortised Cost Category [Member]",
        "terseLabel": "Financial Assets at Amortized Cost"
       }
      }
     },
     "localname": "FinancialAssetsAtAmortisedCostCategoryMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialAssetsCategoryMember": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated categories of financial assets. It also represents the standard value for the 'Categories of financial assets' axis if no other member is used. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial Assets Category [Member]",
        "terseLabel": "Financial assets, category [member]"
       }
      }
     },
     "localname": "FinancialAssetsCategoryMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialLiabilities": {
     "auth_ref": [
      "r256"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities that are: (a) a contractual obligation: (i) to deliver cash or another financial asset to another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially unfavourable to the entity; or (b) a contract that will, or may be, settled in the entity\u2019s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to deliver a variable number of the entity\u2019s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity\u2019s own equity instruments. For this purpose, rights, options or warrants to acquire a fixed number of the entity\u2019s own equity instruments for a fixed amount of any currency are equity instruments if the entity offers the rights, options or warrants pro rata to all of its existing owners of the same class of its own non-derivative equity instruments. Also, for those purposes the entity\u2019s own equity instruments do not include puttable financial instruments that are classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity\u2019s own equity instruments. As an exception, an instrument that meets the definition of a financial liability is classified as an equity instrument if it has all the features and meets the conditions in paragraphs 16A-16B or paragraphs 16C-16D of IAS 32. [Refer: Financial instruments, class [member]; Financial assets; Derivatives [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial Liabilities",
        "terseLabel": "Total financial liabilities"
       }
      }
     },
     "localname": "FinancialLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialLiabilitiesAtAmortisedCostCategoryMember": {
     "auth_ref": [
      "r275",
      "r317"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial liabilities at amortised cost category. [Refer: Financial liabilities at amortised cost]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial Liabilities At Amortised Cost Category [Member]",
        "terseLabel": "Financial Liabilities at Amortized Cost"
       }
      }
     },
     "localname": "FinancialLiabilitiesAtAmortisedCostCategoryMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialLiabilitiesAtFairValueMember": {
     "auth_ref": [
      "r282"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial liabilities measured at fair value class. [Refer: Financial liabilities; At fair value [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial Liabilities At Fair Value [Member]",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "FinancialLiabilitiesAtFairValueMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember": {
     "auth_ref": [
      "r273"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial liabilities at fair value through profit or loss category. [Refer: Financial liabilities at fair value through profit or loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial Liabilities At Fair Value Through Profit Or Loss Category [Member]",
        "terseLabel": "Financial Liabilities at Fair Value through Statement of Loss"
       }
      }
     },
     "localname": "FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialLiabilitiesCategoryMember": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated categories of financial liabilities. It also represents the standard value for the 'Categories of financial liabilities' axis if no other member is used. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial Liabilities Category [Member]",
        "terseLabel": "Financial liabilities, category [member]"
       }
      }
     },
     "localname": "FinancialLiabilitiesCategoryMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinishedGoods": {
     "auth_ref": [
      "r34",
      "r104"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_Inventories",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A classification of current inventory representing the amount of goods that have completed the production process and are held for sale in the ordinary course of business. [Refer: Inventories]"
       }
      },
      "en-us": {
       "role": {
        "label": "Finished Goods",
        "terseLabel": "Finished goods"
       }
      }
     },
     "localname": "FinishedGoods",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FixturesAndFittingsMember": {
     "auth_ref": [
      "r70"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing fixtures and fittings that are not permanently attached to real property. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Fixtures And Fittings [Member]",
        "terseLabel": "Fixtures and fittings [member]"
       }
      }
     },
     "localname": "FixturesAndFittingsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ForeignExchangeRatesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign Exchange Rates [Abstract]"
       }
      }
     },
     "localname": "ForeignExchangeRatesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_FunctionalOrPresentationCurrencyMember": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member indicates information displayed in the functional or presentation currency. It also represents the standard value for the \u2018Currency in which information is displayed\u2019 axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Functional Or Presentation Currency [Member]",
        "terseLabel": "Functional or presentation currency [member]"
       }
      }
     },
     "localname": "FunctionalOrPresentationCurrencyMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FundingArrangementsOfDefinedBenefitPlansAxis": {
     "auth_ref": [
      "r85"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Funding Arrangements Of Defined Benefit Plans [Axis]",
        "terseLabel": "Funding arrangements of defined benefit plans [axis]"
       }
      }
     },
     "localname": "FundingArrangementsOfDefinedBenefitPlansAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_FundingArrangementsOfDefinedBenefitPlansMember": {
     "auth_ref": [
      "r85"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all defined benefit plans when disaggregated by funding arrangements of defined benefits plans. It also represents the standard value for the 'Funding arrangements of defined benefits plans' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Funding Arrangements Of Defined Benefit Plans [Member]",
        "terseLabel": "Funding arrangements of defined benefit plans [member]"
       }
      }
     },
     "localname": "FundingArrangementsOfDefinedBenefitPlansMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss": {
     "auth_ref": [
      "r16",
      "r106"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_FinanceIncomeCost",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of exchange differences recognised in profit or loss that arise from foreign currency transactions, excluding those arising on financial instruments measured at fair value through profit or loss in accordance with IFRS 9. [Refer: At fair value [member]; Financial instruments, class [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gains Losses On Exchange Differences On Translation Recognised In Profit Or Loss",
        "terseLabel": "Foreign exchange gains (losses), net"
       }
      }
     },
     "localname": "GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10090.0,
       "parentTag": "soph_OperatingProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense relating to general and administrative activities of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "General And Administrative Expense",
        "negatedLabel": "General and administrative costs"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GeographicalAreasAxis": {
     "auth_ref": [
      "r83",
      "r216",
      "r300",
      "r311"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Geographical Areas [Axis]",
        "terseLabel": "Geographical areas [axis]"
       }
      }
     },
     "localname": "GeographicalAreasAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_GeographicalAreasMember": {
     "auth_ref": [
      "r83",
      "r216",
      "r300",
      "r311"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated geographical areas. It also represents the standard value for the 'Geographical areas' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Geographical Areas [Member]",
        "terseLabel": "Geographical areas [member]"
       }
      }
     },
     "localname": "GeographicalAreasMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_GoodwillMember": {
     "auth_ref": [
      "r130"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for goodwill. [Refer: Goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Goodwill [Member]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_GrossCarryingAmountMember": {
     "auth_ref": [
      "r73",
      "r136",
      "r150",
      "r153",
      "r250",
      "r262",
      "r266",
      "r267",
      "r316",
      "r319"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the amount at which an asset is recognised before deducting any accumulated depreciation (amortisation) and accumulated impairment losses thereon. [Refer: Depreciation and amortisation expense; Impairment loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gross Carrying Amount [Member]",
        "terseLabel": "Gross Carrying Amount",
        "verboseLabel": "Net Carrying Amount"
       }
      }
     },
     "localname": "GrossCarryingAmountMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_GrossLeaseLiabilities": {
     "auth_ref": [
      "r226",
      "r279"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail": {
       "order": 10020.0,
       "parentTag": "soph_ContractualLiabilitiesUndiscountedCashflows",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to lease liabilities before deducting finance charges. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gross Lease Liabilities",
        "terseLabel": "Lease liabilities"
       }
      }
     },
     "localname": "GrossLeaseLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GrossLoanCommitments": {
     "auth_ref": [
      "r280"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail": {
       "order": 10010.0,
       "parentTag": "soph_ContractualLiabilitiesUndiscountedCashflows",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows for gross commitments to receive a loan."
       }
      },
      "en-us": {
       "role": {
        "label": "Gross Loan Commitments",
        "terseLabel": "Total loans"
       }
      }
     },
     "localname": "GrossLoanCommitments",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GrossProfit": {
     "auth_ref": [
      "r2"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10060.0,
       "parentTag": "soph_OperatingProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of revenue less cost of sales. [Refer: Cost of sales; Revenue]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gross Profit",
        "totalLabel": "Gross profit"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ImpairmentLossRecognisedInOtherComprehensiveIncomeIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r139"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of impairment loss recognised in other comprehensive income for intangible assets other than goodwill. [Refer: Impairment loss recognised in other comprehensive income; Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Impairment Loss Recognised In Other Comprehensive Income Intangible Assets Other Than Goodwill",
        "terseLabel": "Goodwill impairment"
       }
      }
     },
     "localname": "ImpairmentLossRecognisedInOtherComprehensiveIncomeIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_IncomeTaxExpenseContinuingOperations": {
     "auth_ref": [
      "r47",
      "r56",
      "r63",
      "r64",
      "r120",
      "r194",
      "r292"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10030.0,
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The aggregate amount included in the determination of profit (loss) for the period in respect of current tax and deferred tax. [Refer: Current tax expense (income); Deferred tax expense (income)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Income Tax Expense Continuing Operations",
        "negatedLabel": "Income tax (expense) benefit",
        "negatedTotalLabel": "Total income tax (expense) benefit"
       }
      }
     },
     "localname": "IncomeTaxExpenseContinuingOperations",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncome": {
     "auth_ref": [
      "r50",
      "r62"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income tax relating to amounts recognised in other comprehensive income. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Income Tax Relating To Components Of Other Comprehensive Income",
        "terseLabel": "Recognized in OCI"
       }
      }
     },
     "localname": "IncomeTaxRelatingToComponentsOfOtherComprehensiveIncome",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncomeTaxesPaidRefundClassifiedAsOperatingActivities": {
     "auth_ref": [
      "r155",
      "r170"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10340.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from income taxes paid or refunded, classified as operating activities. [Refer: Income taxes paid (refund)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Income Taxes Paid Refund Classified As Operating Activities",
        "negatedLabel": "Income tax received (paid)"
       }
      }
     },
     "localname": "IncomeTaxesPaidRefundClassifiedAsOperatingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges": {
     "auth_ref": [
      "r172"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in cash and cash equivalents before the effect of exchange rate changes on cash and cash equivalents held in foreign currencies. [Refer: Cash and cash equivalents; Effect of exchange rate changes on cash and cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease In Cash And Cash Equivalents Before Effect Of Exchange Rate Changes",
        "totalLabel": "Increase (decrease) in cash and cash equivalents"
       }
      }
     },
     "localname": "IncreaseDecreaseInCashAndCashEquivalentsBeforeEffectOfExchangeRateChanges",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseInCreditDerivativeFairValue": {
     "auth_ref": [
      "r254"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_FinanceIncomeCost",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the fair value of a credit derivative. [Refer: Credit derivative, fair value]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease In Credit Derivative Fair Value",
        "negatedLabel": "Derivative fair value (losses)"
       }
      }
     },
     "localname": "IncreaseDecreaseInCreditDerivativeFairValue",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfLossRecognizedOnDerivativeWithTriplepointLoanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption": {
     "auth_ref": [
      "r93"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in a defined benefit obligation that would have been caused by a decrease in a significant actuarial assumption that was reasonably possible at the end of the reporting period. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease In Defined Benefit Obligation Due To Reasonably Possible Decrease In Actuarial Assumption",
        "terseLabel": "Decrease of 25 basis points",
        "verboseLabel": "Decrease of 50 basis points"
       }
      }
     },
     "localname": "IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption": {
     "auth_ref": [
      "r93"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in a defined benefit obligation that would have been caused by an increase in a significant actuarial assumption that was reasonably possible at the end of the reporting period. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease In Defined Benefit Obligation Due To Reasonably Possible Increase In Actuarial Assumption",
        "terseLabel": "Increase of 25 basis points",
        "verboseLabel": "Increase of 50 basis points"
       }
      }
     },
     "localname": "IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseInFairValueMeasurementEntitysOwnEquityInstruments": {
     "auth_ref": [
      "r200"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the fair value measurement of the entity's own equity instruments. [Refer: At fair value [member]; Entity's own equity instruments [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease In Fair Value Measurement Entitys Own Equity Instruments",
        "terseLabel": "Fair value of these options"
       }
      }
     },
     "localname": "IncreaseDecreaseInFairValueMeasurementEntitysOwnEquityInstruments",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseInNumberOfSharesOutstanding": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the number of shares outstanding. [Refer: Number of shares outstanding]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease In Number Of Shares Outstanding",
        "terseLabel": "Issue of share capital, net of transaction costs, shares"
       }
      }
     },
     "localname": "IncreaseDecreaseInNumberOfSharesOutstanding",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughChangesInForeignExchangeRatesNetDefinedBenefitLiabilityAsset": {
     "auth_ref": [
      "r90"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the net defined benefit liability (asset) resulting from changes in foreign exchange rates. [Refer: Net defined benefit liability (asset)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Changes In Foreign Exchange Rates Net Defined Benefit Liability Asset",
        "terseLabel": "Currency translation differences"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughChangesInForeignExchangeRatesNetDefinedBenefitLiabilityAsset",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughExerciseOfOptions": {
     "auth_ref": [
      "r8"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from the exercise of options."
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Exercise Of Options",
        "terseLabel": "Share options exercised"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughExerciseOfOptions",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesAllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [
      "r314"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in an allowance account for credit losses of financial assets resulting from the net exchange differences arising when the financial statements are translated from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Allowance account for credit losses of financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Net Exchange Differences Allowance Account For Credit Losses Of Financial Assets",
        "terseLabel": "Currency translation differences"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesAllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfMovementInAllowanceForExpectedCreditLossesInAccountsReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesDeferredTaxLiabilityAsset": {
     "auth_ref": [
      "r68"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in deferred tax liability (asset) resulting from the net exchange differences arising when the financial statements are translated from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Deferred tax liability (asset)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Net Exchange Differences Deferred Tax Liability Asset",
        "terseLabel": "Currency translation differences"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesDeferredTaxLiabilityAsset",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesIntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r140"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in intangible assets and goodwill resulting from the net exchange differences arising when the financial statements are translated from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Net Exchange Differences Intangible Assets And Goodwill",
        "terseLabel": "Currency Translation Adjustment"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesIntangibleAssetsAndGoodwill",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesPropertyPlantAndEquipment": {
     "auth_ref": [
      "r76"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in property, plant and equipment resulting from net exchange differences arising on the translation of the financial statements from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Net Exchange Differences Property Plant And Equipment",
        "terseLabel": "Currency Translation Adjustment"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesPropertyPlantAndEquipment",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughSharebasedPaymentTransactions": {
     "auth_ref": [
      "r7"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from share-based payment transactions. [Refer: Equity]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Sharebased Payment Transactions",
        "terseLabel": "Share-based compensation"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughSharebasedPaymentTransactions",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationMovementsInShareBasedCompensationReserveDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r24"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of intangible assets and goodwill held by the entity. [Refer: Goodwill; Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible Assets And Goodwill",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "IntangibleAssetsAndGoodwill",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IntangibleAssetsAndGoodwillAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangible Assets And Goodwill [Abstract]"
       }
      }
     },
     "localname": "IntangibleAssetsAndGoodwillAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_IntangibleAssetsAndGoodwillMember": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for intangible assets and goodwill. It also represents the standard value for the 'Classes of intangible assets and goodwill' axis if no other member is used. [Refer: Goodwill; Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible Assets And Goodwill [Member]",
        "terseLabel": "Intangible assets and goodwill [member]"
       }
      }
     },
     "localname": "IntangibleAssetsAndGoodwillMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_IntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r18",
      "r141"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10230.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of identifiable non-monetary assets without physical substance. This amount does not include goodwill. [Refer: Goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible Assets Other Than Goodwill",
        "terseLabel": "Intangible assets"
       }
      }
     },
     "localname": "IntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IntangibleAssetsOtherThanGoodwillCarryingAmountAtCostOfRevaluedAssets": {
     "auth_ref": [
      "r145"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of intangible assets other than goodwill that would have been recognised had the revalued intangible assets been measured using the cost model after recognition. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible Assets Other Than Goodwill Carrying Amount At Cost Of Revalued Assets",
        "terseLabel": "Equity value"
       }
      }
     },
     "localname": "IntangibleAssetsOtherThanGoodwillCarryingAmountAtCostOfRevaluedAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IntangibleAssetsOtherThanGoodwillCarryingAmountOfRevaluedAssets": {
     "auth_ref": [
      "r144"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of intangible assets other than goodwill that are accounted for at revalued amounts. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible Assets Other Than Goodwill Carrying Amount Of Revalued Assets",
        "terseLabel": "Estimated equity value"
       }
      }
     },
     "localname": "IntangibleAssetsOtherThanGoodwillCarryingAmountOfRevaluedAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IntangibleAssetsOtherThanGoodwillRevaluationSurplus": {
     "auth_ref": [
      "r146"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of revaluation surplus that relates to intangible assets other than goodwill. [Refer: Intangible assets other than goodwill; Revaluation surplus]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible Assets Other Than Goodwill Revaluation Surplus",
        "terseLabel": "Exceeds the reported net assets"
       }
      }
     },
     "localname": "IntangibleAssetsOtherThanGoodwillRevaluationSurplus",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpense": {
     "auth_ref": [
      "r193",
      "r291",
      "r297"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_FinanceIncomeCost",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense arising from interest."
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Expense",
        "negatedTotalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseDefinedBenefitPlans": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense arising from defined benefit plans. [Refer: Interest expense; Post-employment benefit expense in profit or loss, defined benefit plans] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from interest expense (income)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Expense Defined Benefit Plans",
        "negatedLabel": "Interest expense",
        "negatedTerseLabel": "Interest cost"
       }
      }
     },
     "localname": "InterestExpenseDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseIncomeNetDefinedBenefitLiabilityAsset": {
     "auth_ref": [
      "r88"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the net defined benefit liability (asset) resulting from the passage of time. [Refer: Interest expense; Net defined benefit liability (asset)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Expense Income Net Defined Benefit Liability Asset",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestExpenseIncomeNetDefinedBenefitLiabilityAsset",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseOnBankLoansAndOverdrafts": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails": {
       "order": 10050.0,
       "parentTag": "ifrs-full_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense on bank loans and overdrafts. [Refer: Interest expense; Bank overdrafts]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Expense On Bank Loans And Overdrafts",
        "negatedLabel": "Interest on loans"
       }
      }
     },
     "localname": "InterestExpenseOnBankLoansAndOverdrafts",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseOnBorrowings": {
     "auth_ref": [
      "r11"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense on borrowings. [Refer: Interest expense; Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Expense On Borrowings",
        "negatedLabel": "Interest paid"
       }
      }
     },
     "localname": "InterestExpenseOnBorrowings",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsSummaryOfBorrowingsActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseOnLeaseLiabilities": {
     "auth_ref": [
      "r221"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails": {
       "order": 10060.0,
       "parentTag": "ifrs-full_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense on lease liabilities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Expense On Lease Liabilities",
        "negatedLabel": "Interest on lease liabilities",
        "terseLabel": "Lease liabilities, Non-cash interest"
       }
      }
     },
     "localname": "InterestExpenseOnLeaseLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInLeaseLiabilitiesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseOnOtherFinancialLiabilities": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails": {
       "order": 10070.0,
       "parentTag": "ifrs-full_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense on other financial liabilities. [Refer: Interest expense; Other financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Expense On Other Financial Liabilities",
        "negatedLabel": "Other interest"
       }
      }
     },
     "localname": "InterestExpenseOnOtherFinancialLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestPaidClassifiedAsOperatingActivities": {
     "auth_ref": [
      "r169"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10350.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for interest paid, classified as operating activities."
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Paid Classified As Operating Activities",
        "negatedLabel": "Interest paid"
       }
      }
     },
     "localname": "InterestPaidClassifiedAsOperatingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestRateRiskMember": {
     "auth_ref": [
      "r288",
      "r305",
      "r306",
      "r307",
      "r308"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the type of risk that the fair value or future cash flows of a financial instrument will fluctuate because of changes in market interest rates. [Refer: Financial instruments, class [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Rate Risk [Member]",
        "terseLabel": "Interest Rate Risk"
       }
      }
     },
     "localname": "InterestRateRiskMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_InterestRateTypesMember": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all types of interest rates. It also represents the standard value for the 'Types of interest rates' axis if no other member is used. [Refer: Interest rate risk [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Rate Types [Member]",
        "terseLabel": "Interest rate types [member]"
       }
      }
     },
     "localname": "InterestRateTypesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_InterestReceivedClassifiedAsOperatingActivities": {
     "auth_ref": [
      "r169"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10360.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from interest received, classified as operating activities."
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Received Classified As Operating Activities",
        "terseLabel": "Interest received"
       }
      }
     },
     "localname": "InterestReceivedClassifiedAsOperatingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestRevenueExpense": {
     "auth_ref": [
      "r49",
      "r293",
      "r297"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income or expense arising from interest. [Refer: Interest expense; Interest income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest Revenue Expense",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestRevenueExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_Inventories": {
     "auth_ref": [
      "r19",
      "r29",
      "r103"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10300.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current inventories. [Refer: Inventories]"
       }
      },
      "en-us": {
       "role": {
        "label": "Inventories",
        "terseLabel": "Inventory",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "Inventories",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IssueOfEquity": {
     "auth_ref": [
      "r7"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase in equity through the issue of equity instruments."
       }
      },
      "en-us": {
       "role": {
        "label": "Issue Of Equity",
        "terseLabel": "Issue of share capital, net of transaction costs"
       }
      }
     },
     "localname": "IssueOfEquity",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IssuedCapital": {
     "auth_ref": [
      "r35"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10030.0,
       "parentTag": "ifrs-full_Equity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The nominal value of capital issued."
       }
      },
      "en-us": {
       "role": {
        "label": "Issued Capital",
        "terseLabel": "Share capital"
       }
      }
     },
     "localname": "IssuedCapital",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IssuedCapitalMember": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing issued capital."
       }
      },
      "en-us": {
       "role": {
        "label": "Issued Capital [Member]",
        "terseLabel": "Share Capital"
       }
      }
     },
     "localname": "IssuedCapitalMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensation": {
     "auth_ref": [
      "r114"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel. [Refer: Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key Management Personnel Compensation",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensation",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensationOtherLongtermBenefits": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of other long-term employee benefits. [Refer: Other long-term employee benefits; Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key Management Personnel Compensation Other Longterm Benefits",
        "terseLabel": "Other compensation"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensationOtherLongtermBenefits",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensationPostemploymentBenefits": {
     "auth_ref": [
      "r111"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of post-employment benefits. [Refer: Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key Management Personnel Compensation Postemployment Benefits",
        "terseLabel": "Pension costs"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensationPostemploymentBenefits",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensationSharebasedPayment": {
     "auth_ref": [
      "r113"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of share-based payments. [Refer: Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key Management Personnel Compensation Sharebased Payment",
        "terseLabel": "Share-based compensation expense"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensationSharebasedPayment",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensationShorttermEmployeeBenefits": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of short-term employee benefits. [Refer: Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key Management Personnel Compensation Shortterm Employee Benefits",
        "terseLabel": "Salaries and other short-term employee benefits"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfCompensationForKeyManagementAndNonExecutiveDirectorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelOfEntityOrParentMember": {
     "auth_ref": [
      "r116"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for those persons having authority and responsibility for planning, directing and controlling the activities of the entity, directly or indirectly, including any director (whether executive or otherwise) of that entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Key Management Personnel Of Entity Or Parent [Member]",
        "terseLabel": "Key Management Personnel Of Entity"
       }
      }
     },
     "localname": "KeyManagementPersonnelOfEntityOrParentMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanFiveYearsMember": {
     "auth_ref": [
      "r228",
      "r229",
      "r278",
      "r283",
      "r286",
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than five years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later Than Five Years [Member]",
        "terseLabel": "Within 1 Year"
       }
      }
     },
     "localname": "LaterThanFiveYearsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanOneYearAndNotLaterThanFiveYearsMember": {
     "auth_ref": [
      "r277",
      "r286"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than one year and not later than five years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later Than One Year And Not Later Than Five Years [Member]",
        "terseLabel": "Between 1 and 5 Years"
       }
      }
     },
     "localname": "LaterThanOneYearAndNotLaterThanFiveYearsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember": {
     "auth_ref": [
      "r11",
      "r228",
      "r229",
      "r278",
      "r286",
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than one year and not later than two years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later Than One Year And Not Later Than Two Years [Member]",
        "terseLabel": "Year 2023"
       }
      }
     },
     "localname": "LaterThanOneYearAndNotLaterThanTwoYearsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanThreeYearsMember": {
     "auth_ref": [
      "r278",
      "r286"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than three years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later Than Three Years [Member]",
        "terseLabel": "Year 2022 Onwards"
       }
      }
     },
     "localname": "LaterThanThreeYearsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LeaseLiabilities": {
     "auth_ref": [
      "r219"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration."
       }
      },
      "en-us": {
       "role": {
        "label": "Lease Liabilities",
        "periodEndLabel": "Lease liabilities , End of the period",
        "periodStartLabel": "Lease liabilities , Beginning of the period",
        "terseLabel": "Lease liabilities"
       }
      }
     },
     "localname": "LeaseLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LeaseLiabilitiesMember": {
     "auth_ref": [
      "r171",
      "r174"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for lease liabilities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Lease Liabilities [Member]",
        "terseLabel": "Lease Liabilities"
       }
      }
     },
     "localname": "LeaseLiabilitiesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r71"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing improvements to assets held under a lease agreement."
       }
      },
      "en-us": {
       "role": {
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold Improvements"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Liabilities": {
     "auth_ref": [
      "r24",
      "r196",
      "r197",
      "r200",
      "r293",
      "r296"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10010.0,
       "parentTag": "ifrs-full_EquityAndLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of a present obligation of the entity to transfer an economic resource as a result of past events. Economic resource is a right that has the potential to produce economic benefits."
       }
      },
      "en-us": {
       "role": {
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LiabilityAssetOfDefinedBenefitPlans": {
     "auth_ref": [
      "r87"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfDefinedBenefitPlansAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of deficit or surplus in a defined benefit plan, adjusted for any effect of limiting a net defined benefit asset to the asset ceiling. [Refer: Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Liability Asset Of Defined Benefit Plans",
        "negatedPeriodEndLabel": "As of December 31",
        "negatedPeriodStartLabel": "As of January 1",
        "negatedTotalLabel": "Total"
       }
      }
     },
     "localname": "LiabilityAssetOfDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfDefinedBenefitPlansAssetsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LineItemsByFunctionMember": {
     "auth_ref": [
      "r3",
      "r11"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value of the \u2018Attribution of expenses by nature to their function' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Line Items By Function [Member]",
        "terseLabel": "Line items by function [member]"
       }
      }
     },
     "localname": "LineItemsByFunctionMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LoansReceived": {
     "auth_ref": [
      "r11"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of loans received."
       }
      },
      "en-us": {
       "role": {
        "label": "Loans Received",
        "terseLabel": "Loan received"
       }
      }
     },
     "localname": "LoansReceived",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LongtermBorrowings": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10100.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The non-current portion of non-current borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Longterm Borrowings",
        "terseLabel": "Borrowings, net of current portion",
        "verboseLabel": "Non-current portion of borrowings"
       }
      }
     },
     "localname": "LongtermBorrowings",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_MajorComponentsOfTaxExpenseIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Major Components Of Tax Expense Income [Abstract]"
       }
      }
     },
     "localname": "MajorComponentsOfTaxExpenseIncomeAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_MaturityAxis": {
     "auth_ref": [
      "r27",
      "r96",
      "r215",
      "r228",
      "r229",
      "r253",
      "r270",
      "r278",
      "r301",
      "r302",
      "r304",
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Maturity [Axis]",
        "terseLabel": "Maturity [axis]"
       }
      }
     },
     "localname": "MaturityAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_MaximumExposureToCreditRisk": {
     "auth_ref": [
      "r263",
      "r315"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount that best represents the maximum exposure to credit risk without taking into account any collateral held or other credit enhancements (for example, netting agreements that do not qualify for offset in accordance with IAS 32). [Refer: Credit risk [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Maximum Exposure To Credit Risk",
        "terseLabel": "Maximum exposure to credit risk"
       }
      }
     },
     "localname": "MaximumExposureToCreditRisk",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_MiscellaneousNoncurrentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Miscellaneous Noncurrent Liabilities [Abstract]"
       }
      }
     },
     "localname": "MiscellaneousNoncurrentLiabilitiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_MiscellaneousOtherOperatingExpense": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10160.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of miscellaneous other operating expenses. [Refer: Other operating income (expense)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Miscellaneous Other Operating Expense",
        "negatedLabel": "Other expense"
       }
      }
     },
     "localname": "MiscellaneousOtherOperatingExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NameOfSubsidiary": {
     "auth_ref": [
      "r121",
      "r124",
      "r180",
      "r182"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The name of a subsidiary. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Name Of Subsidiary",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "NameOfSubsidiary",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NetDeferredTaxAssets": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10250.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of deferred tax assets net of deferred tax liabilities, when the absolute amount of deferred tax assets is greater than the absolute amount of deferred tax liabilities. [Refer: Deferred tax assets; Deferred tax liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Net Deferred Tax Assets",
        "terseLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "NetDeferredTaxAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NonadjustingEventsAfterReportingPeriodAxis": {
     "auth_ref": [
      "r54"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Nonadjusting Events After Reporting Period [Axis]",
        "terseLabel": "Non-adjusting events after reporting period [axis]"
       }
      }
     },
     "localname": "NonadjustingEventsAfterReportingPeriodAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NonadjustingEventsMember": {
     "auth_ref": [
      "r54"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for events that occur between the end of the reporting period and the date when the financial statements are authorised for issue and are indicative of conditions that arose after the reporting period. It also represents the standard value for the 'Non-adjusting events after reporting period' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Nonadjusting Events [Member]",
        "terseLabel": "Non-adjusting events after reporting period [member]"
       }
      }
     },
     "localname": "NonadjustingEventsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_NoncurrentAssets": {
     "auth_ref": [
      "r28",
      "r184",
      "r186"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10210.0,
       "parentTag": "ifrs-full_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets that do not meet the definition of current assets. [Refer: Current assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Noncurrent Assets",
        "totalLabel": "Total non-current assets"
       }
      }
     },
     "localname": "NoncurrentAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncurrent Assets [Abstract]",
        "terseLabel": "Non-current assets"
       }
      }
     },
     "localname": "NoncurrentAssetsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts": {
     "auth_ref": [
      "r299"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current assets other than financial instruments, deferred tax assets, post-employment benefit assets and rights arising under insurance contracts. [Refer: Deferred tax assets; Financial instruments, class [member]; Non-current assets; Types of insurance contracts [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Noncurrent Assets Other Than Financial Instruments Deferred Tax Assets Postemployment Benefit Assets And Rights Arising Under Insurance Contracts",
        "terseLabel": "Non-current non-financial assets"
       }
      }
     },
     "localname": "NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfNonCurrentNonFinancialAssetsByCountryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentDeferredIncomeIncludingNoncurrentContractLiabilities": {
     "auth_ref": [
      "r24",
      "r36"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10090.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current deferred income including non-current contract liabilities. [Refer: Deferred income including contract liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Noncurrent Deferred Income Including Noncurrent Contract Liabilities",
        "terseLabel": "Deferred contract revenue, net of current portion"
       }
      }
     },
     "localname": "NoncurrentDeferredIncomeIncludingNoncurrentContractLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentDerivativeFinancialLiabilities": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_OtherNoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current derivative financial liabilities. [Refer: Derivative financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Noncurrent Derivative Financial Liabilities",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "terseLabel": "Derivative"
       }
      }
     },
     "localname": "NoncurrentDerivativeFinancialLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfLossRecognizedOnDerivativeWithTriplepointLoanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentLeaseLiabilities": {
     "auth_ref": [
      "r219"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10110.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current lease liabilities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Noncurrent Lease Liabilities",
        "terseLabel": "Lease liabilities, net of current portion"
       }
      }
     },
     "localname": "NoncurrentLeaseLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentLiabilities": {
     "auth_ref": [
      "r30",
      "r184",
      "r188"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10080.0,
       "parentTag": "ifrs-full_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities that do not meet the definition of current liabilities. [Refer: Current liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Noncurrent Liabilities",
        "totalLabel": "Total non-current liabilities"
       }
      }
     },
     "localname": "NoncurrentLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncurrent Liabilities [Abstract]",
        "terseLabel": "Non-current liabilities"
       }
      }
     },
     "localname": "NoncurrentLiabilitiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NoncurrentProvisions": {
     "auth_ref": [
      "r22"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_OtherNoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current provisions, including provisions for employee benefits. [Refer: Provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Noncurrent Provisions",
        "terseLabel": "Provisions"
       }
      }
     },
     "localname": "NoncurrentProvisions",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NotLaterThanOneYearMember": {
     "auth_ref": [
      "r26",
      "r228",
      "r229",
      "r278",
      "r286",
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of not later than one year."
       }
      },
      "en-us": {
       "role": {
        "label": "Not Later Than One Year [Member]",
        "terseLabel": "Year 2022"
       }
      }
     },
     "localname": "NotLaterThanOneYearMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_NumberOfInstrumentsGrantedInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r233",
      "r248"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of instruments granted in share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Instruments Granted In Sharebased Payment Arrangement",
        "terseLabel": "Number of instruments granted in share-based payment arrangement"
       }
      }
     },
     "localname": "NumberOfInstrumentsGrantedInSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted": {
     "auth_ref": [
      "r242",
      "r245"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) granted in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Instruments Other Equity Instruments Granted",
        "terseLabel": "Shares, Granted",
        "verboseLabel": "Number of share issuance"
       }
      }
     },
     "localname": "NumberOfInstrumentsOtherEquityInstrumentsGranted",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) exercised or vested in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Other Equity Instruments Exercised Or Vested In Sharebased Payment Arrangement",
        "terseLabel": "Number of instruments granted subject to four year vesting"
       }
      }
     },
     "localname": "NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) forfeited in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Other Equity Instruments Forfeited In Sharebased Payment Arrangement",
        "negatedLabel": "Shares, Forfeited"
       }
      }
     },
     "localname": "NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) outstanding in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Other Equity Instruments Outstanding In Sharebased Payment Arrangement",
        "periodEndLabel": "Shares, Unvested as of December 31, 2021",
        "periodStartLabel": "Shares, Unvested as of January 1, 2021"
       }
      }
     },
     "localname": "NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfOutstandingShareOptions": {
     "auth_ref": [
      "r234",
      "r238",
      "r241"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of share options outstanding in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Outstanding Share Options",
        "periodEndLabel": "Number of options, ending balance",
        "periodStartLabel": "Number of options, beginning balance"
       }
      }
     },
     "localname": "NumberOfOutstandingShareOptions",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfShareOptionsExercisableInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r239"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of share options exercisable in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Share Options Exercisable In Sharebased Payment Arrangement",
        "terseLabel": "Number of options, exercisable"
       }
      }
     },
     "localname": "NumberOfShareOptionsExercisableInSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of share options exercised in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Share Options Exercised In Sharebased Payment Arrangement",
        "negatedLabel": "Number of options, exercised",
        "terseLabel": "Share options exercised, shares"
       }
      }
     },
     "localname": "NumberOfShareOptionsExercisedInSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfShareOptionsForfeitedInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r236"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of share options forfeited in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Share Options Forfeited In Sharebased Payment Arrangement",
        "negatedLabel": "Number of options, forfeited"
       }
      }
     },
     "localname": "NumberOfShareOptionsForfeitedInSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r235"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of share options granted in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Share Options Granted In Sharebased Payment Arrangement",
        "terseLabel": "Number of share options granted",
        "verboseLabel": "Number of options, granted"
       }
      }
     },
     "localname": "NumberOfShareOptionsGrantedInSharebasedPaymentArrangement",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfSharesIssued": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of shares issued by the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Shares Issued",
        "terseLabel": "Number of shares issued"
       }
      }
     },
     "localname": "NumberOfSharesIssued",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_NumberOfSharesOutstanding": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of shares that have been authorised and issued, reduced by treasury shares held. [Refer: Treasury shares]"
       }
      },
      "en-us": {
       "role": {
        "label": "Number Of Shares Outstanding",
        "periodEndLabel": "Balance, end of the year, shares",
        "periodStartLabel": "Balance, beginning of the year, shares"
       }
      }
     },
     "localname": "NumberOfSharesOutstanding",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_OperatingExpense": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of all operating expenses."
       }
      },
      "en-us": {
       "role": {
        "label": "Operating Expense",
        "negatedTotalLabel": "Total"
       }
      }
     },
     "localname": "OperatingExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OperatingLeaseIncome": {
     "auth_ref": [
      "r227"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of operating lease income. Operating lease is a lease that does not transfer substantially all the risks and rewards incidental to ownership of an underlying asset."
       }
      },
      "en-us": {
       "role": {
        "label": "Operating Lease Income",
        "terseLabel": "Revenues from payments from leased equipment recognized"
       }
      }
     },
     "localname": "OperatingLeaseIncome",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OrdinarySharesMember": {
     "auth_ref": [
      "r39",
      "r127"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for equity instruments that are subordinate to all other classes of equity instruments. It also represents the standard value for the 'Classes of ordinary shares' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Ordinary Shares [Member]",
        "terseLabel": "Ordinary Shares"
       }
      }
     },
     "localname": "OrdinarySharesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_OtherComprehensiveIncome": {
     "auth_ref": [
      "r6",
      "r43",
      "r51",
      "r190"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss": {
       "order": 10030.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income and expense (including reclassification adjustments) that is not recognised in profit or loss as required or permitted by IFRSs. [Refer: IFRSs [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income",
        "terseLabel": "Other comprehensive loss",
        "totalLabel": "Other comprehensive (loss) income for the year"
       }
      }
     },
     "localname": "OtherComprehensiveIncome",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income [Abstract]",
        "terseLabel": "Other comprehensive (loss) income:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation": {
     "auth_ref": [
      "r31",
      "r51"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss": {
       "order": 10070.0,
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, after reclassification adjustments, related to exchange differences when financial statements of foreign operations are translated. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income Net Of Tax Exchange Differences On Translation",
        "terseLabel": "Currency translation differences"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans": {
     "auth_ref": [
      "r31",
      "r51",
      "r81"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss": {
       "order": 10060.0,
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). [Refer: Other comprehensive income; Defined benefit plans [member]; Plan assets [member]; Net defined benefit liability (asset)] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from gain (loss) on remeasurement in other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income Net Of Tax Gains Losses On Remeasurements Of Defined Benefit Plans",
        "terseLabel": "Remeasurement of defined benefit plans",
        "totalLabel": "Total recognized"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax": {
     "auth_ref": [
      "r48",
      "r53"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss": {
       "order": 10040.0,
       "parentTag": "ifrs-full_OtherComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income that will be reclassified to profit or loss, net of tax. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income That Will Be Reclassified To Profit Or Loss Net Of Tax",
        "totalLabel": "Total items that may be reclassified to statement of loss"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax": {
     "auth_ref": [
      "r48",
      "r53"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss": {
       "order": 10050.0,
       "parentTag": "ifrs-full_OtherComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income that will not be reclassified to profit or loss, net of tax. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income That Will Not Be Reclassified To Profit Or Loss Net Of Tax",
        "totalLabel": "Total items that will not be reclassified to statement of loss"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherCurrentLiabilities": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10190.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current liabilities that the entity does not separately disclose in the same statement or note. [Refer: Current liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Current Liabilities",
        "terseLabel": "Other current liabilities"
       }
      }
     },
     "localname": "OtherCurrentLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherNoncurrentAssets": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10260.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current assets that the entity does not separately disclose in the same statement or note. [Refer: Non-current assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Noncurrent Assets",
        "terseLabel": "Other non-current assets"
       }
      }
     },
     "localname": "OtherNoncurrentAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherNoncurrentLiabilities": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10130.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current liabilities that the entity does not separately disclose in the same statement or note. [Refer: Non-current liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Noncurrent Liabilities",
        "terseLabel": "Other non-current liabilities",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "OtherNoncurrentLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherOperatingIncomeExpense": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10100.0,
       "parentTag": "soph_OperatingProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of operating income (expense) that the entity does not separately disclose in the same statement or note."
       }
      },
      "en-us": {
       "role": {
        "label": "Other Operating Income Expense",
        "terseLabel": "Other operating income (expense), net"
       }
      }
     },
     "localname": "OtherOperatingIncomeExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherReserves": {
     "auth_ref": [
      "r35"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10050.0,
       "parentTag": "ifrs-full_Equity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing reserves within equity, not including retained earnings. [Refer: Retained earnings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Reserves",
        "terseLabel": "Other reserves"
       }
      }
     },
     "localname": "OtherReserves",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherReservesMember": {
     "auth_ref": [
      "r9",
      "r40"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing reserves within equity, not including retained earnings. It also represents the standard value for the 'Reserves within equity' axis if no other member is used. [Refer: Retained earnings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Reserves [Member]",
        "terseLabel": "Other Reserves"
       }
      }
     },
     "localname": "OtherReservesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_OtherTaxEffectsForReconciliationBetweenAccountingProfitAndTaxExpenseIncome": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails": {
       "order": 10060.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that the entity does not separately disclose in the same statement or note. [Refer: Accounting profit; Applicable tax rate]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Tax Effects For Reconciliation Between Accounting Profit And Tax Expense Income",
        "negatedLabel": "Other"
       }
      }
     },
     "localname": "OtherTaxEffectsForReconciliationBetweenAccountingProfitAndTaxExpenseIncome",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherTemporaryDifferencesMember": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for temporary differences that the entity does not separately disclose in the same statement or note. [Refer: Temporary differences [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other Temporary Differences [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherTemporaryDifferencesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ParValuePerShare": {
     "auth_ref": [
      "r37"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The nominal value per share."
       }
      },
      "en-us": {
       "role": {
        "label": "Par Value Per Share",
        "terseLabel": "Shares issued, par value",
        "verboseLabel": "Nominal value"
       }
      }
     },
     "localname": "ParValuePerShare",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_PastServiceCostAndLossesGainsArisingFromSettlementsDefinedBenefitPlans": {
     "auth_ref": [
      "r81"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense (income) resulting from past service cost and losses (gains) arising from settlements. [Refer: Post-employment benefit expense in profit or loss, defined benefit plans; Past service cost, defined benefit plans] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from past service cost and losses (gains) arising from settlements]"
       }
      },
      "en-us": {
       "role": {
        "label": "Past Service Cost And Losses Gains Arising From Settlements Defined Benefit Plans",
        "terseLabel": "Past service cost gain"
       }
      }
     },
     "localname": "PastServiceCostAndLossesGainsArisingFromSettlementsDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PastServiceCostDefinedBenefitPlans": {
     "auth_ref": [
      "r81"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense (income) resulting from past service cost. Past service cost is the change in the present value of the defined benefit obligation for employee service in prior periods, resulting from a plan amendment (the introduction or withdrawal of, or changes to, a defined benefit plan) or a curtailment (a significant reduction by the entity in the number of employees covered by a plan). [Refer: Post-employment benefit expense in profit or loss, defined benefit plans; Defined benefit plans [member]] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from past service cost]"
       }
      },
      "en-us": {
       "role": {
        "label": "Past Service Cost Defined Benefit Plans",
        "terseLabel": "of which past service cost"
       }
      }
     },
     "localname": "PastServiceCostDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PaymentsForShareIssueCosts": {
     "auth_ref": [
      "r162"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for share issue costs."
       }
      },
      "en-us": {
       "role": {
        "label": "Payments For Share Issue Costs",
        "terseLabel": "Transaction costs"
       }
      }
     },
     "localname": "PaymentsForShareIssueCosts",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities": {
     "auth_ref": [
      "r161"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10120.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for payment of lease liabilities, classified as financing activities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Payments Of Lease Liabilities Classified As Financing Activities",
        "negatedLabel": "Payments of principal portion of lease liabilities"
       }
      }
     },
     "localname": "PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PlanAssetsAtFairValue": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfAdditionalDetailsOnDefinedPensionPlansFundedStatusDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_SurplusDeficitInPlan",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The fair value of defined benefit plan assets. Plan assets comprise assets held by a long-term employee benefit fund and qualifying insurance policies. [Refer: At fair value [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Plan Assets At Fair Value",
        "terseLabel": "Fair value of plan assets"
       }
      }
     },
     "localname": "PlanAssetsAtFairValue",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfAdditionalDetailsOnDefinedPensionPlansFundedStatusDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans": {
     "auth_ref": [
      "r81",
      "r98"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of post-employment benefit expense included in profit or loss relating to defined benefit plans. [Refer: Profit (loss); Defined benefit plans [member]] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from expense (income) in profit or loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Postemployment Benefit Expense Defined Benefit Plans",
        "negatedTotalLabel": "Total recognized"
       }
      }
     },
     "localname": "PostemploymentBenefitExpenseDefinedBenefitPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PostemploymentBenefitExpenseDefinedContributionPlans": {
     "auth_ref": [
      "r99"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of post-employment benefit expense relating to defined contribution plans. Defined contribution plans are post-employment benefit plans under which an entity pays fixed contributions into a separate entity (a fund) and will have no legal or constructive obligation to pay further contributions if the fund does not hold sufficient assets to pay all employee benefits relating to employee service in the current and prior periods."
       }
      },
      "en-us": {
       "role": {
        "label": "Postemployment Benefit Expense Defined Contribution Plans",
        "terseLabel": "Post-employment benefit expense, 401(k) defined contribution plan"
       }
      }
     },
     "localname": "PostemploymentBenefitExpenseDefinedContributionPlans",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PreferenceSharesMember": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for equity instruments that are senior in some aspects to ordinary shares, but subordinate to debt instruments in terms of claim. [Refer: Ordinary shares [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Preference Shares [Member]",
        "terseLabel": "Preference Shares"
       }
      }
     },
     "localname": "PreferenceSharesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_PresentationOfLeasesForLesseeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Presentation Of Leases For Lessee [Abstract]"
       }
      }
     },
     "localname": "PresentationOfLeasesForLesseeAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities": {
     "auth_ref": [
      "r159"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10100.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from borrowings obtained. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds From Borrowings Classified As Financing Activities",
        "terseLabel": "Proceeds from borrowings"
       }
      }
     },
     "localname": "ProceedsFromBorrowingsClassifiedAsFinancingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsSummaryOfBorrowingsActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromExerciseOfOptions": {
     "auth_ref": [
      "r162"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10040.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from the exercise of options."
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds From Exercise Of Options",
        "terseLabel": "Proceeds from exercise of share options"
       }
      }
     },
     "localname": "ProceedsFromExerciseOfOptions",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromIssueOfOrdinaryShares": {
     "auth_ref": [
      "r162"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from the issuing of ordinary shares. [Refer: Ordinary shares [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds From Issue Of Ordinary Shares",
        "terseLabel": "Net proceeds from IPO"
       }
      }
     },
     "localname": "ProceedsFromIssueOfOrdinaryShares",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromIssueOfPreferenceShares": {
     "auth_ref": [
      "r162"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from the issuing of preference shares. [Refer: Preference shares [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds From Issue Of Preference Shares",
        "terseLabel": "Net proceeds from issuance"
       }
      }
     },
     "localname": "ProceedsFromIssueOfPreferenceShares",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromIssuingShares": {
     "auth_ref": [
      "r158"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10050.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from issuing shares."
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds From Issuing Shares",
        "terseLabel": "Proceeds from issuance of share capital, net of transaction costs"
       }
      }
     },
     "localname": "ProceedsFromIssuingShares",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfessionalFeesExpense": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10100.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of fees paid or payable for professional services."
       }
      },
      "en-us": {
       "role": {
        "label": "Professional Fees Expense",
        "negatedLabel": "Professional fees"
       }
      }
     },
     "localname": "ProfessionalFeesExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLoss": {
     "auth_ref": [
      "r5",
      "r42",
      "r163",
      "r177",
      "r179",
      "r184",
      "r293",
      "r294",
      "r303",
      "r313"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss": {
       "order": 10020.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10010.0,
       "parentTag": "ifrs-full_ProfitLossAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The total of income less expenses from continuing and discontinued operations, excluding the components of other comprehensive income. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit Loss",
        "terseLabel": "Loss for the year",
        "totalLabel": "Loss for the year"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLoss",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossAttributableToOwnersOfParent": {
     "auth_ref": [
      "r45"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing and discontinued operations attributable to owners of the parent. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit Loss Attributable To Owners Of Parent",
        "terseLabel": "Net loss attributed to shareholders",
        "totalLabel": "Attributable to the owners of the parent"
       }
      }
     },
     "localname": "ProfitLossAttributableToOwnersOfParent",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareComponentsOfLossForYearDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossBeforeTax": {
     "auth_ref": [
      "r1",
      "r2",
      "r251",
      "r293",
      "r294"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10180.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10020.0,
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) before tax expense or income. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit Loss Before Tax",
        "terseLabel": "Loss before tax",
        "totalLabel": "Loss before income taxes"
       }
      }
     },
     "localname": "ProfitLossBeforeTax",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PropertyPlantAndEquipment": {
     "auth_ref": [
      "r17",
      "r77"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10220.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of tangible assets that: (a) are held for use in the production or supply of goods or services, for rental to others, or for administrative purposes; and (b) are expected to be used during more than one period."
       }
      },
      "en-us": {
       "role": {
        "label": "Property Plant And Equipment",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "terseLabel": "Property and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipment",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PropertyPlantAndEquipmentMember": {
     "auth_ref": [
      "r78",
      "r130",
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for property, plant and equipment. It also represents the standard value for the 'Classes of property, plant and equipment' axis if no other member is used. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Property Plant And Equipment [Member]",
        "terseLabel": "Property, plant and equipment [member]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities": {
     "auth_ref": [
      "r156"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10140.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for the purchases of intangible assets, classified as investing activities. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Purchase Of Intangible Assets Classified As Investing Activities",
        "negatedLabel": "Acquisition of intangible assets"
       }
      }
     },
     "localname": "PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities": {
     "auth_ref": [
      "r156"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10130.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for the purchases of property, plant and equipment, classified as investing activities. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Purchase Of Property Plant And Equipment Classified As Investing Activities",
        "negatedLabel": "Purchase of property and equipment"
       }
      }
     },
     "localname": "PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RangeAxis": {
     "auth_ref": [
      "r203",
      "r205",
      "r206",
      "r241",
      "r272",
      "r304"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Range [Axis]",
        "terseLabel": "Range [axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_RangesMember": {
     "auth_ref": [
      "r203",
      "r205",
      "r206",
      "r241",
      "r272",
      "r304"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregate ranges. It also represents the standard value for the 'Range' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Ranges [Member]",
        "terseLabel": "Ranges [member]"
       }
      }
     },
     "localname": "RangesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_RawMaterials": {
     "auth_ref": [
      "r34",
      "r104"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_Inventories",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A classification of current inventory representing the amount of assets to be consumed in the production process or in the rendering of services. [Refer: Inventories]"
       }
      },
      "en-us": {
       "role": {
        "label": "Raw Materials",
        "terseLabel": "Raw materials"
       }
      }
     },
     "localname": "RawMaterials",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RawMaterialsAndConsumablesUsed": {
     "auth_ref": [
      "r1",
      "r52"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of raw materials and consumables used in the production process or in the rendering of services. [Refer: Current raw materials]"
       }
      },
      "en-us": {
       "role": {
        "label": "Raw Materials And Consumables Used",
        "negatedLabel": "Raw materials and consumables used"
       }
      }
     },
     "localname": "RawMaterialsAndConsumablesUsed",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReceivablesFromContractsWithCustomersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables From Contracts With Customers [Abstract]"
       }
      }
     },
     "localname": "ReceivablesFromContractsWithCustomersAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities": {
     "auth_ref": [
      "r160"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10110.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow to settle borrowings, classified as financing activities. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Repayments Of Borrowings Classified As Financing Activities",
        "negatedLabel": "Repayments of borrowings",
        "terseLabel": "Payment of terminal amount"
       }
      }
     },
     "localname": "RepaymentsOfBorrowingsClassifiedAsFinancingActivities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsSummaryOfBorrowingsActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ResearchAndDevelopmentExpense": {
     "auth_ref": [
      "r147"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10070.0,
       "parentTag": "soph_OperatingProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expenditure directly attributable to research or development activities, recognised in profit or loss."
       }
      },
      "en-us": {
       "role": {
        "label": "Research And Development Expense",
        "negatedLabel": "Research and development costs"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReserveOfExchangeDifferencesOnTranslation": {
     "auth_ref": [
      "r107"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing exchange differences on translation of financial statements recognised in other comprehensive income and accumulated in equity. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve Of Exchange Differences On Translation",
        "terseLabel": "Increase / (decrease) of equity in exchange rate"
       }
      }
     },
     "localname": "ReserveOfExchangeDifferencesOnTranslation",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReserveOfSharebasedPayments": {
     "auth_ref": [
      "r35"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity resulting from share-based payments."
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve Of Sharebased Payments",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "ReserveOfSharebasedPayments",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationMovementsInShareBasedCompensationReserveDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RetainedEarnings": {
     "auth_ref": [
      "r35",
      "r53"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10060.0,
       "parentTag": "ifrs-full_Equity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing the entity's cumulative undistributed earnings or deficit."
       }
      },
      "en-us": {
       "role": {
        "label": "Retained Earnings",
        "terseLabel": "Accumulated deficit"
       }
      }
     },
     "localname": "RetainedEarnings",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RetainedEarningsMember": {
     "auth_ref": [
      "r9",
      "r10"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing an entity's cumulative undistributed earnings or deficit."
       }
      },
      "en-us": {
       "role": {
        "label": "Retained Earnings [Member]",
        "terseLabel": "Accumulated Deficit"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_RetainedEarningsProfitLossForReportingPeriod": {
     "auth_ref": [
      "r35"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing the entity\u2019s undistributed profit or loss for the reporting period. [Refer: Retained earnings; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Retained Earnings Profit Loss For Reporting Period",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsProfitLossForReportingPeriod",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease (increase) in the net defined benefit liability (asset) resulting from the return on plan assets, excluding amounts included in interest income or expense. The return on plan assets is interest, dividends and other revenue derived from the plan assets, together with realised and unrealised gains or losses on the plan assets, less any costs of managing plan assets and less any tax payable by the plan itself, other than tax included in the actuarial assumptions used to measure the present value of the defined benefit obligation. [Refer: Plan assets [member]; Net defined benefit liability (asset); Actuarial assumptions [member]; Increase (decrease) in net defined benefit liability (asset) resulting from interest expense (income)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Return On Plan Assets Net Defined Benefit Liability Asset",
        "negatedLabel": "Return on plan assets",
        "negatedTerseLabel": "Return on plan assets, excl. interest income"
       }
      }
     },
     "localname": "ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RevenueFromContractsWithCustomers": {
     "auth_ref": [
      "r208",
      "r209"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10110.0,
       "parentTag": "ifrs-full_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of revenue from contracts with customers. A customer is a party that has contracted with an entity to obtain goods or services that are an output of the entity\u2019s ordinary activities in exchange for consideration."
       }
      },
      "en-us": {
       "role": {
        "label": "Revenue From Contracts With Customers",
        "terseLabel": "Revenue"
       }
      }
     },
     "localname": "RevenueFromContractsWithCustomers",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueScheduleOfRevenueFromContractsWithCustomersAllocatedToRevenueStreamsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RevenueFromInterest": {
     "auth_ref": [
      "r11",
      "r192",
      "r290",
      "r297"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_FinanceIncomeCost",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income arising from interest."
       }
      },
      "en-us": {
       "role": {
        "label": "Revenue From Interest",
        "terseLabel": "Total interest income"
       }
      }
     },
     "localname": "RevenueFromInterest",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfFinanceExpenseNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RevenueFromPerformanceObligationsSatisfiedOrPartiallySatisfiedInPreviousPeriods": {
     "auth_ref": [
      "r213"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of revenue from performance obligations satisfied (or partially satisfied) in previous periods. [Refer: Performance obligations [member]; Revenue from contracts with customers]"
       }
      },
      "en-us": {
       "role": {
        "label": "Revenue From Performance Obligations Satisfied Or Partially Satisfied In Previous Periods",
        "terseLabel": "Deferred contract revenue, recognized"
       }
      }
     },
     "localname": "RevenueFromPerformanceObligationsSatisfiedOrPartiallySatisfiedInPreviousPeriods",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RevenueThatWasIncludedInContractLiabilityBalanceAtBeginningOfPeriod": {
     "auth_ref": [
      "r212"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of revenue that was included in the contract liability balance at the beginning of the period. [Refer: Contract liabilities; Revenue from contracts with customers]"
       }
      },
      "en-us": {
       "role": {
        "label": "Revenue That Was Included In Contract Liability Balance At Beginning Of Period",
        "terseLabel": "Deferred contract revenue brought forward"
       }
      }
     },
     "localname": "RevenueThatWasIncludedInContractLiabilityBalanceAtBeginningOfPeriod",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReversalAllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [
      "r314"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in an allowance account for credit losses of financial assets resulting from the reversal of impairment. [Refer: Allowance account for credit losses of financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reversal Allowance Account For Credit Losses Of Financial Assets",
        "negatedLabel": "Reversals"
       }
      }
     },
     "localname": "ReversalAllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfMovementInAllowanceForExpectedCreditLossesInAccountsReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RightofuseAssets": {
     "auth_ref": [
      "r224"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10240.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets that represent a lessee's right to use an underlying asset for the lease term. Underlying asset is an asset that is the subject of a lease, for which the right to use that asset has been provided by a lessor to a lessee."
       }
      },
      "en-us": {
       "role": {
        "label": "Rightofuse Assets",
        "periodEndLabel": "Right-of-use assets, End of the period",
        "periodStartLabel": "Right-of-use assets, Beginning of the period",
        "terseLabel": "Right-of-use assets"
       }
      }
     },
     "localname": "RightofuseAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInRightOfUseAssetsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_SalesAndMarketingExpense": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10080.0,
       "parentTag": "soph_OperatingProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense relating to the marketing and selling of goods or services."
       }
      },
      "en-us": {
       "role": {
        "label": "Sales And Marketing Expense",
        "negatedLabel": "Selling and marketing costs"
       }
      }
     },
     "localname": "SalesAndMarketingExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_SegmentsAxis": {
     "auth_ref": [
      "r84",
      "r131",
      "r210",
      "r293",
      "r312"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Segments [Axis]",
        "terseLabel": "Segments [axis]"
       }
      }
     },
     "localname": "SegmentsAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueScheduleOfRevenueFromContractsWithCustomersAllocatedToRevenueStreamsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_SegmentsMember": {
     "auth_ref": [
      "r84",
      "r131",
      "r210",
      "r298",
      "r312"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all segments of an entity. It also represents the standard value for the 'Segments' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Segments [Member]",
        "terseLabel": "Segments [member]"
       }
      }
     },
     "localname": "SegmentsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueScheduleOfRevenueFromContractsWithCustomersAllocatedToRevenueStreamsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ShareIssueRelatedCost": {
     "auth_ref": [
      "r8"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of cost related to the issuance of shares."
       }
      },
      "en-us": {
       "role": {
        "label": "Share Issue Related Cost",
        "terseLabel": "Issuance costs"
       }
      }
     },
     "localname": "ShareIssueRelatedCost",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_SharePremium": {
     "auth_ref": [
      "r35"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10040.0,
       "parentTag": "ifrs-full_Equity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount received or receivable from the issuance of the entity's shares in excess of nominal value."
       }
      },
      "en-us": {
       "role": {
        "label": "Share Premium",
        "terseLabel": "Share premium"
       }
      }
     },
     "localname": "SharePremium",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_SharePremiumMember": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the amount received or receivable from issuance of the entity's shares in excess of nominal value."
       }
      },
      "en-us": {
       "role": {
        "label": "Share Premium [Member]",
        "terseLabel": "Share Premium"
       }
      }
     },
     "localname": "SharePremiumMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_SharebasedPaymentArrangementsMember": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for an agreement between the entity or another group entity or any shareholder of the group entity and another party (including an employee) that entitles the other party to receive (a) cash or other assets of the entity for amounts that are based on the price (or value) of equity instruments (including shares or share options) of the entity or another group entity; or (b) equity instruments (including shares or share options) of the entity or another group entity, provided that the specified vesting conditions, if any, are met. It also represents the standard value for the 'Types of share-based payment arrangements' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Sharebased Payment Arrangements [Member]",
        "terseLabel": "Share-based payment arrangements [member]"
       }
      }
     },
     "localname": "SharebasedPaymentArrangementsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationWeightedAverageFairValueOfOptionsGrantedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ShorttermBorrowings": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10170.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Shortterm Borrowings",
        "terseLabel": "Current portion of borrowings"
       }
      }
     },
     "localname": "ShorttermBorrowings",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShorttermDepositsNotClassifiedAsCashEquivalents": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDepositsAllocationBetweenCompanySTermDepositsDetails": {
       "order": 10010.0,
       "parentTag": "soph_TermDeposits",
       "weight": 1.0
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10280.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of short-term deposits held by the entity that are not classified as cash equivalents. [Refer: Cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Shortterm Deposits Not Classified As Cash Equivalents",
        "terseLabel": "Term deposits"
       }
      }
     },
     "localname": "ShorttermDepositsNotClassifiedAsCashEquivalents",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDepositsAllocationBetweenCompanySTermDepositsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_SignificantInvestmentsInSubsidiariesAxis": {
     "auth_ref": [
      "r123",
      "r126",
      "r195"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Significant Investments In Subsidiaries [Axis]",
        "terseLabel": "Subsidiaries [axis]"
       }
      }
     },
     "localname": "SignificantInvestmentsInSubsidiariesAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_SocialSecurityContributions": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A class of employee benefits expense that represents social security contributions. [Refer: Employee benefits expense]"
       }
      },
      "en-us": {
       "role": {
        "label": "Social Security Contributions",
        "negatedLabel": "Social charges"
       }
      }
     },
     "localname": "SocialSecurityContributions",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfChangesInEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Changes In Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfChangesInEquityAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfChangesInEquityLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Statement Of Changes In Equity [Line Items]",
        "terseLabel": "Statement Of Changes In Equity [Line Items]"
       }
      }
     },
     "localname": "StatementOfChangesInEquityLineItems",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfChangesInEquityTable": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to changes in equity."
       }
      },
      "en-us": {
       "role": {
        "label": "Statement Of Changes In Equity [Table]",
        "terseLabel": "Statement Of Changes In Equity [Table]"
       }
      }
     },
     "localname": "StatementOfChangesInEquityTable",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfComprehensiveIncomeAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_SubclassificationsOfAssetsLiabilitiesAndEquitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subclassifications Of Assets Liabilities And Equities [Abstract]"
       }
      }
     },
     "localname": "SubclassificationsOfAssetsLiabilitiesAndEquitiesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_SurplusDeficitInPlan": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfAdditionalDetailsOnDefinedPensionPlansFundedStatusDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The fair value of any plan assets, less the present value of the defined benefit obligation. [Refer: Plan assets [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Surplus Deficit In Plan",
        "negatedTotalLabel": "Net pension liability"
       }
      }
     },
     "localname": "SurplusDeficitInPlan",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfAdditionalDetailsOnDefinedPensionPlansFundedStatusDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TaxBenefitArisingFromPreviouslyUnrecognisedTaxLossTaxCreditOrTemporaryDifferenceOfPriorPeriodUsedToReduceCurrentTaxExpense": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails": {
       "order": 10050.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": -1.0
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails": {
       "order": 10050.0,
       "parentTag": "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of benefit arising from a previously unrecognised tax loss, tax credit or temporary difference of a prior period that is used to reduce current tax expense. [Refer: Temporary differences [member]; Unused tax losses [member]; Unused tax credits [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax Benefit Arising From Previously Unrecognised Tax Loss Tax Credit Or Temporary Difference Of Prior Period Used To Reduce Current Tax Expense",
        "negatedLabel": "Uncertain tax positions"
       }
      }
     },
     "localname": "TaxBenefitArisingFromPreviouslyUnrecognisedTaxLossTaxCreditOrTemporaryDifferenceOfPriorPeriodUsedToReduceCurrentTaxExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TaxBenefitArisingFromPreviouslyUnrecognisedTaxLossTaxCreditOrTemporaryDifferenceOfPriorPeriodUsedToReduceDeferredTaxExpense": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of benefit arising from a previously unrecognised tax loss, tax credit or temporary difference of a prior period that is used to reduce deferred tax expense. [Refer: Deferred tax expense (income); Temporary differences [member]; Unused tax losses [member]; Unused tax credits [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax Benefit Arising From Previously Unrecognised Tax Loss Tax Credit Or Temporary Difference Of Prior Period Used To Reduce Deferred Tax Expense",
        "negatedLabel": "Unrecognized deferred tax assets"
       }
      }
     },
     "localname": "TaxBenefitArisingFromPreviouslyUnrecognisedTaxLossTaxCreditOrTemporaryDifferenceOfPriorPeriodUsedToReduceDeferredTaxExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TaxEffectOfForeignTaxRates": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to foreign tax rates. [Refer: Accounting profit]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax Effect Of Foreign Tax Rates",
        "negatedLabel": "Effect of tax rates in foreign jurisdictions"
       }
      }
     },
     "localname": "TaxEffectOfForeignTaxRates",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TaxEffectOfTaxLosses": {
     "auth_ref": [
      "r63"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to tax losses. [Refer: Accounting profit]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax Effect Of Tax Losses",
        "terseLabel": "Tax effect"
       }
      }
     },
     "localname": "TaxEffectOfTaxLosses",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TaxExpenseIncomeAtApplicableTaxRate": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The product of the accounting profit multiplied by the applicable tax rate(s). [Refer: Accounting profit; Applicable tax rate]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax Expense Income At Applicable Tax Rate",
        "negatedLabel": "Tax at Swiss statutory rate"
       }
      }
     },
     "localname": "TaxExpenseIncomeAtApplicableTaxRate",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TemporaryDifferenceMember": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for differences between the carrying amount of an asset or liability in the statement of financial position and its tax base. Temporary differences may be either: (a) taxable temporary differences; or (b) deductible temporary differences. [Refer: Carrying amount [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Temporary Difference [Member]",
        "terseLabel": "Deductible Temporary Differences"
       }
      }
     },
     "localname": "TemporaryDifferenceMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Temporary Difference Unused Tax Losses And Unused Tax Credits [Axis]",
        "terseLabel": "Temporary difference, unused tax losses and unused tax credits [axis]"
       }
      }
     },
     "localname": "TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for temporary differences, unused tax losses and unused tax credits. It also represents the standard value for the 'Temporary difference, unused tax losses and unused tax credits' axis if no other member is used. [Refer: Temporary differences [member]; Unused tax credits [member]; Unused tax losses [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Temporary Difference Unused Tax Losses And Unused Tax Credits [Member]",
        "terseLabel": "Temporary difference, unused tax losses and unused tax credits [member]"
       }
      }
     },
     "localname": "TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TopOfRangeMember": {
     "auth_ref": [
      "r203",
      "r205",
      "r206",
      "r241",
      "r272",
      "r304"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for top of a range."
       }
      },
      "en-us": {
       "role": {
        "label": "Top Of Range [Member]",
        "terseLabel": "Maximum",
        "verboseLabel": "Top of Range"
       }
      }
     },
     "localname": "TopOfRangeMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers": {
     "auth_ref": [
      "r32",
      "r36"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10140.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The current amount of payment due to suppliers for goods and services used in entity's business. [Refer: Current liabilities; Trade payables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade And Other Current Payables To Trade Suppliers",
        "terseLabel": "Accounts payable",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "TradeAndOtherCurrentPayablesToTradeSuppliers",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherCurrentReceivables": {
     "auth_ref": [
      "r20",
      "r33"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10290.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current trade receivables and current other receivables. [Refer: Current trade receivables; Other current receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade And Other Current Receivables",
        "terseLabel": "Accounts receivable",
        "totalLabel": "Net accounts receivable"
       }
      }
     },
     "localname": "TradeAndOtherCurrentReceivables",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherPayablesToTradeSuppliers": {
     "auth_ref": [
      "r36"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of payment due to suppliers for goods and services used in the entity's business."
       }
      },
      "en-us": {
       "role": {
        "label": "Trade And Other Payables To Trade Suppliers",
        "terseLabel": "Trade payables"
       }
      }
     },
     "localname": "TradeAndOtherPayablesToTradeSuppliers",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherPayablesUndiscountedCashFlows": {
     "auth_ref": [
      "r281",
      "r286"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail": {
       "order": 10030.0,
       "parentTag": "soph_ContractualLiabilitiesUndiscountedCashflows",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to trade and other payables. [Refer: Trade and other payables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade And Other Payables Undiscounted Cash Flows",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "TradeAndOtherPayablesUndiscountedCashFlows",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trade And Other Receivables [Abstract]"
       }
      }
     },
     "localname": "TradeAndOtherReceivablesAbstract",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TradeReceivablesMember": {
     "auth_ref": [
      "r11",
      "r260",
      "r265",
      "r267"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for trade receivables. [Refer: Trade receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade Receivables [Member]",
        "terseLabel": "Accounts Receivable"
       }
      }
     },
     "localname": "TradeReceivablesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TransfersIntoLevel3OfFairValueHierarchyAssets": {
     "auth_ref": [
      "r199"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of transfers of assets into Level 3 of the fair value hierarchy. [Refer: Level 3 of fair value hierarchy [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Transfers Into Level3 Of Fair Value Hierarchy Assets",
        "terseLabel": "Transfers into Level 3, assets"
       }
      }
     },
     "localname": "TransfersIntoLevel3OfFairValueHierarchyAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TransfersIntoLevel3OfFairValueHierarchyLiabilities": {
     "auth_ref": [
      "r199"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of transfers of liabilities into Level 3 of the fair value hierarchy. [Refer: Level 3 of fair value hierarchy [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Transfers Into Level3 Of Fair Value Hierarchy Liabilities",
        "terseLabel": "Transfers into Level 3, liabilities"
       }
      }
     },
     "localname": "TransfersIntoLevel3OfFairValueHierarchyLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TransfersOutOfLevel1IntoLevel2OfFairValueHierarchyAssets": {
     "auth_ref": [
      "r198"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of transfers out of Level 1 and into Level 2 of the fair value hierarchy of assets held at the end of the reporting period. [Refer: Level 1 of fair value hierarchy [member]; Level 2 of fair value hierarchy [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Transfers Out Of Level1 Into Level2 Of Fair Value Hierarchy Assets",
        "terseLabel": "Transfers between Level 1 and Level 2, assets"
       }
      }
     },
     "localname": "TransfersOutOfLevel1IntoLevel2OfFairValueHierarchyAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TransfersOutOfLevel1IntoLevel2OfFairValueHierarchyLiabilities": {
     "auth_ref": [
      "r198"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of transfers out of Level 1 and into Level 2 of the fair value hierarchy of liabilities held at the end of the reporting period. [Refer: Level 1 of fair value hierarchy [member]; Level 2 of fair value hierarchy [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Transfers Out Of Level1 Into Level2 Of Fair Value Hierarchy Liabilities",
        "terseLabel": "Transfers between Level 1 and Level 2, liabilities"
       }
      }
     },
     "localname": "TransfersOutOfLevel1IntoLevel2OfFairValueHierarchyLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TransfersOutOfLevel2IntoLevel1OfFairValueHierarchyAssets": {
     "auth_ref": [
      "r198"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of transfers out of Level 2 and into Level 1 of the fair value hierarchy of assets held at the end of the reporting period. [Refer: Level 1 of fair value hierarchy [member]; Level 2 of fair value hierarchy [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Transfers Out Of Level2 Into Level1 Of Fair Value Hierarchy Assets",
        "terseLabel": "Transfers between Level 2 and Level 1, assets"
       }
      }
     },
     "localname": "TransfersOutOfLevel2IntoLevel1OfFairValueHierarchyAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TransfersOutOfLevel2IntoLevel1OfFairValueHierarchyLiabilities": {
     "auth_ref": [
      "r198"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of transfers out of Level 2 and into Level 1 of the fair value hierarchy of liabilities held at the end of the reporting period. [Refer: Level 1 of fair value hierarchy [member]; Level 2 of fair value hierarchy [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Transfers Out Of Level2 Into Level1 Of Fair Value Hierarchy Liabilities",
        "terseLabel": "Transfers between Level 2 and Level 1, liabilities"
       }
      }
     },
     "localname": "TransfersOutOfLevel2IntoLevel1OfFairValueHierarchyLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TransfersOutOfLevel3OfFairValueHierarchyAssets": {
     "auth_ref": [
      "r199"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of transfers of assets out of Level 3 of the fair value hierarchy. [Refer: Level 3 of fair value hierarchy [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Transfers Out Of Level3 Of Fair Value Hierarchy Assets",
        "terseLabel": "Transfers out of Level 3, assets"
       }
      }
     },
     "localname": "TransfersOutOfLevel3OfFairValueHierarchyAssets",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TransfersOutOfLevel3OfFairValueHierarchyLiabilities": {
     "auth_ref": [
      "r199"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of transfers of liabilities out of Level 3 of the fair value hierarchy. [Refer: Level 3 of fair value hierarchy [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Transfers Out Of Level3 Of Fair Value Hierarchy Liabilities",
        "terseLabel": "Transfers out of Level 3, liabilities"
       }
      }
     },
     "localname": "TransfersOutOfLevel3OfFairValueHierarchyLiabilities",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TravelExpense": {
     "auth_ref": [
      "r11"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10120.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense arising from travel."
       }
      },
      "en-us": {
       "role": {
        "label": "Travel Expense",
        "negatedLabel": "Travel"
       }
      }
     },
     "localname": "TravelExpense",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TypesOfInterestRatesAxis": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Types Of Interest Rates [Axis]",
        "terseLabel": "Types of interest rates [axis]"
       }
      }
     },
     "localname": "TypesOfInterestRatesAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TypesOfRisksAxis": {
     "auth_ref": [
      "r252",
      "r258",
      "r259",
      "r305",
      "r306",
      "r307",
      "r309"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Types Of Risks [Axis]",
        "terseLabel": "Types of risks [axis]"
       }
      }
     },
     "localname": "TypesOfRisksAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TypesOfRisksMember": {
     "auth_ref": [
      "r252",
      "r258",
      "r259",
      "r305",
      "r306",
      "r307",
      "r309"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all types of risks. It also represents the standard value for the 'Types of risks' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Types Of Risks [Member]",
        "terseLabel": "Risks [member]"
       }
      }
     },
     "localname": "TypesOfRisksMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TypesOfSharebasedPaymentArrangementsAxis": {
     "auth_ref": [
      "r242"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Types Of Sharebased Payment Arrangements [Axis]",
        "terseLabel": "Types of share-based payment arrangements [axis]"
       }
      }
     },
     "localname": "TypesOfSharebasedPaymentArrangementsAxis",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationWeightedAverageFairValueOfOptionsGrantedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_UnusedTaxLossesMember": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for tax losses that have been incurred and are carried forward for use against future taxable profit."
       }
      },
      "en-us": {
       "role": {
        "label": "Unused Tax Losses [Member]",
        "terseLabel": "Net Operating Loss Carryforward"
       }
      }
     },
     "localname": "UnusedTaxLossesMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_UsefulLifeMeasuredAsPeriodOfTimeIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r134"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The useful life, measured as period of time, used for intangible assets other than goodwill. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Useful Life Measured As Period Of Time Intangible Assets Other Than Goodwill",
        "terseLabel": "Estimated life"
       }
      }
     },
     "localname": "UsefulLifeMeasuredAsPeriodOfTimeIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ifrs-full_UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment": {
     "auth_ref": [
      "r72"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The useful life, measured as period of time, used for property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Useful Life Measured As Period Of Time Property Plant And Equipment",
        "terseLabel": "Useful life of property and equipment"
       }
      }
     },
     "localname": "UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ifrs-full_WeightedAverageDurationOfDefinedBenefitObligation2019": {
     "auth_ref": [
      "r96"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average duration of a defined benefit obligation. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted Average Duration Of Defined Benefit Obligation2019",
        "terseLabel": "Weighted average modified duration"
       }
      }
     },
     "localname": "WeightedAverageDurationOfDefinedBenefitObligation2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ifrs-full_WeightedAverageExercisePriceOfShareOptionsExercisableInSharebasedPaymentArrangement2019": {
     "auth_ref": [
      "r239"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average exercise price of share options exercisable in a share-based payment arrangement. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted Average Exercise Price Of Share Options Exercisable In Sharebased Payment Arrangement2019",
        "terseLabel": "Weighted average exercise price, exercisable"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceOfShareOptionsExercisableInSharebasedPaymentArrangement2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_WeightedAverageExercisePriceOfShareOptionsExercisedInSharebasedPaymentArrangement2019": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average exercise price of share options exercised in a share-based payment arrangement. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted Average Exercise Price Of Share Options Exercised In Sharebased Payment Arrangement2019",
        "terseLabel": "Weighted average exercise price, exercised"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceOfShareOptionsExercisedInSharebasedPaymentArrangement2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_WeightedAverageExercisePriceOfShareOptionsForfeitedInSharebasedPaymentArrangement2019": {
     "auth_ref": [
      "r236"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average exercise price of share options forfeited in a share-based payment arrangement. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted Average Exercise Price Of Share Options Forfeited In Sharebased Payment Arrangement2019",
        "terseLabel": "Weighted average exercise price, forfeited"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceOfShareOptionsForfeitedInSharebasedPaymentArrangement2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_WeightedAverageExercisePriceOfShareOptionsGrantedInSharebasedPaymentArrangement2019": {
     "auth_ref": [
      "r235"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average exercise price of share options granted in a share-based payment arrangement. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted Average Exercise Price Of Share Options Granted In Sharebased Payment Arrangement2019",
        "terseLabel": "Weighted average exercise price, granted"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceOfShareOptionsGrantedInSharebasedPaymentArrangement2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_WeightedAverageExercisePriceOfShareOptionsOutstandingInSharebasedPaymentArrangement2019": {
     "auth_ref": [
      "r234",
      "r238"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average exercise price of share options outstanding in a share-based payment arrangement. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted Average Exercise Price Of Share Options Outstanding In Sharebased Payment Arrangement2019",
        "periodEndLabel": "Weighted average exercise price, ending balance",
        "periodStartLabel": "Weighted average exercise price, beginning balance"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceOfShareOptionsOutstandingInSharebasedPaymentArrangement2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_WeightedAverageRemainingContractualLifeOfOutstandingShareOptions2019": {
     "auth_ref": [
      "r241"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average remaining contractual life of outstanding share options. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted Average Remaining Contractual Life Of Outstanding Share Options2019",
        "terseLabel": "Weighted average remaining life in years, ending balance"
       }
      }
     },
     "localname": "WeightedAverageRemainingContractualLifeOfOutstandingShareOptions2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ifrs-full_WeightedAverageSharePriceShareOptionsGranted2019": {
     "auth_ref": [
      "r243"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average share price used as input to the option pricing model to calculate the fair value of share options granted. [Refer: Option pricing model [member]; Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted Average Share Price Share Options Granted2019",
        "terseLabel": "Share price at grant date (in USD)"
       }
      }
     },
     "localname": "WeightedAverageSharePriceShareOptionsGranted2019",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_WhollyOrPartlyFundedDefinedBenefitPlansMember": {
     "auth_ref": [
      "r85"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for wholly funded or partly funded defined benefit plans. [Refer: Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Wholly Or Partly Funded Defined Benefit Plans [Member]",
        "terseLabel": "Funded"
       }
      }
     },
     "localname": "WhollyOrPartlyFundedDefinedBenefitPlansMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_WhollyUnfundedDefinedBenefitPlansMember": {
     "auth_ref": [
      "r85"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for wholly unfunded defined benefit plans. [Refer: Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Wholly Unfunded Defined Benefit Plans [Member]",
        "terseLabel": "Unfunded"
       }
      }
     },
     "localname": "WhollyUnfundedDefinedBenefitPlansMember",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_WorkInProgress": {
     "auth_ref": [
      "r34",
      "r104"
     ],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_Inventories",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A classification of current inventory representing the amount of assets currently in production, which require further processes to be converted into finished goods or services. [Refer: Current finished goods; Inventories]"
       }
      },
      "en-us": {
       "role": {
        "label": "Work In Progress",
        "terseLabel": "Work in progress"
       }
      }
     },
     "localname": "WorkInProgress",
     "nsuri": "http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccountsPayablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts payables.",
        "label": "Accounts Payables [Member]",
        "terseLabel": "Accounts Payable"
       }
      }
     },
     "localname": "AccountsPayablesMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_AccountsReceivableBalanceNonInterestBearingAndPaymentTerms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts receivable balance non-interest bearing and payment terms.",
        "label": "Accounts Receivable Balance Non Interest Bearing And Payment Terms",
        "terseLabel": "Accounts receivable balance non-interest bearing and payment terms"
       }
      }
     },
     "localname": "AccountsReceivableBalanceNonInterestBearingAndPaymentTerms",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_AccountsReceivableInAggregateAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts receivable in aggregate amount.",
        "label": "Accounts Receivable In Aggregate Amount",
        "terseLabel": "Accounts receivable in aggregate amount"
       }
      }
     },
     "localname": "AccountsReceivableInAggregateAmount",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccruedCompensation": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails": {
       "order": 10010.0,
       "parentTag": "soph_AccruedExpenses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued compensation.",
        "label": "Accrued Compensation",
        "terseLabel": "Accrued Compensation"
       }
      }
     },
     "localname": "AccruedCompensation",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccruedExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10150.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued expenses.",
        "label": "Accrued Expenses",
        "terseLabel": "Accrued expenses",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "AccruedExpenses",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccruedExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued expenses.",
        "label": "Accrued Expenses [Abstract]"
       }
      }
     },
     "localname": "AccruedExpensesAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_AccruedExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued expenses.",
        "label": "Accrued Expenses [Member]",
        "terseLabel": "Accrued Expenses"
       }
      }
     },
     "localname": "AccruedExpensesMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_AccruedExpensesUndiscountedCashFlows": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail": {
       "order": 10040.0,
       "parentTag": "soph_ContractualLiabilitiesUndiscountedCashflows",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued expenses, undiscounted cash flows.",
        "label": "Accrued Expenses Undiscounted Cash Flows",
        "terseLabel": "Accrued expenses"
       }
      }
     },
     "localname": "AccruedExpensesUndiscountedCashFlows",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccruedITSupport": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails": {
       "order": 10040.0,
       "parentTag": "soph_AccruedExpenses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued IT support.",
        "label": "Accrued I T Support",
        "terseLabel": "Accrued IT support"
       }
      }
     },
     "localname": "AccruedITSupport",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccruedInventoryPurchases": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails": {
       "order": 10030.0,
       "parentTag": "soph_AccruedExpenses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued inventory purchases.",
        "label": "Accrued Inventory Purchases",
        "terseLabel": "Accrued inventory purchases"
       }
      }
     },
     "localname": "AccruedInventoryPurchases",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccruedLegalFees": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails": {
       "order": 10050.0,
       "parentTag": "soph_AccruedExpenses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued legal fees.",
        "label": "Accrued Legal Fees",
        "terseLabel": "Accrued Legal fees"
       }
      }
     },
     "localname": "AccruedLegalFees",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccruedOther": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails": {
       "order": 10060.0,
       "parentTag": "soph_AccruedExpenses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued other.",
        "label": "Accrued Other",
        "terseLabel": "Accrued Other"
       }
      }
     },
     "localname": "AccruedOther",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AccruedProfessionalFees": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails": {
       "order": 10020.0,
       "parentTag": "soph_AccruedExpenses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued professional fees.",
        "label": "Accrued Professional Fees",
        "terseLabel": "Accrued Professional fees"
       }
      }
     },
     "localname": "AccruedProfessionalFees",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ActuarialAssumptionBasisPoints": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Actuarial assumption basis points.",
        "label": "Actuarial Assumption Basis Points",
        "terseLabel": "Actuarial assumption basis points"
       }
      }
     },
     "localname": "ActuarialAssumptionBasisPoints",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForUnfundedPlansParentheticalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_ActuarialAssumptionOfExpectedInterestRatesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Actuarial assumption of expected interest rates.",
        "label": "Actuarial Assumption Of Expected Interest Rates [Member]",
        "terseLabel": "Interest Rate"
       }
      }
     },
     "localname": "ActuarialAssumptionOfExpectedInterestRatesMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfSensitivityAnalysisForFundedPlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ActuarialGainsLossesNetDefinedBenefitPlans": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Actuarial gains (losses), net defined benefit plans.",
        "label": "Actuarial Gains Losses Net Defined Benefit Plans",
        "terseLabel": "Actuarial gains (losses)",
        "totalLabel": "Total actuarial gains (losses)"
       }
      }
     },
     "localname": "ActuarialGainsLossesNetDefinedBenefitPlans",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AdditionsToLeaseLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions to lease liabilities.",
        "label": "Additions To Lease Liabilities",
        "terseLabel": "Lease liabilities , Additions"
       }
      }
     },
     "localname": "AdditionsToLeaseLiabilities",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AdjustmentsForCreditLossAllowance": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10240.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for credit loss allowance.",
        "label": "Adjustments For Credit Loss Allowance",
        "terseLabel": "Expected credit loss allowance"
       }
      }
     },
     "localname": "AdjustmentsForCreditLossAllowance",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AdjustmentsForGainOnTriplePointSuccessFee": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10230.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for gain on triple point success fee.",
        "label": "Adjustments For Gain On Triple Point Success Fee",
        "negatedLabel": "Gain on TriplePoint success fee"
       }
      }
     },
     "localname": "AdjustmentsForGainOnTriplePointSuccessFee",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AdjustmentsForResearchTaxCredit": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10280.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for research tax credit.",
        "label": "Adjustments For Research Tax Credit",
        "negatedLabel": "Research tax credit"
       }
      }
     },
     "localname": "AdjustmentsForResearchTaxCredit",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AdministrativeExpensesNetDefinedBenefitLiabilityAsset": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Administrative expenses net defined benefit liability asset.",
        "label": "Administrative Expenses Net Defined Benefit Liability Asset",
        "negatedLabel": "Administrative expenses"
       }
      }
     },
     "localname": "AdministrativeExpensesNetDefinedBenefitLiabilityAsset",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AllowanceRelatedToAccruedContractRevenue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance related to accrued contract revenue.",
        "label": "Allowance Related To Accrued Contract Revenue",
        "terseLabel": "Allowance related to accrued contract revenue"
       }
      }
     },
     "localname": "AllowanceRelatedToAccruedContractRevenue",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_AlychloNVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Alychlo NV.",
        "label": "Alychlo N V [Member]",
        "terseLabel": "Alychlo NV"
       }
      }
     },
     "localname": "AlychloNVMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_AnalysisOfNonCurrentNonFinancialAssetsByCountryExplanatoryTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Analysis of non-current non-financial assets by country explanatory.",
        "label": "Analysis Of Non Current Non Financial Assets By Country Explanatory Table [Text Block]",
        "terseLabel": "Summary of Non-current Non-financial Assets by Country"
       }
      }
     },
     "localname": "AnalysisOfNonCurrentNonFinancialAssetsByCountryExplanatoryTableTextBlock",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_AreaOfOfficeSpaceGainedAccessUnderLease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area of office space gained access under lease.",
        "label": "Area Of Office Space Gained Access Under Lease",
        "terseLabel": "Area of office space gained access under lease"
       }
      }
     },
     "localname": "AreaOfOfficeSpaceGainedAccessUnderLease",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "areaItemType"
    },
    "soph_AreaOfOfficeSpaceLeased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area of office space leased.",
        "label": "Area Of Office Space Leased",
        "terseLabel": "Area of office space leased"
       }
      }
     },
     "localname": "AreaOfOfficeSpaceLeased",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "areaItemType"
    },
    "soph_AverageForeignExchangeRates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average foreign exchange rate.",
        "label": "Average Foreign Exchange Rates",
        "terseLabel": "Average rate"
       }
      }
     },
     "localname": "AverageForeignExchangeRates",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfSignificantExchangeRatesDetail"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_AverageLifeExpectancyInYearsAfterRetirementForFemale": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average life expectancy in years after retirement for female.",
        "label": "Average Life Expectancy In Years After Retirement For Female",
        "terseLabel": "Average life expectancy in years after retirement for female"
       }
      }
     },
     "localname": "AverageLifeExpectancyInYearsAfterRetirementForFemale",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_AverageLifeExpectancyInYearsAfterRetirementForMale": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average life expectancy in years after retirement for male.",
        "label": "Average Life Expectancy In Years After Retirement For Male",
        "terseLabel": "Average life expectancy in years after retirement for male"
       }
      }
     },
     "localname": "AverageLifeExpectancyInYearsAfterRetirementForMale",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_BasicAndDilutedEarningsLossPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted earnings (loss) per share.",
        "label": "Basic And Diluted Earnings Loss Per Share",
        "terseLabel": "Basic and diluted loss per share"
       }
      }
     },
     "localname": "BasicAndDilutedEarningsLossPerShare",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareComponentsOfLossForYearDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "perShareItemType"
    },
    "soph_BorrowingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings.",
        "label": "Borrowing [Member]",
        "terseLabel": "Borrowings"
       }
      }
     },
     "localname": "BorrowingMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_BorrowingsDateOfFirstRequiredPayment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings, date of first required payment.",
        "label": "Borrowings Date Of First Required Payment",
        "terseLabel": "Date of first required repayment"
       }
      }
     },
     "localname": "BorrowingsDateOfFirstRequiredPayment",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "soph_BorrowingsFrequencyOfPeriodicPayment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings, frequency of periodic payment.",
        "label": "Borrowings Frequency Of Periodic Payment",
        "terseLabel": "Frequency of principal repayments"
       }
      }
     },
     "localname": "BorrowingsFrequencyOfPeriodicPayment",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_BorrowingsMaturityDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings, maturity date.",
        "label": "Borrowings Maturity Date",
        "terseLabel": "Maturity date"
       }
      }
     },
     "localname": "BorrowingsMaturityDate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "soph_BorrowingsMaturityYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings, maturity year.",
        "label": "Borrowings Maturity Year",
        "terseLabel": "Maturity year"
       }
      }
     },
     "localname": "BorrowingsMaturityYear",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_BorrowingsRepaymentDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings, repayment date.",
        "label": "Borrowings Repayment Date",
        "terseLabel": "Loan repayment date"
       }
      }
     },
     "localname": "BorrowingsRepaymentDate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "soph_BostonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boston.",
        "label": "Boston [Member]",
        "terseLabel": "Boston"
       }
      }
     },
     "localname": "BostonMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_COVIDCHFFiveHundredThousandMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "COVID CHF five hundred thousand.",
        "label": "C O V I D C H F Five Hundred Thousand [Member]",
        "terseLabel": "COVID CHF 500K"
       }
      }
     },
     "localname": "COVIDCHFFiveHundredThousandMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_COVIDCHFOneMillionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "COVID CHF One Million.",
        "label": "C O V I D C H F One Million [Member]",
        "terseLabel": "COVID CHF 1M"
       }
      }
     },
     "localname": "COVIDCHFOneMillionMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_COVIDEUROnePointFourMillionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "COVID EUR one point four million member.",
        "label": "C O V I D E U R One Point Four Million [Member]",
        "terseLabel": "COVID EUR 1.4M"
       }
      }
     },
     "localname": "COVIDEUROnePointFourMillionMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_COVIDLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "COVID loans.",
        "label": "C O V I D Loans [Member]",
        "terseLabel": "COVID Loans"
       }
      }
     },
     "localname": "COVIDLoansMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_COVIDLoansUnderPaycheckProtectionProgramMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "COVID loans under Paycheck Protection Program.",
        "label": "C O V I D Loans Under Paycheck Protection Program [Member]",
        "terseLabel": "COVID Loans under PPP"
       }
      }
     },
     "localname": "COVIDLoansUnderPaycheckProtectionProgramMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_COVIDSalariesReimbursement": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10050.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "COVID salaries reimbursement.",
        "label": "C O V I D Salaries Reimbursement",
        "terseLabel": "COVID\u2014salaries reimbursement"
       }
      }
     },
     "localname": "COVIDSalariesReimbursement",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CapitalizedSoftwareDevelopmentCosts": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10150.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": -1.0
      },
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10150.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capitalized software development costs.",
        "label": "Capitalized Software Development Costs",
        "negatedLabel": "Capitalized development costs",
        "terseLabel": "Less: capitalized software development costs (\"Note 17 - Intangible assets\u201d)"
       }
      }
     },
     "localname": "CapitalizedSoftwareDevelopmentCosts",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CashAndCashEquivalentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash and cash equivalents.",
        "label": "Cash And Cash Equivalent [Member]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_CashAndCashEquivalentsTermDepositsAndShortTermInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash and cash equivalents, term deposits and short-term investments.",
        "label": "Cash And Cash Equivalents Term Deposits And Short Term Investments [Member]",
        "terseLabel": "Cash And Cash Equivalents, Term Deposits and Short-term Investments"
       }
      }
     },
     "localname": "CashAndCashEquivalentsTermDepositsAndShortTermInvestmentsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_CashOutflowsOfLeaseLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflows of lease liabilities.",
        "label": "Cash Outflows Of Lease Liabilities",
        "negatedLabel": "Lease liabilities, Cash outflows (principle and interest)"
       }
      }
     },
     "localname": "CashOutflowsOfLeaseLiabilities",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CashUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash used in operating activities.",
        "label": "Cash Used In Operating Activities [Abstract]",
        "terseLabel": "Cash used in operating activities"
       }
      }
     },
     "localname": "CashUsedInOperatingActivitiesAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_CitizensBankMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Citizens bank.",
        "label": "Citizens Bank [Member]",
        "terseLabel": "Citizens Bank"
       }
      }
     },
     "localname": "CitizensBankMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_CommittedLoanFacilityAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Committed loan facility amount.",
        "label": "Committed Loan Facility Amount",
        "terseLabel": "Committed loan facility amount"
       }
      }
     },
     "localname": "CommittedLoanFacilityAmount",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CommittedLoanFacilityConversionRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Committed loan facility conversion rate.",
        "label": "Committed Loan Facility Conversion Rate",
        "terseLabel": "Committed loan facility conversion rate"
       }
      }
     },
     "localname": "CommittedLoanFacilityConversionRate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_CompanyInformationAndOperationsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Company information and operations.",
        "label": "Company Information And Operations [Text Block]",
        "terseLabel": "Company Information and Operations"
       }
      }
     },
     "localname": "CompanyInformationAndOperationsTextBlock",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_ComputerHardwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Computer hardware.",
        "label": "Computer Hardware [Member]",
        "terseLabel": "Computer Hardware"
       }
      }
     },
     "localname": "ComputerHardwareMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ConsolidatedFinancialStatementsApprovalDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consolidated financial statements approval date.",
        "label": "Consolidated Financial Statements Approval Date",
        "terseLabel": "Consolidated financial statements approval date"
       }
      }
     },
     "localname": "ConsolidatedFinancialStatementsApprovalDate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "soph_ConsumerPriceIndicesInSwitzerlandAndFranceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consumer price indices in Switzerland and France.",
        "label": "Consumer Price Indices In Switzerland And France [Member]",
        "terseLabel": "Consumer Price Indices in Switzerland and France"
       }
      }
     },
     "localname": "ConsumerPriceIndicesInSwitzerlandAndFranceMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ContractualLiabilitiesUndiscountedCashflows": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual liabilities undiscounted cashflows.",
        "label": "Contractual Liabilities Undiscounted Cashflows",
        "totalLabel": "Total contractual liabilities"
       }
      }
     },
     "localname": "ContractualLiabilitiesUndiscountedCashflows",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CreditAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit agreement.",
        "label": "Credit Agreement [Member]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditAgreementMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_CreditAgricolePyreneesGascogneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit Agricole Pyr\u00e9n\u00e9es Gascogne.",
        "label": "Credit Agricole Pyrenees Gascogne [Member]",
        "terseLabel": "Credit Agricole Pyr\u00e9n\u00e9es Gascogne"
       }
      }
     },
     "localname": "CreditAgricolePyreneesGascogneMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_CreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit facility, maximum borrowing capacity.",
        "label": "Credit Facility Maximum Borrowing Capacity",
        "terseLabel": "Maximum borrowings"
       }
      }
     },
     "localname": "CreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CreditSuisseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit Suisse.",
        "label": "Credit Suisse [Member]",
        "terseLabel": "Credit Suisse"
       }
      }
     },
     "localname": "CreditSuisseMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_CurrencyTranslationDifferences": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Currency translation differences.",
        "label": "Currency Translation Differences",
        "terseLabel": "Currency translation differences"
       }
      }
     },
     "localname": "CurrencyTranslationDifferences",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsSummaryOfBorrowingsActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CurrencyTranslationDifferencesDefinedBenefitPlans": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Currency translation differences defined benefit plans.",
        "label": "Currency Translation Differences Defined Benefit Plans",
        "terseLabel": "Currency translation differences"
       }
      }
     },
     "localname": "CurrencyTranslationDifferencesDefinedBenefitPlans",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CurrentAccruedContractRevenue": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_CurrentPrepaymentsAndOtherCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current accrued contract revenue.",
        "label": "Current Accrued Contract Revenue",
        "terseLabel": "Accrued contract revenue"
       }
      }
     },
     "localname": "CurrentAccruedContractRevenue",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CurrentDeferredContractCosts": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_CurrentPrepaymentsAndOtherCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current deferred contract costs.",
        "label": "Current Deferred Contract Costs",
        "terseLabel": "Deferred contract costs"
       }
      }
     },
     "localname": "CurrentDeferredContractCosts",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CurrentGovernmentGrantsReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails": {
       "order": 10060.0,
       "parentTag": "ifrs-full_CurrentPrepaymentsAndOtherCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current government grants receivable.",
        "label": "Current Government Grants Receivable",
        "terseLabel": "Government grants receivable"
       }
      }
     },
     "localname": "CurrentGovernmentGrantsReceivable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CurrentOtherAssetsMiscellaneous": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails": {
       "order": 10070.0,
       "parentTag": "ifrs-full_CurrentPrepaymentsAndOtherCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current other assets miscellaneous.",
        "label": "Current Other Assets Miscellaneous",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "CurrentOtherAssetsMiscellaneous",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CurrentResearchTaxCreditReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_CurrentPrepaymentsAndOtherCurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current research tax credit receivable.",
        "label": "Current Research Tax Credit Receivable",
        "terseLabel": "Research tax credit receivable"
       }
      }
     },
     "localname": "CurrentResearchTaxCreditReceivable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsSummaryOfOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_CustomerPaymentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer payment term.",
        "label": "Customer Payment Term",
        "terseLabel": "Customer payment term"
       }
      }
     },
     "localname": "CustomerPaymentTerm",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_DateOfIncorporation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date of incorporation.",
        "label": "Date Of Incorporation",
        "terseLabel": "Date of incorporation"
       }
      }
     },
     "localname": "DateOfIncorporation",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "soph_DeferredBenefitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred benefit.",
        "label": "Deferred Benefit [Abstract]",
        "terseLabel": "Deferred income tax (expense) benefit"
       }
      }
     },
     "localname": "DeferredBenefitAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfCurrentAndDeferredTaxExpensesBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DefinedBenefitPensionLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet": {
       "order": 10120.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined benefit pension liabilities.",
        "label": "Defined Benefit Pension Liabilities",
        "terseLabel": "Defined benefit pension liabilities"
       }
      }
     },
     "localname": "DefinedBenefitPensionLiabilities",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_DefinedBenefitPlanAssetsCash": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfDefinedBenefitPlansAssetsDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_LiabilityAssetOfDefinedBenefitPlans",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined benefit plan assets cash.",
        "label": "Defined Benefit Plan Assets Cash",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssetsCash",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_DefinedBenefitPlanAssetsInsurancePolicies": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfDefinedBenefitPlansAssetsDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_LiabilityAssetOfDefinedBenefitPlans",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined benefit plan assets insurance policies.",
        "label": "Defined Benefit Plan Assets Insurance Policies",
        "terseLabel": "Insurance policies"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssetsInsurancePolicies",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_DerivativeEquityValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative equity value.",
        "label": "Derivative Equity Value",
        "terseLabel": "Equity value of the Company"
       }
      }
     },
     "localname": "DerivativeEquityValue",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_DescriptionOfAccountingPolicyForAccountingPoliciesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policy for Accounting policies explanatory.",
        "label": "Description Of Accounting Policy For Accounting Policies Explanatory",
        "terseLabel": "Accounting Policies"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForAccountingPoliciesExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DescriptionOfAccountingPolicyForBasisOfConsolidationExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policy for basis of consolidation explanatory.",
        "label": "Description Of Accounting Policy For Basis Of Consolidation Explanatory",
        "terseLabel": "Basis Of Consolidation"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForBasisOfConsolidationExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DescriptionOfAccountingPolicyForBasisOfPreparationExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policy for basis of preparation explanatory.",
        "label": "Description Of Accounting Policy For Basis Of Preparation Explanatory",
        "terseLabel": "Basis Of Preparation"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForBasisOfPreparationExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DescriptionOfAccountingPolicyForGoingConcernBasisExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policy for going concern basis explanatory.",
        "label": "Description Of Accounting Policy For Going Concern Basis Explanatory",
        "terseLabel": "Going Concern Basis"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForGoingConcernBasisExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DescriptionOfAccountingPolicyForHistoricalCostConventionExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policy for historical cost convention explanatory.",
        "label": "Description Of Accounting Policy For Historical Cost Convention Explanatory",
        "terseLabel": "Historical Cost Convention"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForHistoricalCostConventionExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DescriptionOfAccountingPolicyForNewStandardsAmendmentsToStandardsAndInterpretationsIssuedNotYetEffective": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policy for new standards amendments to standards and interpretations issued not yet effective.",
        "label": "Description Of Accounting Policy For New Standards Amendments To Standards And Interpretations Issued Not Yet Effective",
        "terseLabel": "New Standards Amendments To Standards And Interpretations Issued Not Yet Effective"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForNewStandardsAmendmentsToStandardsAndInterpretationsIssuedNotYetEffective",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DescriptionOfAccountingPolicyForProvisionsAndContingenciesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policy for provisions and contingencies explanatory.",
        "label": "Description Of Accounting Policy For Provisions And Contingencies Explanatory",
        "terseLabel": "Provisions And Contingencies"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForProvisionsAndContingenciesExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DescriptionOfAccountingPolicyForUseOfEstimatesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policy for use of estimates explanatory.",
        "label": "Description Of Accounting Policy For Use Of Estimates Explanatory",
        "terseLabel": "Use Of Estimates"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForUseOfEstimatesExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DifferencesOfCurrencyEURCHFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Differences of Currency EUR/CHF.",
        "label": "Differences Of Currency E U R C H F [Member]",
        "terseLabel": "EUR/CHF"
       }
      }
     },
     "localname": "DifferencesOfCurrencyEURCHFMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_DifferencesOfCurrencyGBPCHFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Differences of Currency GBP/CHF.",
        "label": "Differences Of Currency G B P C H F [Member]",
        "terseLabel": "GBP/CHF"
       }
      }
     },
     "localname": "DifferencesOfCurrencyGBPCHFMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_DifferencesOfCurrencyUSDBRLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Differences of currency USD/BRL.",
        "label": "Differences Of Currency U S D B R L [Member]",
        "terseLabel": "USD/BRL"
       }
      }
     },
     "localname": "DifferencesOfCurrencyUSDBRLMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_DifferencesOfCurrencyUSDCHFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Differences of currency USD/CHF.",
        "label": "Differences Of Currency U S D C H F [Member]",
        "terseLabel": "USD/CHF"
       }
      }
     },
     "localname": "DifferencesOfCurrencyUSDCHFMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_DifferencesOfCurrencyUSDEURMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Differences of Currency USD/EUR.",
        "label": "Differences Of Currency U S D E U R [Member]",
        "terseLabel": "USD/EUR"
       }
      }
     },
     "localname": "DifferencesOfCurrencyUSDEURMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_DifferencesOfCurrencyUSDGBPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Differences of Currency USD/GBP.",
        "label": "Differences Of Currency U S D G B P [Member]",
        "terseLabel": "USD/GBP"
       }
      }
     },
     "localname": "DifferencesOfCurrencyUSDGBPMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_DisclosureOfAccountsPayablesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounts payables explanatory.",
        "label": "Disclosure Of Accounts Payables Explanatory",
        "terseLabel": "Summary of Accounts Payable"
       }
      }
     },
     "localname": "DisclosureOfAccountsPayablesExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of accounts receivable and lease receivable less expected credit loss.",
        "label": "Disclosure Of Accounts Receivable And Lease Receivable Less Expected Credit Loss Explanatory",
        "terseLabel": "Schedule of Accounts Receivable and Lease Receivable Less Expected Credit Loss"
       }
      }
     },
     "localname": "DisclosureOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfCapitalManagementExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of capital management explanatory.",
        "label": "Disclosure Of Capital Management Explanatory",
        "terseLabel": "Capital Management"
       }
      }
     },
     "localname": "DisclosureOfCapitalManagementExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCapitalManagement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfCompanyInformationAndOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of company information and operations.",
        "label": "Disclosure Of Company Information And Operations [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompanyInformationAndOperationsAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfCompanyInformationAndOperationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of company information and operations.",
        "label": "Disclosure Of Company Information And Operations [Line Items]",
        "terseLabel": "Disclosure Of Company Information And Operations [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfCompanyInformationAndOperationsLineItems",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfCompanyInformationAndOperationsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of company information and operations.",
        "label": "Disclosure Of Company Information And Operations [Table]",
        "terseLabel": "Disclosure Of Company Information And Operations [Table]"
       }
      }
     },
     "localname": "DisclosureOfCompanyInformationAndOperationsTable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfCostOfSalesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of cost of sales.",
        "label": "Disclosure Of Cost Of Sales [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCostOfSalesAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfCurrentAndDeferredTaxExpensesBenefitsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of current and deferred tax (expenses) benefits.",
        "label": "Disclosure Of Current And Deferred Tax Expenses Benefits Explanatory",
        "terseLabel": "Summary of Current and Deferred Tax (Expenses) Benefits"
       }
      }
     },
     "localname": "DisclosureOfCurrentAndDeferredTaxExpensesBenefitsExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDepreciationAndAmortizationHaveChargedInExpenseExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of depreciation and amortization have charged in expense explanatory.",
        "label": "Disclosure Of Depreciation And Amortization Have Charged In Expense Explanatory",
        "terseLabel": "Summary of Depreciation and Amortization have Charged in Expense"
       }
      }
     },
     "localname": "DisclosureOfDepreciationAndAmortizationHaveChargedInExpenseExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutAccruedExpensesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about accrued expenses explanatory.",
        "label": "Disclosure Of Detailed Information About Accrued Expenses Explanatory",
        "terseLabel": "Summary of Accrued Expenses"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutAccruedExpensesExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccruedExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutInventoriesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of detailed information about inventories.",
        "label": "Disclosure Of Detailed Information About Inventories Explanatory",
        "terseLabel": "Schedule of Inventory"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutInventoriesExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutKeyAssumptionsInValuationOfDerivativeExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about key assumptions in valuation of derivative explanatory.",
        "label": "Disclosure Of Detailed Information About Key Assumptions In Valuation Of Derivative Explanatory",
        "terseLabel": "Summary of Key Assumptions in Valuation of Derivative"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutKeyAssumptionsInValuationOfDerivativeExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutKeyAssumptionsInValuationOfDerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about key assumptions in valuation of derivative.",
        "label": "Disclosure Of Detailed Information About Key Assumptions In Valuation Of Derivative [Line Items]",
        "terseLabel": "Disclosure Of Detailed Information About Key Assumptions In Valuation Of Derivative [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutKeyAssumptionsInValuationOfDerivativeLineItems",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutKeyAssumptionsInValuationOfDerivativeTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about key assumptions in valuation of derivative.",
        "label": "Disclosure Of Detailed Information About Key Assumptions In Valuation Of Derivative [Table]",
        "terseLabel": "Disclosure Of Detailed Information About Key Assumptions In Valuation Of Derivative [Table]"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutKeyAssumptionsInValuationOfDerivativeTable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutKeyAssumptionsOnDerivativeValuesSetOutExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about key assumptions on derivative values set out explanatory.",
        "label": "Disclosure Of Detailed Information About Key Assumptions On Derivative Values Set Out Explanatory",
        "terseLabel": "Summary of Key Assumptions on Derivative Values Set Out"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutKeyAssumptionsOnDerivativeValuesSetOutExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutLossRecognizedOnDerivative": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about loss recognized on derivative.",
        "label": "Disclosure Of Detailed Information About Loss Recognized On Derivative",
        "terseLabel": "Summary of Loss Recognized on Derivative with TriplePoint Loan"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutLossRecognizedOnDerivative",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutOperatingExpenseExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about operating expense explanatory.",
        "label": "Disclosure Of Detailed Information About Operating Expense Explanatory",
        "terseLabel": "Summary of Operating Expenses"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutOperatingExpenseExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutPensionCostsRecognizedInStatementOfIncomeLossExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about pension costs recognized in statement of income loss explanatory.",
        "label": "Disclosure Of Detailed Information About Pension Costs Recognized In Statement Of Income Loss Explanatory",
        "terseLabel": "Schedule of Pension Costs Recognized in Statement of Loss"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutPensionCostsRecognizedInStatementOfIncomeLossExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutPensionRemeasurementRecognizedInStatementOtherComprehensiveIncomeLossExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about pension remeasurement recognized in statement other comprehensive income loss explanatory.",
        "label": "Disclosure Of Detailed Information About Pension Remeasurement Recognized In Statement Other Comprehensive Income Loss Explanatory",
        "terseLabel": "Schedule of Pension Remeasurement Recognized in Statement Other Comprehensive Loss"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutPensionRemeasurementRecognizedInStatementOtherComprehensiveIncomeLossExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutTermDepositsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of term deposits.",
        "label": "Disclosure Of Detailed Information About Term Deposits Explanatory",
        "terseLabel": "Allocation Between Company's Term Deposits"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutTermDepositsExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDepositsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationAboutWeightedAverageFairValueOfOptionsGrantedExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information about weighted average fair value of options granted explanatory.",
        "label": "Disclosure Of Detailed Information About Weighted Average Fair Value Of Options Granted Explanatory",
        "terseLabel": "Weighted Average Fair Value of Options Granted"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutWeightedAverageFairValueOfOptionsGrantedExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfDetailedInformationOfOtherCurrentAssetsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of detailed information of other current assets.",
        "label": "Disclosure Of Detailed Information Of Other Current Assets Explanatory",
        "terseLabel": "Summary of Other Current Assets"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationOfOtherCurrentAssetsExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePrepaidsAndOtherCurrentAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfEffectOfChangesInForeignExchangeRatesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of effect of changes in foreign exchange rates.",
        "label": "Disclosure Of Effect Of Changes In Foreign Exchange Rates [Line Items]",
        "terseLabel": "Disclosure Of Effect Of Changes In Foreign Exchange Rates [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfEffectOfChangesInForeignExchangeRatesLineItems",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfEffectOfChangesInForeignExchangeRatesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of effect of changes in foreign exchange rates.",
        "label": "Disclosure Of Effect Of Changes In Foreign Exchange Rates [Table]",
        "terseLabel": "Disclosure Of Effect Of Changes In Foreign Exchange Rates [Table]"
       }
      }
     },
     "localname": "DisclosureOfEffectOfChangesInForeignExchangeRatesTable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfEmployeeBenefitExpensesAndSocialChargesFromTheOperatingExpenseExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of employee benefit expenses and social charges from the operating expense explanatory.",
        "label": "Disclosure Of Employee Benefit Expenses And Social Charges From The Operating Expense Explanatory",
        "terseLabel": "Summary of Employee Benefit Expenses, Social Charges and Share-based Compensation from the Operating Expense"
       }
      }
     },
     "localname": "DisclosureOfEmployeeBenefitExpensesAndSocialChargesFromTheOperatingExpenseExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfEventsAfterReportingPeriodAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of events after reporting period.",
        "label": "Disclosure Of Events After Reporting Period [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfEventsAfterReportingPeriodAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfExpiringAmountsOfUnrecognizedNetOperatingLossCarryforwardsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of expiring amounts of unrecognized net operating loss carryforwards explanatory.",
        "label": "Disclosure Of Expiring Amounts Of Unrecognized Net Operating Loss Carryforwards Explanatory",
        "terseLabel": "Summary of Expiring Amounts of Unrecognized Net Operating Loss Carryforwards"
       }
      }
     },
     "localname": "DisclosureOfExpiringAmountsOfUnrecognizedNetOperatingLossCarryforwardsExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfInformationAboutPostEmploymentBenefitsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about post-employment benefits.",
        "label": "Disclosure Of Information About Post Employment Benefits [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfInformationAboutPostEmploymentBenefitsAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfInitialPublicOfferingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of initial public offerings.",
        "label": "Disclosure Of Initial Public Offerings [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfInitialPublicOfferingsAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfInitialPublicOfferingsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of initial public offerings.",
        "label": "Disclosure Of Initial Public Offerings [Line Items]",
        "terseLabel": "Disclosure Of Initial Public Offerings [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfInitialPublicOfferingsLineItems",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfInitialPublicOfferingsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of initial public offerings.",
        "label": "Disclosure Of Initial Public Offerings [Table]",
        "terseLabel": "Disclosure Of Initial Public Offerings [Table]"
       }
      }
     },
     "localname": "DisclosureOfInitialPublicOfferingsTable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfInventoryProvisionMovementExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of inventory provision movement.",
        "label": "Disclosure Of Inventory Provision Movement Explanatory",
        "terseLabel": "Schedule of Inventory Provision Movement"
       }
      }
     },
     "localname": "DisclosureOfInventoryProvisionMovementExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfLeaseLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of lease line items.",
        "label": "Disclosure Of Lease [Line Items]",
        "terseLabel": "Disclosure Of Lease [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfLeaseLineItems",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfLeaseTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of lease.",
        "label": "Disclosure Of Lease [Table]",
        "terseLabel": "Disclosure Of Lease [Table]"
       }
      }
     },
     "localname": "DisclosureOfLeaseTable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfMaturityAnalysisForFinancialLiabilitiesOnContractualDiscountedCashflowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of maturity analysis for financial liabilities on contractual discounted cashflows.",
        "label": "Disclosure Of Maturity Analysis For Financial Liabilities On Contractual Discounted Cashflows [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfMaturityAnalysisForFinancialLiabilitiesOnContractualDiscountedCashflowsAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfMaturityAnalysisForFinancialLiabilitiesOnContractualDiscountedCashflowsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of maturity analysis for financial liabilities on contractual discounted cashflows.",
        "label": "Disclosure Of Maturity Analysis For Financial Liabilities On Contractual Discounted Cashflows [Line Items]",
        "terseLabel": "Disclosure Of Maturity Analysis For Financial Liabilities On Contractual Discounted Cashflows [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfMaturityAnalysisForFinancialLiabilitiesOnContractualDiscountedCashflowsLineItems",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfMaturityAnalysisForFinancialLiabilitiesOnContractualDiscountedCashflowsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of maturity analysis for financial liabilities on contractual discounted cashflows.",
        "label": "Disclosure Of Maturity Analysis For Financial Liabilities On Contractual Discounted Cashflows [Table]",
        "terseLabel": "Disclosure Of Maturity Analysis For Financial Liabilities On Contractual Discounted Cashflows [Table]"
       }
      }
     },
     "localname": "DisclosureOfMaturityAnalysisForFinancialLiabilitiesOnContractualDiscountedCashflowsTable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfMovementInDefinedBenefitObligationExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of movement in defined benefit obligation.",
        "label": "Disclosure Of Movement In Defined Benefit Obligation Explanatory",
        "terseLabel": "Summary of Movement in Defined Benefit Obligation"
       }
      }
     },
     "localname": "DisclosureOfMovementInDefinedBenefitObligationExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfMovementInDefinedBenefitPlanAssetsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of movement in defined benefit plan assets.",
        "label": "Disclosure Of Movement In Defined Benefit Plan Assets Explanatory",
        "terseLabel": "Summary of Movement in Defined Benefit Plans Assets"
       }
      }
     },
     "localname": "DisclosureOfMovementInDefinedBenefitPlanAssetsExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfNonCurrentLiabilitiesOtherExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of other non-current liabilities, other, explanatory.",
        "label": "Disclosure Of Non Current Liabilities Other Explanatory",
        "terseLabel": "Other Non-Current Liabilities"
       }
      }
     },
     "localname": "DisclosureOfNonCurrentLiabilitiesOtherExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfOperatingExpenseExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of operating expense explanatory.",
        "label": "Disclosure Of Operating Expense Explanatory",
        "terseLabel": "Operating Expense"
       }
      }
     },
     "localname": "DisclosureOfOperatingExpenseExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpense"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfQuantitativeInformationAboutLeaseLiabilitiesExplanatoryTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of quantitative information about lease liabilities explanatory.",
        "label": "Disclosure Of Quantitative Information About Lease Liabilities Explanatory Table [Text Block]",
        "terseLabel": "Schedule of Movements in Lease Liabilities"
       }
      }
     },
     "localname": "DisclosureOfQuantitativeInformationAboutLeaseLiabilitiesExplanatoryTableTextBlock",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of reconciliation of expected tax expense to tax expense report in statement of loss.",
        "label": "Disclosure Of Reconciliation Of Expected Tax Expense To Tax Expense Report In Statement Of Loss Explanatory",
        "terseLabel": "Reconciliation of Expected Tax Expense to Tax Expense Report in Statement of Loss"
       }
      }
     },
     "localname": "DisclosureOfReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfScheduleOfCashAndCashEquivalentsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of schedule of cash and cash equivalents explanatory.",
        "label": "Disclosure Of Schedule Of Cash And Cash Equivalents Explanatory",
        "terseLabel": "Schedule of Cash and Cash Equivalents"
       }
      }
     },
     "localname": "DisclosureOfScheduleOfCashAndCashEquivalentsExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCashAndCashEquivalentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfTermDepositsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of term deposits.",
        "label": "Disclosure Of Term Deposits [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfTermDepositsAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_DisclosureOfTermDepositsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of term deposits.",
        "label": "Disclosure Of Term Deposits Explanatory",
        "terseLabel": "Term Deposits"
       }
      }
     },
     "localname": "DisclosureOfTermDepositsExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDeposits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfTriplePointSuccessFeeExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of TriplePoint success fee explanatory.",
        "label": "Disclosure Of Triple Point Success Fee Explanatory",
        "terseLabel": "TriplePoint Success Fee"
       }
      }
     },
     "localname": "DisclosureOfTriplePointSuccessFeeExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFee"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_DisclosureOfUnrecognizedDeferredTaxAssetsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of unrecognized deferred tax assets.",
        "label": "Disclosure Of Unrecognized Deferred Tax Assets Explanatory",
        "terseLabel": "Summary of Unrecognized Deferred Tax Assets"
       }
      }
     },
     "localname": "DisclosureOfUnrecognizedDeferredTaxAssetsExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_EmployeeRelatedPayables": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee related payables.",
        "label": "Employee Related Payables",
        "terseLabel": "Employee related payables"
       }
      }
     },
     "localname": "EmployeeRelatedPayables",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_EquityValueMinusTenPercentage": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity value minus ten percentage.",
        "label": "Equity Value Minus Ten Percentage",
        "terseLabel": "Equity value of the Company -10%"
       }
      }
     },
     "localname": "EquityValueMinusTenPercentage",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_EquityValuePlusTenPercentage": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity value plus ten percentage.",
        "label": "Equity Value Plus Ten Percentage",
        "terseLabel": "Equity value of the Company +10%"
       }
      }
     },
     "localname": "EquityValuePlusTenPercentage",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_EventsAfterReportingPeriodMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Events after reporting period.",
        "label": "Events After Reporting Period [Member]",
        "terseLabel": "Events After Reporting Period"
       }
      }
     },
     "localname": "EventsAfterReportingPeriodMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ExpectedLeaseCommitments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected lease commitments.",
        "label": "Expected Lease Commitments",
        "terseLabel": "Expected lease commitments"
       }
      }
     },
     "localname": "ExpectedLeaseCommitments",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ExpectedTimeOfIPOOrSale3MonthsLater": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected time of IPO or sale 3 months later.",
        "label": "Expected Time Of I P O Or Sale3 Months Later",
        "terseLabel": "Expected time of the IPO or sale 3 months later"
       }
      }
     },
     "localname": "ExpectedTimeOfIPOOrSale3MonthsLater",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ExpectedTimeOfIPOOrSaleThreeMonthsEarlier": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected time of the IPO or sale 3 months earlier.",
        "label": "Expected Time Of I P O Or Sale Three Months Earlier",
        "terseLabel": "Expected time of the IPO or sale 3 months earlier"
       }
      }
     },
     "localname": "ExpectedTimeOfIPOOrSaleThreeMonthsEarlier",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ExpectedTimeOfSaleOrInitialPublicOfferingPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected time of sale or initial public offering period.",
        "label": "Expected Time Of Sale Or Initial Public Offering Period",
        "terseLabel": "Expected time of sale or IPO Period"
       }
      }
     },
     "localname": "ExpectedTimeOfSaleOrInitialPublicOfferingPeriod",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_ExtraMandatoryPartEquivalentToDiscountRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Extra mandatory part equivalent to discount rate.",
        "label": "Extra Mandatory Part Equivalent To Discount Rate",
        "terseLabel": "Extra mandatory part equivalent to discount rate"
       }
      }
     },
     "localname": "ExtraMandatoryPartEquivalentToDiscountRate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_FinanceExpenseNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance expense, net.",
        "label": "Finance Expense Net [Abstract]",
        "terseLabel": "Finance Expense, Net [Abstract]"
       }
      }
     },
     "localname": "FinanceExpenseNetAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_ForeignExchangeSpotRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign exchange, spot rate.",
        "label": "Foreign Exchange Spot Rate",
        "terseLabel": "Spot rate"
       }
      }
     },
     "localname": "ForeignExchangeSpotRate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfSignificantExchangeRatesDetail"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_FrenchPensionPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "French pension plan.",
        "label": "French Pension Plan [Member]",
        "terseLabel": "French Pension Plan"
       }
      }
     },
     "localname": "FrenchPensionPlanMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_FunctionalCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Functional currency.",
        "label": "Functional Currency [Member]",
        "terseLabel": "Functional Currency"
       }
      }
     },
     "localname": "FunctionalCurrencyMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_FutureLeasePaymentsUnderShortTermLeasesNotRecognized": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Future lease payments under short-term leases not recognized.",
        "label": "Future Lease Payments Under Short Term Leases Not Recognized",
        "terseLabel": "Future lease payments under short-term leases not recognized"
       }
      }
     },
     "localname": "FutureLeasePaymentsUnderShortTermLeasesNotRecognized",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_GainLossOnFinanceIncomeExpenses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain (loss) on finance income expenses.",
        "label": "Gain Loss On Finance Income Expenses",
        "terseLabel": "Gain (loss) on finance income (expenses)"
       }
      }
     },
     "localname": "GainLossOnFinanceIncomeExpenses",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_GeneralAndAdministrativeCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "General and administrative costs.",
        "label": "General And Administrative Costs [Member]",
        "terseLabel": "General and Administrative Costs"
       }
      }
     },
     "localname": "GeneralAndAdministrativeCostsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_GenerationIMSustainableFundIIILPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generation IM Sustainable Fund III, L.P.",
        "label": "Generation I M Sustainable Fund I I I L P [Member]",
        "terseLabel": "Generation IM Sustainable Fund III, L.P"
       }
      }
     },
     "localname": "GenerationIMSustainableFundIIILPMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_GreenshoeOfferingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Greenshoe offering.",
        "label": "Greenshoe Offering [Member]",
        "terseLabel": "Greenshoe Offering"
       }
      }
     },
     "localname": "GreenshoeOfferingMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_GrossLoanCommitmentsFaceValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross loan commitments face value.",
        "label": "Gross Loan Commitments Face Value",
        "verboseLabel": "COVID loan"
       }
      }
     },
     "localname": "GrossLoanCommitmentsFaceValue",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_GrossProceedsFromIssuanceOfShares": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross proceeds from issuance of gross shares.",
        "label": "Gross Proceeds From Issuance Of Shares",
        "terseLabel": "Gross proceeds from issuance"
       }
      }
     },
     "localname": "GrossProceedsFromIssuanceOfShares",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_GrossProceedsFromIssueOfPreferenceShares": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross proceeds from issue of preference shares.",
        "label": "Gross Proceeds From Issue Of Preference Shares",
        "terseLabel": "Gross proceeds from issuance"
       }
      }
     },
     "localname": "GrossProceedsFromIssueOfPreferenceShares",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_IncomeTaxExaminationYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax examination year.",
        "label": "Income Tax Examination Year",
        "terseLabel": "Income tax examination year"
       }
      }
     },
     "localname": "IncomeTaxExaminationYear",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "soph_IncomeTaxYear2018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax year 2018.",
        "label": "Income Tax Year2018 [Member]",
        "terseLabel": "Income Tax Year 2018"
       }
      }
     },
     "localname": "IncomeTaxYear2018Member",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_IncomeTaxYear2019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax year 2019.",
        "label": "Income Tax Year2019 [Member]",
        "terseLabel": "Income Tax Year 2019"
       }
      }
     },
     "localname": "IncomeTaxYear2019Member",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_InitialPublicOfferingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Initial public offering.",
        "label": "Initial Public Offering [Member]",
        "terseLabel": "Initial Public Offering"
       }
      }
     },
     "localname": "InitialPublicOfferingMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_InitialPublicOfferingsExplanatoryTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Initial public offerings explanatory.",
        "label": "Initial Public Offerings Explanatory [Text Block]",
        "terseLabel": "Initial Public Offerings"
       }
      }
     },
     "localname": "InitialPublicOfferingsExplanatoryTextBlock",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_InteractiveBiosoftwareSASMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interactive Biosoftware S.A.S.",
        "label": "Interactive Biosoftware S A S [Member]",
        "terseLabel": "Interactive Biosoftware S.A.S."
       }
      }
     },
     "localname": "InteractiveBiosoftwareSASMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_InterestAccrued": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest accrued.",
        "label": "Interest Accrued",
        "terseLabel": "Interest accrued"
       }
      }
     },
     "localname": "InterestAccrued",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsSummaryOfBorrowingsActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_InventoryCurrencyTranslationAdjustment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory currency translation adjustment.",
        "label": "Inventory Currency Translation Adjustment",
        "terseLabel": "Currency Translation Adjustment"
       }
      }
     },
     "localname": "InventoryCurrencyTranslationAdjustment",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryProvisionMovementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_InventoryIncreaseDecreaseInProvision": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory increase (decrease) in provision.",
        "label": "Inventory Increase Decrease In Provision",
        "terseLabel": "Increase in provision"
       }
      }
     },
     "localname": "InventoryIncreaseDecreaseInProvision",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryProvisionMovementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_LPPInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LPP interest rate.",
        "label": "L P P Interest Rate",
        "terseLabel": "LPP interest rate"
       }
      }
     },
     "localname": "LPPInterestRate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_LeaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease.",
        "label": "Lease [Abstract]"
       }
      }
     },
     "localname": "LeaseAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_LeaseExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease expenses.",
        "label": "Lease Expenses",
        "terseLabel": "Lease expenses"
       }
      }
     },
     "localname": "LeaseExpenses",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_LeaseIncentivesAndExpectedRestorationCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease incentives and expected restoration costs.",
        "label": "Lease Incentives And Expected Restoration Costs",
        "terseLabel": "Lease incentives and expected restoration costs"
       }
      }
     },
     "localname": "LeaseIncentivesAndExpectedRestorationCosts",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_LeaseLiabilitiesCurrencyTranslationEffects": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease liabilities currency translation effects.",
        "label": "Lease Liabilities Currency Translation Effects",
        "verboseLabel": "Lease liabilities, Currency translation effects"
       }
      }
     },
     "localname": "LeaseLiabilitiesCurrencyTranslationEffects",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_LeaseLiabilitiesDiscountedPaymentsRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease liabilities discounted payments rate.",
        "label": "Lease Liabilities Discounted Payments Rate",
        "terseLabel": "Lease liabilities discounted payments rate"
       }
      }
     },
     "localname": "LeaseLiabilitiesDiscountedPaymentsRate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_LeaseReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_TradeAndOtherCurrentReceivables",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease receivable.",
        "label": "Lease Receivable",
        "terseLabel": "Lease receivable"
       }
      }
     },
     "localname": "LeaseReceivable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfAccountsReceivableAndLeaseReceivableLessExpectedCreditLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_LeaseTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease term.",
        "label": "Lease Term",
        "terseLabel": "Lease term"
       }
      }
     },
     "localname": "LeaseTerm",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_LeaseTermsForOfficeBuildings": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease terms for office buildings.",
        "label": "Lease Terms For Office Buildings",
        "terseLabel": "Lease terms for office buildings"
       }
      }
     },
     "localname": "LeaseTermsForOfficeBuildings",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_LicensesExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10140.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Licenses expenses.",
        "label": "Licenses Expenses",
        "negatedLabel": "Licenses"
       }
      }
     },
     "localname": "LicensesExpenses",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_LongTermLeaseReceivables": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-term lease receivables.",
        "label": "Long Term Lease Receivables",
        "terseLabel": "Long-term lease receivables"
       }
      }
     },
     "localname": "LongTermLeaseReceivables",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_MachineryAndEquipmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Machinery and equipment's.",
        "label": "Machinery And Equipments [Member]",
        "terseLabel": "Machinery and Equipment"
       }
      }
     },
     "localname": "MachineryAndEquipmentsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_MarketingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10130.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Marketing expenses.",
        "label": "Marketing Expenses",
        "negatedLabel": "Marketing"
       }
      }
     },
     "localname": "MarketingExpenses",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NetLeaseReceivables": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net lease receivables.",
        "label": "Net Lease Receivables",
        "terseLabel": "Net lease receivables"
       }
      }
     },
     "localname": "NetLeaseReceivables",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NetOperatingLossCarryforwards": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net operating loss carryforwards.",
        "label": "Net Operating Loss Carryforwards",
        "totalLabel": "Net operating loss carryforwards"
       }
      }
     },
     "localname": "NetOperatingLossCarryforwards",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NetOperatingLossCarryforwardsThereafterAndUnlimited": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails": {
       "order": 10050.0,
       "parentTag": "soph_NetOperatingLossCarryforwards",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net operating loss carryforwards thereafter and unlimited.",
        "label": "Net Operating Loss Carryforwards Thereafter And Unlimited",
        "terseLabel": "Thereafter and unlimited"
       }
      }
     },
     "localname": "NetOperatingLossCarryforwardsThereafterAndUnlimited",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NetOperatingLossCarryforwardsYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails": {
       "order": 10040.0,
       "parentTag": "soph_NetOperatingLossCarryforwards",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net operating loss carryforwards year four.",
        "label": "Net Operating Loss Carryforwards Year Four",
        "terseLabel": "Four years"
       }
      }
     },
     "localname": "NetOperatingLossCarryforwardsYearFour",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NetOperatingLossCarryforwardsYearOne": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails": {
       "order": 10010.0,
       "parentTag": "soph_NetOperatingLossCarryforwards",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net operating loss carryforwards year one.",
        "label": "Net Operating Loss Carryforwards Year One",
        "terseLabel": "One year"
       }
      }
     },
     "localname": "NetOperatingLossCarryforwardsYearOne",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NetOperatingLossCarryforwardsYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails": {
       "order": 10030.0,
       "parentTag": "soph_NetOperatingLossCarryforwards",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net operating loss carryforwards year three.",
        "label": "Net Operating Loss Carryforwards Year Three",
        "terseLabel": "Three years"
       }
      }
     },
     "localname": "NetOperatingLossCarryforwardsYearThree",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NetOperatingLossCarryforwardsYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails": {
       "order": 10020.0,
       "parentTag": "soph_NetOperatingLossCarryforwards",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net operating loss carryforwards year two.",
        "label": "Net Operating Loss Carryforwards Year Two",
        "terseLabel": "Two years"
       }
      }
     },
     "localname": "NetOperatingLossCarryforwardsYearTwo",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfNetOperatingLossCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NetProceedsFromIssueOfOrdinaryShares": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net proceeds from issue of ordinary shares.",
        "label": "Net Proceeds From Issue Of Ordinary Shares",
        "terseLabel": "Net proceeds from issuance"
       }
      }
     },
     "localname": "NetProceedsFromIssueOfOrdinaryShares",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NonCurrentDeferredGovernmentGrantIncome": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_OtherNoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-current deferred government grant income.",
        "label": "Non Current Deferred Government Grant Income",
        "terseLabel": "Deferred government grant income"
       }
      }
     },
     "localname": "NonCurrentDeferredGovernmentGrantIncome",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NonCurrentLeaseRestorationCosts": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails": {
       "order": 10020.0,
       "parentTag": "ifrs-full_OtherNoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-current lease restoration costs.",
        "label": "Non Current Lease Restoration Costs",
        "terseLabel": "Lease restoration costs"
       }
      }
     },
     "localname": "NonCurrentLeaseRestorationCosts",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesScheduleOfOtherNonCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_NumberOfActiveMembers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of active members.",
        "label": "Number Of Active Members",
        "terseLabel": "Number of active members"
       }
      }
     },
     "localname": "NumberOfActiveMembers",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "soph_NumberOfAdditionalSharesIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of additional shares issued.",
        "label": "Number Of Additional Shares Issued",
        "terseLabel": "Number of additional shares issued"
       }
      }
     },
     "localname": "NumberOfAdditionalSharesIssued",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "soph_NumberOfInstrumentsOtherEquityInstrumentsGrantedSubjectToVestingUponAnnualGeneralMeeting": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of instruments other equity instruments granted subject to vesting upon annual general meeting.",
        "label": "Number Of Instruments Other Equity Instruments Granted Subject To Vesting Upon Annual General Meeting",
        "terseLabel": "Number of instruments granted subject to vesting upon annual general meeting"
       }
      }
     },
     "localname": "NumberOfInstrumentsOtherEquityInstrumentsGrantedSubjectToVestingUponAnnualGeneralMeeting",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "soph_NumberOfOperatingSegment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of operating segment.",
        "label": "Number Of Operating Segment",
        "terseLabel": "Operating segment"
       }
      }
     },
     "localname": "NumberOfOperatingSegment",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "soph_NumberOfShareOptionPlans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share option plans.",
        "label": "Number Of Share Option Plans",
        "terseLabel": "Number of share option plans"
       }
      }
     },
     "localname": "NumberOfShareOptionPlans",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "soph_NumberOfSignificantLeases": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of significant leases.",
        "label": "Number Of Significant Leases",
        "terseLabel": "Number of significant leases"
       }
      }
     },
     "localname": "NumberOfSignificantLeases",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "soph_OfficeSpaceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Office space.",
        "label": "Office Space [Member]",
        "terseLabel": "Office Space"
       }
      }
     },
     "localname": "OfficeSpaceMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_OperatingProfitLoss": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss": {
       "order": 10040.0,
       "parentTag": "ifrs-full_ProfitLossBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating profit (loss).",
        "label": "Operating Profit Loss",
        "totalLabel": "Operating loss"
       }
      }
     },
     "localname": "OperatingProfitLoss",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_OtherCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other country.",
        "label": "Other Country [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherCountryMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfRevenueByCustomerLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_OtherFinancialNonCurrentAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other financial non-current assets.",
        "label": "Other Financial Non Current Assets [Member]",
        "terseLabel": "Other Financial Non-current Assets"
       }
      }
     },
     "localname": "OtherFinancialNonCurrentAssetsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_OtherFinancialNonCurrentLiabilitiesUndiscountedCashFlows": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail": {
       "order": 10050.0,
       "parentTag": "soph_ContractualLiabilitiesUndiscountedCashflows",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other financial non-current liabilities undiscounted cash flows.",
        "label": "Other Financial Non Current Liabilities Undiscounted Cash Flows",
        "terseLabel": "Other financial non-current liabilities"
       }
      }
     },
     "localname": "OtherFinancialNonCurrentLiabilitiesUndiscountedCashFlows",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSummaryOfMaturityProfileOfFinancialLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_OtherOperatingIncomeExpenseNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other operating income (expense), net.",
        "label": "Other Operating Income Expense Net [Abstract]"
       }
      }
     },
     "localname": "OtherOperatingIncomeExpenseNetAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_PaymentOfTriplePointSuccessFee": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10090.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment of TriplePoint success fee.",
        "label": "Payment Of Triple Point Success Fee",
        "negatedLabel": "Payment of TriplePoint success fee"
       }
      }
     },
     "localname": "PaymentOfTriplePointSuccessFee",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_PensionRemeasurementCurrencyTranslationDifferences": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pension remeasurement currency translation differences.",
        "label": "Pension Remeasurement Currency Translation Differences",
        "negatedLabel": "Currency translation differences"
       }
      }
     },
     "localname": "PensionRemeasurementCurrencyTranslationDifferences",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionRemeasurementRecognizedInStatementOtherComprehensiveLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_PercentageOfCapitalAndInterestGuarantee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of capital and interest guarantee.",
        "label": "Percentage Of Capital And Interest Guarantee",
        "terseLabel": "Percentage of capital and interest guarantee"
       }
      }
     },
     "localname": "PercentageOfCapitalAndInterestGuarantee",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PercentageOfCommittedLoanFacility": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of committed loan facility.",
        "label": "Percentage Of Committed Loan Facility",
        "terseLabel": "Percentage of committed loan facility"
       }
      }
     },
     "localname": "PercentageOfCommittedLoanFacility",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PercentageOfCustomerBalanceAccountReceivable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of customer balance account receivable.",
        "label": "Percentage Of Customer Balance Account Receivable",
        "terseLabel": "Percentage of customer balance account receivable"
       }
      }
     },
     "localname": "PercentageOfCustomerBalanceAccountReceivable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PercentageOfCustomerBalanceAccountReceivableIndividuallyExceeded": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of customer balance account receivable individually exceeded.",
        "label": "Percentage Of Customer Balance Account Receivable Individually Exceeded",
        "terseLabel": "Percentage of customer balance account receivable individually exceeded"
       }
      }
     },
     "localname": "PercentageOfCustomerBalanceAccountReceivableIndividuallyExceeded",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsReceivableAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PercentageOfDebtInstrumentRepaid": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of debt instrument repaid.",
        "label": "Percentage Of Debt Instrument Repaid",
        "terseLabel": "Percentage of promissory notes paid"
       }
      }
     },
     "localname": "PercentageOfDebtInstrumentRepaid",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PercentageOfExpectedTimeOfSaleOrInitialPublicOffering": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of expected time of sale or initial public offering.",
        "label": "Percentage Of Expected Time Of Sale Or Initial Public Offering",
        "terseLabel": "Expected time of the sale or IPO"
       }
      }
     },
     "localname": "PercentageOfExpectedTimeOfSaleOrInitialPublicOffering",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PercentageOfForeignExchangeRates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of foreign exchange rates.",
        "label": "Percentage Of Foreign Exchange Rates",
        "terseLabel": "Percentage of foreign exchange rates"
       }
      }
     },
     "localname": "PercentageOfForeignExchangeRates",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PercentageOfStateGuaranteeFee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of state guarantee fee.",
        "label": "Percentage Of State Guarantee Fee",
        "terseLabel": "State guarantee fee"
       }
      }
     },
     "localname": "PercentageOfStateGuaranteeFee",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PercentageOfVolatility": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of volatility.",
        "label": "Percentage Of Volatility",
        "terseLabel": "Volatility"
       }
      }
     },
     "localname": "PercentageOfVolatility",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_PlainEnglishGrowthCapitalLoanAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plain English growth capital loan agreement.",
        "label": "Plain English Growth Capital Loan Agreement [Member]",
        "terseLabel": "Plain English Growth Capital Promissory Note"
       }
      }
     },
     "localname": "PlainEnglishGrowthCapitalLoanAgreementMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_PreferredFSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred F shares.",
        "label": "Preferred F Shares [Member]",
        "terseLabel": "Preferred F Shares"
       }
      }
     },
     "localname": "PreferredFSharesMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_PreferredStockConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred stock conversion ratio.",
        "label": "Preferred Stock Conversion Ratio",
        "terseLabel": "Preferred stock conversion ratio"
       }
      }
     },
     "localname": "PreferredStockConversionRatio",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_PreferredStockSharesIssuedUponConversionIntoOrdinaryShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred stock shares issued upon conversion into ordinary shares.",
        "label": "Preferred Stock Shares Issued Upon Conversion Into Ordinary Shares",
        "terseLabel": "Preferred shares were converted into ordinary shares"
       }
      }
     },
     "localname": "PreferredStockSharesIssuedUponConversionIntoOrdinaryShares",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "soph_PrepaidsAndOtherCurrentAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepaids and other current assets.",
        "label": "Prepaids And Other Current Assets [Abstract]"
       }
      }
     },
     "localname": "PrepaidsAndOtherCurrentAssetsAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_PresentationCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Presentation currency.",
        "label": "Presentation Currency [Member]",
        "terseLabel": "Presentation Currency"
       }
      }
     },
     "localname": "PresentationCurrencyMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_PrimeInterestRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prime interest rate.",
        "label": "Prime Interest Rate [Member]",
        "terseLabel": "Prime Rate"
       }
      }
     },
     "localname": "PrimeInterestRateMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_PrivatePlacementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Private placements.",
        "label": "Private Placements [Member]",
        "terseLabel": "Private Placement"
       }
      }
     },
     "localname": "PrivatePlacementsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ProceedsFromGreenshoeNetOfTransactionCosts": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10070.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from greenshoe, net of transaction costs.",
        "label": "Proceeds From Greenshoe Net Of Transaction Costs",
        "terseLabel": "Proceeds from greenshoe, net of transaction costs"
       }
      }
     },
     "localname": "ProceedsFromGreenshoeNetOfTransactionCosts",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ProceedsFromInitialPublicOfferingNetOfTransactionCosts": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10060.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from initial public offering, net of transaction costs.",
        "label": "Proceeds From Initial Public Offering Net Of Transaction Costs",
        "terseLabel": "Proceeds from initial public offering, net of transaction costs"
       }
      }
     },
     "localname": "ProceedsFromInitialPublicOfferingNetOfTransactionCosts",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ProceedsFromPrivatePlacementNetOfTransactionCosts": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10080.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from private placement, net of transaction costs.",
        "label": "Proceeds From Private Placement Net Of Transaction Costs",
        "terseLabel": "Proceeds from private placement, net of transaction costs"
       }
      }
     },
     "localname": "ProceedsFromPrivatePlacementNetOfTransactionCosts",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_PropertyAndEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property and equipment.",
        "label": "Property And Equipment [Member]",
        "terseLabel": "Property and Equipment"
       }
      }
     },
     "localname": "PropertyAndEquipmentMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ProvisionOfInventory": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_Inventories",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision of inventory.",
        "label": "Provision Of Inventory",
        "negatedLabel": "Provision",
        "negatedPeriodEndLabel": "As of December 31,",
        "negatedPeriodStartLabel": "As of January 1,"
       }
      }
     },
     "localname": "ProvisionOfInventory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInventoryScheduleOfInventoryProvisionMovementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_PurchaseOfTermDepositsAndShortTermInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows": {
       "order": 10170.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase of term deposits and short-term investments.",
        "label": "Purchase Of Term Deposits And Short Term Investments",
        "negatedLabel": "Purchase of term deposits and short-term investments"
       }
      }
     },
     "localname": "PurchaseOfTermDepositsAndShortTermInvestments",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_PurchasedSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchased software.",
        "label": "Purchased Software [Member]",
        "terseLabel": "Purchased Software"
       }
      }
     },
     "localname": "PurchasedSoftwareMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsIntangibleAssetsNetMovementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ReductionOfSuccessFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reduction of success fee.",
        "label": "Reduction Of Success Fee",
        "terseLabel": "Reduction of success fee"
       }
      }
     },
     "localname": "ReductionOfSuccessFee",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_RelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties participated in sale of Series F preferred shares.",
        "label": "Related Parties Participated In Sale Of Series F Preferred Shares Explanatory",
        "terseLabel": "Summary of Related Parties Participated in Sale of Series F Preferred Shares"
       }
      }
     },
     "localname": "RelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesExplanatory",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_RelatedPartiesShareholderMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties, shareholder.",
        "label": "Related Parties Shareholder [Member]",
        "terseLabel": "Related Parties, Shareholder"
       }
      }
     },
     "localname": "RelatedPartiesShareholderMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesSummaryOfRelatedPartiesParticipatedInSaleOfSeriesFPreferredSharesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ResearchAndDevelopmentAndInnovationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Research and development and innovation.",
        "label": "Research And Development And Innovation [Member]",
        "terseLabel": "Research and Development and Innovation"
       }
      }
     },
     "localname": "ResearchAndDevelopmentAndInnovationMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ResearchAndDevelopmentCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Research and development costs.",
        "label": "Research And Development Costs [Member]",
        "terseLabel": "Research and Development Costs"
       }
      }
     },
     "localname": "ResearchAndDevelopmentCostsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ResearchTaxCredit": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails": {
       "order": 10060.0,
       "parentTag": "ifrs-full_OperatingExpense",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Research tax credit.",
        "label": "Research Tax Credit",
        "terseLabel": "Research tax credit"
       }
      }
     },
     "localname": "ResearchTaxCredit",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfOperatingExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_RestrictedStockUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Restricted stock units.",
        "label": "Restricted Stock Units [Member]",
        "terseLabel": "Restricted Stock Units"
       }
      }
     },
     "localname": "RestrictedStockUnitsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_RightOfUseAssetsCurrencyTranslationEffects": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right-of-use assets, currency translation effects.",
        "label": "Right Of Use Assets Currency Translation Effects",
        "terseLabel": "Right-of-use assets, Currency translation effects"
       }
      }
     },
     "localname": "RightOfUseAssetsCurrencyTranslationEffects",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfMovementsInRightOfUseAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_RightOfUseAssetsDiscountedPaymentsRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right-of-use assets discounted payments rate.",
        "label": "Right Of Use Assets Discounted Payments Rate",
        "terseLabel": "Right-of-use assets discounted payments rate"
       }
      }
     },
     "localname": "RightOfUseAssetsDiscountedPaymentsRate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "soph_RolleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rolle.",
        "label": "Rolle [Member]",
        "terseLabel": "Rolle"
       }
      }
     },
     "localname": "RolleMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_SOPHiAPlatformMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SOPHiA platform.",
        "label": "S O P Hi A Platform [Member]",
        "terseLabel": "SOPHiA Platform"
       }
      }
     },
     "localname": "SOPHiAPlatformMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueScheduleOfRevenueFromContractsWithCustomersAllocatedToRevenueStreamsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_ScheduleOfIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of intangible assets.",
        "label": "Schedule Of Intangible Assets [Line Items]",
        "terseLabel": "Schedule Of Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfIntangibleAssetsLineItems",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_ScheduleOfIntangibleAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of intangible assets.",
        "label": "Schedule Of Intangible Assets [Table]",
        "terseLabel": "Schedule Of Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfIntangibleAssetsTable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_SellingAndMarketingCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Selling and marketing costs.",
        "label": "Selling And Marketing Costs [Member]",
        "terseLabel": "Selling and Marketing Costs"
       }
      }
     },
     "localname": "SellingAndMarketingCostsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfDepreciationAndAmortizationHaveChargedInExpenseDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureOperatingExpenseSummaryOfEmployeeBenefitExpensesSocialChargesAndShareBasedCompensationFromOperatingExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_SensitivityOfEquityToChangesInForeignExchangeRatesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sensitivity of equity to changes in foreign exchange rates.",
        "label": "Sensitivity Of Equity To Changes In Foreign Exchange Rates Table [Text Block]",
        "terseLabel": "Sensitivity of Equity To Changes in Foreign Exchange Rates"
       }
      }
     },
     "localname": "SensitivityOfEquityToChangesInForeignExchangeRatesTableTextBlock",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_SensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sensitivity of loss before tax to changes in foreign exchange rates.",
        "label": "Sensitivity Of Loss Before Tax To Changes In Foreign Exchange Rates Table [Text Block]",
        "terseLabel": "Sensitivity of Loss Before Tax To Changes in Foreign Exchange Rates"
       }
      }
     },
     "localname": "SensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesTableTextBlock",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_ServiceCostDefinedBenefitPlans": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails": {
       "order": 10010.0,
       "parentTag": "ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Service cost defined benefit plans.",
        "label": "Service Cost Defined Benefit Plans",
        "negatedLabel": "Service Cost"
       }
      }
     },
     "localname": "ServiceCostDefinedBenefitPlans",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsScheduleOfPensionCostsRecognizedInStatementOfLossDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ShareBasedPaymentArrangementsPlanModificationIncrementalCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangements, plan modification, incremental cost.",
        "label": "Share Based Payment Arrangements Plan Modification Incremental Cost",
        "terseLabel": "Additional expense incurred"
       }
      }
     },
     "localname": "ShareBasedPaymentArrangementsPlanModificationIncrementalCost",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ShareIssuedPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share issued price per share.",
        "label": "Share Issued Price Per Share",
        "terseLabel": "Shares price per share"
       }
      }
     },
     "localname": "ShareIssuedPricePerShare",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "soph_ShareOptionPlanEffectivePeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share option plan effective period.",
        "label": "Share Option Plan Effective Period",
        "terseLabel": "Effective period of share option plan"
       }
      }
     },
     "localname": "ShareOptionPlanEffectivePeriod",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "soph_ShareOptionsOutstandingExpirationYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share options outstanding, expiration year.",
        "label": "Share Options Outstanding Expiration Year",
        "terseLabel": "Options outstanding expiration year"
       }
      }
     },
     "localname": "ShareOptionsOutstandingExpirationYear",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "soph_SophiaGeneticLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sophia Genetic Limited.",
        "label": "Sophia Genetic Limited [Member]",
        "terseLabel": "SOPHiA GENETICS LTD"
       }
      }
     },
     "localname": "SophiaGeneticLimitedMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_SophiaGeneticsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sophia Genetics Inc.",
        "label": "Sophia Genetics Inc [Member]",
        "terseLabel": "SOPHiA GENETICS, Inc."
       }
      }
     },
     "localname": "SophiaGeneticsIncMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_SophiaGeneticsIntermediacaoDeNegociosEireliMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sophia Genetics Intermediacao de Negocios Eireli.",
        "label": "Sophia Genetics Intermediacao De Negocios Eireli [Member]",
        "terseLabel": "SOPHiA GENETICS Intermedia\u00e7\u00e3o de Neg\u00f3cios EIRELI"
       }
      }
     },
     "localname": "SophiaGeneticsIntermediacaoDeNegociosEireliMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_SophiaGeneticsPtyLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sophia Genetics Pty Ltd .",
        "label": "Sophia Genetics Pty Ltd [Member]",
        "terseLabel": "SOPHiA GENETICS PTY LTD"
       }
      }
     },
     "localname": "SophiaGeneticsPtyLtdMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_SophiaGeneticsSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sophia Genetics SA.",
        "label": "Sophia Genetics S A [Member]",
        "terseLabel": "SOPHiA GENETICS SA"
       }
      }
     },
     "localname": "SophiaGeneticsSAMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_SophiaGeneticsSASMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sophia Genetics SAS.",
        "label": "Sophia Genetics S A S [Member]",
        "terseLabel": "SOPHiA GENETICS SAS",
        "verboseLabel": "SOPHiA GENETICS S.A.S."
       }
      }
     },
     "localname": "SophiaGeneticsSASMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_SophiaGeneticsSRLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sophia Genetics S.R.L.",
        "label": "Sophia Genetics S R L [Member]",
        "terseLabel": "SOPHiA GENETICS S.R.L."
       }
      }
     },
     "localname": "SophiaGeneticsSRLMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsSummaryOfWhollyOwnedSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_StockSplitConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock split, conversion ratio.",
        "label": "Stock Split Conversion Ratio",
        "terseLabel": "Share split of outstanding shares",
        "verboseLabel": "Share split ratio"
       }
      }
     },
     "localname": "StockSplitConversionRatio",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareCapitalIssuanceAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_StrikePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Strike price.",
        "label": "Strike Price",
        "terseLabel": "Strike price"
       }
      }
     },
     "localname": "StrikePrice",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "soph_SuccessFeeExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Success fee expense.",
        "label": "Success Fee Expense",
        "terseLabel": "Success fee"
       }
      }
     },
     "localname": "SuccessFeeExpense",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_SummaryOfSignificantAccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of significant accounting policies.",
        "label": "Summary Of Significant Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "SummaryOfSignificantAccountingPoliciesAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_SummaryOfWhollyOwnedSubsidiariesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of wholly-owned subsidiaries.",
        "label": "Summary Of Wholly Owned Subsidiaries Table [Text Block]",
        "terseLabel": "Summary of Wholly-Owned Subsidiaries"
       }
      }
     },
     "localname": "SummaryOfWhollyOwnedSubsidiariesTableTextBlock",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "soph_SwissPensionPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Swiss pension plan.",
        "label": "Swiss Pension Plan [Member]",
        "terseLabel": "Swiss Pension Plan"
       }
      }
     },
     "localname": "SwissPensionPlanMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TaxEffectOfIncomeAndExpenseNotSubjectToTax": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails": {
       "order": 10040.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax effect of income and expense not subject to tax.",
        "label": "Tax Effect Of Income And Expense Not Subject To Tax",
        "negatedLabel": "Income not subject to tax (expense not deductible for tax purposes)"
       }
      }
     },
     "localname": "TaxEffectOfIncomeAndExpenseNotSubjectToTax",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxReconciliationOfExpectedTaxExpenseToTaxExpenseReportInStatementOfLossDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_TemporaryDifferenceAccruedPensionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary difference accrued pension.",
        "label": "Temporary Difference Accrued Pension [Member]",
        "terseLabel": "Accrued Pension"
       }
      }
     },
     "localname": "TemporaryDifferenceAccruedPensionMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TemporaryDifferenceBadDebtReservesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary difference bad debt reserves.",
        "label": "Temporary Difference Bad Debt Reserves [Member]",
        "terseLabel": "Bad debt Reserves"
       }
      }
     },
     "localname": "TemporaryDifferenceBadDebtReservesMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TemporaryDifferenceDepreciationAndAmortizationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary difference depreciation and amortization.",
        "label": "Temporary Difference Depreciation And Amortization [Member]",
        "terseLabel": "Depreciation &amp; Amortization"
       }
      }
     },
     "localname": "TemporaryDifferenceDepreciationAndAmortizationMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TemporaryDifferenceLeaseLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary difference lease liability.",
        "label": "Temporary Difference Lease Liability [Member]",
        "terseLabel": "Lease Liability"
       }
      }
     },
     "localname": "TemporaryDifferenceLeaseLiabilityMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TemporaryDifferenceROUAssetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary difference ROU asset.",
        "label": "Temporary Difference R O U Asset [Member]",
        "terseLabel": "ROU Asset"
       }
      }
     },
     "localname": "TemporaryDifferenceROUAssetMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfMovementInDeferredTaxBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TermDeposits": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDepositsAllocationBetweenCompanySTermDepositsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term deposits.",
        "label": "Term Deposits",
        "totalLabel": "Total term deposits"
       }
      }
     },
     "localname": "TermDeposits",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTermDepositsAllocationBetweenCompanySTermDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_TermDepositsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term deposits.",
        "label": "Term Deposits [Member]",
        "terseLabel": "Term Deposits"
       }
      }
     },
     "localname": "TermDepositsMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksScheduleOfFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TransactionStrikePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction strike price.",
        "label": "Transaction Strike Price",
        "terseLabel": "Transaction strike price"
       }
      }
     },
     "localname": "TransactionStrikePrice",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "soph_TransactionsWithOwnersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transactions with owners.",
        "label": "Transactions With Owners [Abstract]",
        "terseLabel": "Transactions with owners"
       }
      }
     },
     "localname": "TransactionsWithOwnersAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_TransferToDeferredGovernmentGrantIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfer to deferred government grant income.",
        "label": "Transfer To Deferred Government Grant Income",
        "terseLabel": "Transfer to deferred government grant income"
       }
      }
     },
     "localname": "TransferToDeferredGovernmentGrantIncome",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsSummaryOfBorrowingsActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_TransfersInOutDueToJoinersLeaversDefinedBenefitPlans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfers (in) out due to (joiners) leavers defined benefit plans.",
        "label": "Transfers In Out Due To Joiners Leavers Defined Benefit Plans",
        "negatedLabel": "Transfers in (out) due to joiners (leavers)",
        "terseLabel": "Transfers (in) out due to (joiners) leavers"
       }
      }
     },
     "localname": "TransfersInOutDueToJoinersLeaversDefinedBenefitPlans",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitObligationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosurePostEmploymentBenefitsSummaryOfMovementInDefinedBenefitPlansAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_TriplePointCapitalLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TriplePoint Capital LLC.",
        "label": "Triple Point Capital L L C [Member]",
        "terseLabel": "TriplePoint Capital LLC"
       }
      }
     },
     "localname": "TriplePointCapitalLLCMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsInValuationOfDerivativeDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfLossRecognizedOnDerivativeWithTriplepointLoanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TriplePointMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TriplePoint.",
        "label": "Triple Point [Member]",
        "terseLabel": "TriplePoint"
       }
      }
     },
     "localname": "TriplePointMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TriplePointSuccessFeeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TriplePoint success fee.",
        "label": "Triple Point Success Fee [Abstract]"
       }
      }
     },
     "localname": "TriplePointSuccessFeeAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "xbrltype": "stringItemType"
    },
    "soph_TriplePointSuccessFeeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TriplePoint success fee.",
        "label": "Triple Point Success Fee [Line Items]",
        "terseLabel": "Triple Point Success Fee [Line Items]"
       }
      }
     },
     "localname": "TriplePointSuccessFeeLineItems",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_TriplePointSuccessFeeTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TriplePoint success fee.",
        "label": "Triple Point Success Fee [Table]",
        "terseLabel": "Triple Point Success Fee [Table]"
       }
      }
     },
     "localname": "TriplePointSuccessFeeTable",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_TwoThousandAndNineteenIncentiveShareOptionPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand and nineteen incentive share option plan.",
        "label": "Two Thousand And Nineteen Incentive Share Option Plan [Member]",
        "terseLabel": "2019 ISOP"
       }
      }
     },
     "localname": "TwoThousandAndNineteenIncentiveShareOptionPlanMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationWeightedAverageFairValueOfOptionsGrantedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TwoThousandAndThirteenIncentiveShareOptionPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two Thousand And Thirteen incentive share option plan.",
        "label": "Two Thousand And Thirteen Incentive Share Option Plan [Member]",
        "terseLabel": "2013 ISOP"
       }
      }
     },
     "localname": "TwoThousandAndThirteenIncentiveShareOptionPlanMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_TwoThousandAndTwentyOneEmployeeIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand and twenty one employee incentive plan.",
        "label": "Two Thousand And Twenty One Employee Incentive Plan [Member]",
        "terseLabel": "2021 EIP"
       }
      }
     },
     "localname": "TwoThousandAndTwentyOneEmployeeIncentivePlanMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfValuationInputsDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationTables",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationWeightedAverageFairValueOfOptionsGrantedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_UnderwritersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Underwriters.",
        "label": "Underwriters [Member]",
        "terseLabel": "Underwriters"
       }
      }
     },
     "localname": "UnderwritersMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureCompanyInformationAndOperationsAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureInitialPublicOfferingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_UnrecognizedDeferredTaxAssetsGross": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrecognized deferred tax assets gross.",
        "label": "Unrecognized Deferred Tax Assets Gross",
        "terseLabel": "Gross amount"
       }
      }
     },
     "localname": "UnrecognizedDeferredTaxAssetsGross",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfUnrecognizedDeferredTaxAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_UnrecognizedTaxLiabilityIncludingInterestAndPenalties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrecognized tax liability including interest and penalties.",
        "label": "Unrecognized Tax Liability Including Interest And Penalties",
        "terseLabel": "Unrecognized tax liability including interest and penalties"
       }
      }
     },
     "localname": "UnrecognizedTaxLiabilityIncludingInterestAndPenalties",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ValueAddedTaxAndSalesTaxesPayables": {
     "auth_ref": [],
     "calculation": {
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails": {
       "order": 10030.0,
       "parentTag": "ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value added tax and sales taxes payables.",
        "label": "Value Added Tax And Sales Taxes Payables",
        "terseLabel": "VAT and sales taxes"
       }
      }
     },
     "localname": "ValueAddedTaxAndSalesTaxesPayables",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureAccountsPayableSummaryOfAccountsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_ValueOfAward": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of award",
        "label": "Value Of Award",
        "terseLabel": "Value of award"
       }
      }
     },
     "localname": "ValueOfAward",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_VestingPercentageOfShareBasedPaymentArrangementOptionOnEachAnniversaryOverFourYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting percentage of share-based payment arrangement option on each anniversary over four year.",
        "label": "Vesting Percentage Of Share Based Payment Arrangement Option On Each Anniversary Over Four Year",
        "terseLabel": "Vesting percentage on each anniversary over four year"
       }
      }
     },
     "localname": "VestingPercentageOfShareBasedPaymentArrangementOptionOnEachAnniversaryOverFourYear",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_VestingPercentageOfShareBasedPaymentArrangementOptionOnFirstAnniversaryOnGrantDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting percentage of share-based payment arrangement option on first anniversary on grant date.",
        "label": "Vesting Percentage Of Share Based Payment Arrangement Option On First Anniversary On Grant Date",
        "terseLabel": "Vesting percentage on first anniversary on grant date"
       }
      }
     },
     "localname": "VestingPercentageOfShareBasedPaymentArrangementOptionOnFirstAnniversaryOnGrantDate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_VestingPercentageOfShareBasedPaymentArrangementOptionOnMonthlyBasisOverRemainingThreeYears": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting percentage of share-based payment arrangement option on monthly basis over remaining three years.",
        "label": "Vesting Percentage Of Share Based Payment Arrangement Option On Monthly Basis Over Remaining Three Years",
        "terseLabel": "Vesting percentage on monthly basis over remaining three years"
       }
      }
     },
     "localname": "VestingPercentageOfShareBasedPaymentArrangementOptionOnMonthlyBasisOverRemainingThreeYears",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_VestingPercentageOfShareBasedPaymentArrangementOptionOnSecondAnniversaryOfGrantDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting percentage of share-based payment arrangement option on second anniversary of grant date.",
        "label": "Vesting Percentage Of Share Based Payment Arrangement Option On Second Anniversary Of Grant Date",
        "terseLabel": "Vesting percentage on second anniversary of grant date"
       }
      }
     },
     "localname": "VestingPercentageOfShareBasedPaymentArrangementOptionOnSecondAnniversaryOfGrantDate",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_VestingPercentageOfShareBasedPaymentArrangementOptionOnThirdAnniversary": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting percentage of share-based payment arrangement option on third anniversary.",
        "label": "Vesting Percentage Of Share Based Payment Arrangement Option On Third Anniversary",
        "terseLabel": "Vesting percentage on third anniversary"
       }
      }
     },
     "localname": "VestingPercentageOfShareBasedPaymentArrangementOptionOnThirdAnniversary",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "soph_VolatilityMinusTenPercentage": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Volatility minus ten percentage.",
        "label": "Volatility Minus Ten Percentage",
        "terseLabel": "Volatility -10%"
       }
      }
     },
     "localname": "VolatilityMinusTenPercentage",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_VolatilityPlusTenPercentage": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Volatility plus ten percentage.",
        "label": "Volatility Plus Ten Percentage",
        "terseLabel": "Volatility +10%"
       }
      }
     },
     "localname": "VolatilityPlusTenPercentage",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureTriplepointSuccessFeeSummaryOfKeyAssumptionsOnDerivativeValuesSetOutDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "soph_WeightedAverageFairValueShareOptionsGranted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value, share options granted.",
        "label": "Weighted Average Fair Value Share Options Granted",
        "terseLabel": "Weighted average fair value of options granted"
       }
      }
     },
     "localname": "WeightedAverageFairValueShareOptionsGranted",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationWeightedAverageFairValueOfOptionsGrantedDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "soph_WeightedAverageGrantDateFairValueOfOtherEquityInstrumentsForfeitedInShareBasedPaymentArrangement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average grant date fair value of other equity instruments forfeited in share-based payment arrangement.",
        "label": "Weighted Average Grant Date Fair Value Of Other Equity Instruments Forfeited In Share Based Payment Arrangement",
        "terseLabel": "Weighted-average grant date fair value per share, Forfeited"
       }
      }
     },
     "localname": "WeightedAverageGrantDateFairValueOfOtherEquityInstrumentsForfeitedInShareBasedPaymentArrangement",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "soph_WeightedAverageGrantDateFairValueOfOtherEquityInstrumentsGrantedInShareBasedPaymentArrangement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average grant date fair value of other equity instruments granted in share-based payment arrangement.",
        "label": "Weighted Average Grant Date Fair Value Of Other Equity Instruments Granted In Share Based Payment Arrangement",
        "terseLabel": "Weighted-average grant date fair value per share, Granted"
       }
      }
     },
     "localname": "WeightedAverageGrantDateFairValueOfOtherEquityInstrumentsGrantedInShareBasedPaymentArrangement",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "soph_WeightedAverageGrantDateFairValueOfOtherEquityInstrumentsOutstandingInShareBasedPaymentArrangement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average grant date fair value of other equity instruments outstanding in share-based payment arrangement.",
        "label": "Weighted Average Grant Date Fair Value Of Other Equity Instruments Outstanding In Share Based Payment Arrangement",
        "periodEndLabel": "Weighted-average grant date fair value per share, Unvested as of December 31, 2021",
        "periodStartLabel": "Weighted-average grant date fair value per share, Unvested as of January 1, 2021"
       }
      }
     },
     "localname": "WeightedAverageGrantDateFairValueOfOtherEquityInstrumentsOutstandingInShareBasedPaymentArrangement",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfRestrictedStockUnitsActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "soph_WeightedAverageNumberOfSharesBasicAndDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average number of shares basic and diluted.",
        "label": "Weighted Average Number Of Shares Basic And Diluted",
        "terseLabel": "Weighted average number of shares in issue"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesBasicAndDiluted",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureLossPerShareComponentsOfLossForYearDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "soph_WeightedAverageRemainingContractualLifeOfExercisableShareOptions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual life of exercisable share options.",
        "label": "Weighted Average Remaining Contractual Life Of Exercisable Share Options",
        "terseLabel": "Weighted average remaining life in years, exercisable"
       }
      }
     },
     "localname": "WeightedAverageRemainingContractualLifeOfExercisableShareOptions",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_WeightedAverageRemainingContractualLifeOfGrantedShareOptions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual life of granted share options.",
        "label": "Weighted Average Remaining Contractual Life Of Granted Share Options",
        "terseLabel": "Weighted average remaining life in years, granted"
       }
      }
     },
     "localname": "WeightedAverageRemainingContractualLifeOfGrantedShareOptions",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "soph_WorkflowEquipmentAndServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Workflow equipment and services.",
        "label": "Workflow Equipment And Services [Member]",
        "terseLabel": "Workflow Equipment And Services"
       }
      }
     },
     "localname": "WorkflowEquipmentAndServicesMember",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRevenueScheduleOfRevenueFromContractsWithCustomersAllocatedToRevenueStreamsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "soph_WorkingCapitalChangesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Working capital changes.",
        "label": "Working Capital Changes [Abstract]",
        "terseLabel": "Working capital changes"
       }
      }
     },
     "localname": "WorkingCapitalChangesAbstract",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "soph_WriteOffAllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Write-off allowance account for credit losses of financial assets.",
        "label": "Write Off Allowance Account For Credit Losses Of Financial Assets",
        "terseLabel": "Write-off"
       }
      }
     },
     "localname": "WriteOffAllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "http://sophiagenetics.com/20211231",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureScheduleOfMovementInAllowanceForExpectedCreditLossesInAccountsReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "srt_ChiefExecutiveOfficerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chief Executive Officer [Member]",
        "terseLabel": "CEO"
       }
      }
     },
     "localname": "ChiefExecutiveOfficerMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureRelatedPartiesAdditionalInformationDetails",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CurrencyAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Currency [Axis]",
        "terseLabel": "Currency"
       }
      }
     },
     "localname": "CurrencyAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfEquityToChangesInForeignExchangeRatesParentheticalDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesDetail",
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsAndRisksSensitivityOfLossBeforeTaxToChangesInForeignExchangeRatesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [],
     "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://sophiagenetics.com/20211231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title Of Individual [Axis]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title Of Individual With Relationship To Entity [Domain]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://sophiagenetics.com/20211231/taxonomy/role/DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    }
   },
   "unitCount": 16
  }
 },
 "std_ref": {
  "r0": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "10",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_10_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r1": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "102",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_102&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r10": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "108",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_108&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r100": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "57",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_57_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r101": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "9",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_9&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r102": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Section": "Scope",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS19_g2-7_TI",
   "URIDate": "2021-03-24"
  },
  "r103": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "2",
   "Paragraph": "36",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=2&code=ifrs-tx-2021-en-r&anchor=para_36_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r104": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "2",
   "Paragraph": "37",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=2&code=ifrs-tx-2021-en-r&anchor=para_37&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r105": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "2",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=2&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS02_g36-39__IAS02_g36-39_TI",
   "URIDate": "2021-03-24"
  },
  "r106": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "21",
   "Paragraph": "52",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=21&code=ifrs-tx-2021-en-r&anchor=para_52_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r107": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "21",
   "Paragraph": "52",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=21&code=ifrs-tx-2021-en-r&anchor=para_52_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r108": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "21",
   "Paragraph": "57",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=21&code=ifrs-tx-2021-en-r&anchor=para_57_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r109": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "21",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=21&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS21_g51-57_TI",
   "URIDate": "2021-03-24"
  },
  "r11": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "112",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_112_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r110": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&anchor=para_17_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r111": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&anchor=para_17_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r112": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&anchor=para_17_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r113": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&anchor=para_17_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r114": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&anchor=para_17&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r115": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "18",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&anchor=para_18&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r116": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "19",
   "Subparagraph": "f",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&anchor=para_19_f&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r117": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "19",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&anchor=para_19&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r118": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "24",
   "Section": "Disclosures",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS24_g13-24_TI",
   "URIDate": "2021-03-24"
  },
  "r119": {
   "Clause": "vi",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "26",
   "Paragraph": "35",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=26&code=ifrs-tx-2021-en-r&anchor=para_35_b_vi&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r12": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "117",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_117_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r120": {
   "Clause": "viii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "26",
   "Paragraph": "35",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=26&code=ifrs-tx-2021-en-r&anchor=para_35_b_viii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r121": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2021-en-r&anchor=para_16_b_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r122": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2021-en-r&anchor=para_16_b_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r123": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2021-en-r&anchor=para_16_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r124": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2021-en-r&anchor=para_17_b_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r125": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2021-en-r&anchor=para_17_b_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r126": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2021-en-r&anchor=para_17_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r127": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "33",
   "Paragraph": "66",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=33&code=ifrs-tx-2021-en-r&anchor=para_66&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r128": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "33",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=33&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS33_g70-73A_TI",
   "URIDate": "2021-03-24"
  },
  "r129": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "126",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=36&code=ifrs-tx-2021-en-r&anchor=para_126&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r13": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "117",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_117&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r130": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "127",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=36&code=ifrs-tx-2021-en-r&anchor=para_127&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r131": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "130",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=36&code=ifrs-tx-2021-en-r&anchor=para_130_d_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r132": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "86",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=37&code=ifrs-tx-2021-en-r&anchor=para_86_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r133": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "89",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=37&code=ifrs-tx-2021-en-r&anchor=para_89&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r134": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r135": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r136": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r137": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118_e_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r138": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118_e_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r139": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118_e_iii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r14": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "136",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_136&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r140": {
   "Clause": "vii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118_e_vii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r141": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r142": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_118&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r143": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "119",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_119&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r144": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "124",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_124_a_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r145": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "124",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_124_a_iii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r146": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "124",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_124_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r147": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "126",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&anchor=para_126&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r148": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "38",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=38&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS38_g118-128_TI",
   "URIDate": "2021-03-24"
  },
  "r149": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "40",
   "Paragraph": "76",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=40&code=ifrs-tx-2021-en-r&anchor=para_76&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r15": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "138",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_138_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r150": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "40",
   "Paragraph": "79",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=40&code=ifrs-tx-2021-en-r&anchor=para_79_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r151": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "40",
   "Paragraph": "79",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=40&code=ifrs-tx-2021-en-r&anchor=para_79_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r152": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "41",
   "Paragraph": "50",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=41&code=ifrs-tx-2021-en-r&anchor=para_50&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r153": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "41",
   "Paragraph": "54",
   "Subparagraph": "f",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=41&code=ifrs-tx-2021-en-r&anchor=para_54_f&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r154": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "10",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_10&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r155": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "14",
   "Subparagraph": "f",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_14_f&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r156": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "16",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_16_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r157": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "16",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_16&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r158": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r159": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r16": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "35",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_35&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r160": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r161": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r162": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_17&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r163": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "18",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_18_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r164": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "20",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r165": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "20",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r166": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "20",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_20&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r167": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "25",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_25&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r168": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "28",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_28&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r169": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "31",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_31&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r17": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_54_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r170": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "35",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r171": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "44C",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_44C&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r172": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "45",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r173": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "50",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&anchor=para_50_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r174": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "7",
   "Section": "C Reconciliation of liabilities arising from financing activities",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2021-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_C__IAS07_IE_C_TI",
   "URIDate": "2021-03-24"
  },
  "r175": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "8",
   "Paragraph": "39",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=8&code=ifrs-tx-2021-en-r&anchor=para_39&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r176": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "24",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2021-en-r&anchor=para_24_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r177": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "24",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2021-en-r&anchor=para_24_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r178": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "32",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2021-en-r&anchor=para_32_a_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r179": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "32",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2021-en-r&anchor=para_32_a_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r18": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_54_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r180": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "12",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_12_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r181": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "12",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_12_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r182": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "19B",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_19B_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r183": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "19B",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_19B_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r184": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B10",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r185": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_i&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r186": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_ii&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r187": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_iii&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r188": {
   "Clause": "iv",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_iv&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r189": {
   "Clause": "ix",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_ix&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r19": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_54_g&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r190": {
   "Clause": "viii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B12_b_viii&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r191": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B13",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B13_a&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r192": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B13",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B13_e&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r193": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B13",
   "Subparagraph": "f",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B13_f&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r194": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B13",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B13_g&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r195": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B4",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_B4_a&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r196": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_93_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r197": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_93_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r198": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_93_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r199": {
   "Clause": "iv",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_93_e_iv&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r2": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "103",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_103&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r20": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "h",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_54_h&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r200": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_93_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r201": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_93&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r202": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "94",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_94&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r203": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "B6",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_B6&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r204": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "IE60",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_IE60&doctype=Illustrative%20Examples",
   "URIDate": "2021-03-24"
  },
  "r205": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "IE63",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2021-en-r&anchor=para_IE63&doctype=Illustrative%20Examples",
   "URIDate": "2021-03-24"
  },
  "r206": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "14",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=14&code=ifrs-tx-2021-en-r&anchor=para_33_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r207": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "105",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_105&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r208": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "113",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_113_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r209": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "114",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_114&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r21": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "i",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_54_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r210": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "115",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_115&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r211": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "116",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_116_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r212": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "116",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_116_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r213": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "116",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_116_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r214": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "119",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_119&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r215": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "120",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_120_b_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r216": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "B89",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&anchor=para_B89_b&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r217": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IFRS15_g110-129_TI",
   "URIDate": "2021-03-24"
  },
  "r218": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "15",
   "Section": "Presentation",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IFRS15_g105-109_TI",
   "URIDate": "2021-03-24"
  },
  "r219": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "47",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_47_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r22": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "l",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_54_l&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r220": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_53_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r221": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_53_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r222": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_53_g&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r223": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "h",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_53_h&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r224": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "j",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_53_j&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r225": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_53&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r226": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "58",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_58&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r227": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "90",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_90_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r228": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "94",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_94&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r229": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "97",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&anchor=para_97&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r23": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "o",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_54_o&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r230": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IFRS16_g51-60_TI",
   "URIDate": "2021-03-24"
  },
  "r231": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "16",
   "Section": "Presentation",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IFRS16_g47-50_TI",
   "URIDate": "2021-03-24"
  },
  "r232": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "44",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_44&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r233": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r234": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r235": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r236": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_iii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r237": {
   "Clause": "iv",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_iv&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r238": {
   "Clause": "vi",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_vi&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r239": {
   "Clause": "vii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_vii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r24": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "55",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_55&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r240": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r241": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r242": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r243": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "47",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_47_a_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r244": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "47",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_47_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r245": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "47",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_47_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r246": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "50",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_50&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r247": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "51",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_51_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r248": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "IG23",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_IG23&doctype=Implementation%20Guidance",
   "URIDate": "2021-03-24"
  },
  "r249": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2021-en-r&anchor=para_B64_a&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r25": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "56",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_56&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r250": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B67",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2021-en-r&anchor=para_B67_d&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r251": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "5",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2021-en-r&anchor=para_33_b_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r252": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "21C",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_21C&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r253": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "23B",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_23B_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r254": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "24G",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_24G_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r255": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "24G",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_24G&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r256": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "25",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_25&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r257": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "31",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_31&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r258": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "33",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r259": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "34",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_34&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r26": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "61",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_61_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r260": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35H",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35H_b_iii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r261": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35H",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35H&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r262": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35I",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35I&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r263": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35K",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35K_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r264": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35K",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35K&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r265": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35M",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35M_b_iii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r266": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35M",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35M&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r267": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35N",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_35N&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r268": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "36",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_36&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r269": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "39",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_39&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r27": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "61",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_61&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r270": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "42E",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_42E_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r271": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "6",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_6&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r272": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "7",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_7&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r273": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_8_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r274": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "f",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_8_f&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r275": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_8_g&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r276": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_8&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r277": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B11_d&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r278": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B11&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r279": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11D",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B11D_a&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r28": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "66",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_66&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r280": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11D",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B11D_e&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r281": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11D",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B11D&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r282": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B2",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B2_a&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r283": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B35",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B35_g&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r284": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B35",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B35&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r285": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B52",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_B52&doctype=Appendix&subtype=B",
   "URIDate": "2021-03-24"
  },
  "r286": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "IG31A",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_IG31A&doctype=Implementation%20Guidance",
   "URIDate": "2021-03-24"
  },
  "r287": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "IG40B",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&anchor=para_IG40B&doctype=Implementation%20Guidance",
   "URIDate": "2021-03-24"
  },
  "r288": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Section": "Defined terms",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&doctype=Appendix&subtype=A&dita_xref=IFRS07_APPA_TI",
   "URIDate": "2021-03-24"
  },
  "r289": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "7",
   "Section": "Scope",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IFRS07_g3-5A_TI",
   "URIDate": "2021-03-24"
  },
  "r29": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "68",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_68&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r290": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r291": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r292": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "Subparagraph": "h",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23_h&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r293": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_23&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r294": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r295": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r296": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r297": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r298": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_28&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r299": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_33_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r3": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "104",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_104&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r30": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "69",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_69&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r300": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "33",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2021-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r301": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "109",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_109&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r302": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "109A",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_109A&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r303": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "113",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_113_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r304": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "120",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_120&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r305": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "124",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_124&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r306": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "125",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_125&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r307": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "127",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_127&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r308": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "128",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_128_a_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r309": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "128",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_128_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r31": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "7",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_7&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r310": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "132",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_132_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r311": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "96",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_96_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r312": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "96",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2021-en-r&anchor=para_96_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r313": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Effective on first application of IFRS 9",
   "Number": "4",
   "Paragraph": "39L",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2021-en-b&anchor=para_39L_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r314": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "16",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b",
   "URIDate": "2021-03-24"
  },
  "r315": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "36",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_36_a&doctype=Standard&book=b",
   "URIDate": "2021-03-24"
  },
  "r316": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "37",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_37_b&doctype=Standard&book=b",
   "URIDate": "2021-03-24"
  },
  "r317": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "f",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_8_f&doctype=Standard&book=b",
   "URIDate": "2021-03-24"
  },
  "r318": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG29",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG29_a&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2021-03-24"
  },
  "r319": {
   "IssueDate": "2021-01-01",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG29",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG29&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2021-03-24"
  },
  "r32": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "70",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_70&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r320": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12"
  },
  "r321": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r322": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r323": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r324": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310"
  },
  "r325": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f"
  },
  "r326": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f"
  },
  "r327": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r328": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r329": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r33": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r330": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r34": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r35": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r36": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_78&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r37": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_79_a_iii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r38": {
   "Clause": "iv",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_79_a_iv&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r39": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_79_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r4": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_106_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r40": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_79_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r41": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_79&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r42": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81A",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_81A_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r43": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81A",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_81A_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r44": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81A",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_81A_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r45": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81B",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_81B_a_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r46": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81B",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_81B_b_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r47": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "82",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_82_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r48": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "82A",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_82A&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r49": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "85",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_85&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r5": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_106_d_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r50": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "90",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_90&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r51": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "91",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_91_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r52": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "99",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_99&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r53": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "IG6",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_IG6&doctype=Implementation%20Guidance",
   "URIDate": "2021-03-24"
  },
  "r54": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "10",
   "Paragraph": "21",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=10&code=ifrs-tx-2021-en-r&anchor=para_21&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r55": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "10",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=10&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS10_g17-22_TI",
   "URIDate": "2021-03-24"
  },
  "r56": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "79",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_79&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r57": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "80",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_80_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r58": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "80",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_80_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r59": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "80",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_80_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r6": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_106_d_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r60": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "80",
   "Subparagraph": "f",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_80_f&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r61": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "80",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_80&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r62": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "ab",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_ab&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r63": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_c_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r64": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_c_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r65": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_g_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r66": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_g_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r67": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81_g&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r68": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&anchor=para_81&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r69": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "12",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=12&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS12_g79-88_TI",
   "URIDate": "2021-03-24"
  },
  "r7": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_106_d_iii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r70": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "37",
   "Subparagraph": "g",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_37_g&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r71": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "37",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_37&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r72": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_73_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r73": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_73_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r74": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_73_e_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r75": {
   "Clause": "ii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_73_e_ii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r76": {
   "Clause": "viii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_73_e_viii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r77": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_73_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r78": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_73&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r79": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "75",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&anchor=para_75_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r8": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_106_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r80": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "16",
   "Section": "Disclosure",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2021-en-r&doctype=Standard&dita_xref=IAS16_g73-79_TI",
   "URIDate": "2021-03-24"
  },
  "r81": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "135",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_135_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r82": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "137",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_137&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r83": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "138",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_138_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r84": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "138",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_138_d&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r85": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "138",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_138_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r86": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "138",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_138&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r87": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "140",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_140_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r88": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "141",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_141_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r89": {
   "Clause": "i",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "141",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_141_c_i&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r9": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_106&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r90": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "141",
   "Subparagraph": "e",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_141_e&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r91": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "141",
   "Subparagraph": "f",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_141_f&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r92": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "144",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_144&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r93": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "145",
   "Subparagraph": "a",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_145_a&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r94": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "145",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_145&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r95": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "147",
   "Subparagraph": "b",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_147_b&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r96": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "147",
   "Subparagraph": "c",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_147_c&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r97": {
   "Clause": "iii",
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "148",
   "Subparagraph": "d",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_148_d_iii&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r98": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "5",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_5&doctype=Standard",
   "URIDate": "2021-03-24"
  },
  "r99": {
   "IssueDate": "2021-01-01",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "53",
   "URI": "http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_53&doctype=Standard",
   "URIDate": "2021-03-24"
  }
 },
 "version": "2.1"
}
