{
 "instance": {
  "lx-20221231.htm": {
   "axisCustom": 0,
   "axisStandard": 42,
   "baseTaxonomies": {
    "http://fasb.org/srt/2022": 4,
    "http://fasb.org/us-gaap/2022": 1881,
    "http://xbrl.sec.gov/dei/2022": 51
   },
   "contextCount": 464,
   "dts": {
    "calculationLink": {
     "local": [
      "lx-20221231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "lx-20221231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "lx-20221231.htm"
     ]
    },
    "labelLink": {
     "local": [
      "lx-20221231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "lx-20221231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "lx-20221231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/stpr/2022/stpr-2022.xsd"
     ]
    }
   },
   "elementCount": 1153,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 11,
    "http://xbrl.sec.gov/dei/2022": 3,
    "total": 14
   },
   "keyCustom": 168,
   "keyStandard": 485,
   "memberCustom": 86,
   "memberStandard": 70,
   "nsprefix": "lx",
   "nsuri": "http://ir.lexin.com/20221231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "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",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Organization and Principal Activities",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivities",
     "shortName": "Organization and Principal Activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentIncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101070 - Disclosure - Taxation - Current and Deferred Portions of Income Tax (Benefit)/Expense (Details)",
     "menuCat": "Details",
     "order": "100",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationCurrentAndDeferredPortionsOfIncomeTaxBenefitExpenseDetails",
     "shortName": "Taxation - Current and Deferred Portions of Income Tax (Benefit)/Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101080 - Disclosure - Taxation - Reconciliation Between Statutory Enterprise Income Tax Rate and Effective Tax Rate (Details)",
     "menuCat": "Details",
     "order": "101",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails",
     "shortName": "Taxation - Reconciliation Between Statutory Enterprise Income Tax Rate and Effective Tax Rate (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationNondeductibleExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentIncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101090 - Disclosure - Taxation - Reconciliation Between Statutory Enterprise Income Tax Rate and Effective Tax Rate (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "102",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
     "shortName": "Taxation - Reconciliation Between Statutory Enterprise Income Tax Rate and Effective Tax Rate (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_29e03a65-0fe7-4dc4-93d5-a5be4f2d4acc",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryOfIncomeTaxHolidayTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxHolidayAggregateDollarAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101100 - Disclosure - Taxation - Effect of Tax Holiday Related to Group (Details)",
     "menuCat": "Details",
     "order": "103",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureTaxationEffectOfTaxHolidayRelatedToGroupDetails",
     "shortName": "Taxation - Effect of Tax Holiday Related to Group (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryOfIncomeTaxHolidayTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxHolidayAggregateDollarAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:DeferredTaxAssetDeferredGuaranteeIncomeAndOtherAccruedExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101110 - Disclosure - Taxation - Components of Deferred Tax Assets and Deferred Tax Liabilities (Details)",
     "menuCat": "Details",
     "order": "104",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails",
     "shortName": "Taxation - Components of Deferred Tax Assets and Deferred Tax Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:DeferredTaxAssetDeferredGuaranteeIncomeAndOtherAccruedExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_529f2a50-f6ed-41a3-9d47-f35fc0d7af9f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsValuationAllowance",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101120 - Disclosure - Taxation - Movement of Valuation Allowance (Details)",
     "menuCat": "Details",
     "order": "105",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationMovementOfValuationAllowanceDetails",
     "shortName": "Taxation - Movement of Valuation Allowance (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryOfValuationAllowanceTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "lx:DeferredTaxAssetsValuationAllowanceAdditions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101130 - Disclosure - Taxation - Others (Details)",
     "menuCat": "Details",
     "order": "106",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails",
     "shortName": "Taxation - Others (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:OperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:ConvertibleDebtTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_4c8eecc6-853e-497d-82cd-6e62150a02aa",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101140 - Disclosure - Convertible Notes - Additional Information (Details)",
     "menuCat": "Details",
     "order": "107",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
     "shortName": "Convertible Notes - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:ConvertibleDebtTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_e2ae4f21-bbb3-426f-a636-29f6eccb467a",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOfDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:CommonStockTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_1db29e7d-6129-448b-8405-d64e1ef789b1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101150 - Disclosure - Ordinary Shares - Additional Information (Details)",
     "menuCat": "Details",
     "order": "108",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
     "shortName": "Ordinary Shares - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:CommonStockTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_a25e1ac1-e867-4151-aa65-421756f534e9",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:StockRepurchaseProgramAuthorizedAmount1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_f749dca5-631b-44d3-9d08-76295e63e091",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101160 - Disclosure - Net Income Per Share - Additional Information (Details)",
     "menuCat": "Details",
     "order": "109",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareAdditionalInformationDetails",
     "shortName": "Net Income Per Share - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_f749dca5-631b-44d3-9d08-76295e63e091",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Significant Accounting Policies",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPolicies",
     "shortName": "Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101170 - Disclosure - Net Income Per Share - Computation of Basic and Diluted Net Income Per Share (Details)",
     "menuCat": "Details",
     "order": "110",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
     "shortName": "Net Income Per Share - Computation of Basic and Diluted Net Income Per Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestOnConvertibleDebtNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanContributionsByEmployer",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101180 - Disclosure - Employee Benefit Plan (Details)",
     "menuCat": "Details",
     "order": "111",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlanDetails",
     "shortName": "Employee Benefit Plan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanContributionsByEmployer",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:StatutoryReservesAndRestrictedNetAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "lx:AppropriationOfNetIncomeToGeneralReserveFundRequiredPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101190 - Disclosure - Statutory Reserves and Restricted Net Assets (Details)",
     "menuCat": "Details",
     "order": "112",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssetsDetails",
     "shortName": "Statutory Reserves and Restricted Net Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:StatutoryReservesAndRestrictedNetAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "lx:AppropriationOfNetIncomeToGeneralReserveFundRequiredPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101200 - Disclosure - Share-Based Compensation - Schedule of Share-based Compensation Expenses (Details)",
     "menuCat": "Details",
     "order": "113",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
     "shortName": "Share-Based Compensation - Schedule of Share-based Compensation Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101210 - Disclosure - Share-Based Compensation - Additional Information (Details)",
     "menuCat": "Details",
     "order": "114",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
     "shortName": "Share-Based Compensation - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_529f2a50-f6ed-41a3-9d47-f35fc0d7af9f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101220 - Disclosure - Share-Based Compensation - Summary of Number of Shares Available for Issuance (Details)",
     "menuCat": "Details",
     "order": "115",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNumberOfSharesAvailableForIssuanceDetails",
     "shortName": "Share-Based Compensation - Summary of Number of Shares Available for Issuance (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_23932c2b-9380-4195-8cc6-2cd31197d795",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101230 - Disclosure - Share-Based Compensation - Schedule of Activities for Stock Options (Details)",
     "menuCat": "Details",
     "order": "116",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
     "shortName": "Share-Based Compensation - Schedule of Activities for Stock Options (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_28998d59-a862-4034-ac11-5e09bdbe24dc",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesStockOptionsExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101240 - Disclosure - Share-Based Compensation - Schedule of Activities for Stock Options (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "117",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsParentheticalDetails",
     "shortName": "Share-Based Compensation - Schedule of Activities for Stock Options (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
       "span",
       "p",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_8d80c1d1-35eb-430d-9595-b668cff13ebf",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_28998d59-a862-4034-ac11-5e09bdbe24dc",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101250 - Disclosure - Share-Based Compensation - Schedule of Estimated Fair Value of Stock Option Granted (Details)",
     "menuCat": "Details",
     "order": "118",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
     "shortName": "Share-Based Compensation - Schedule of Estimated Fair Value of Stock Option Granted (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_794f926e-51d3-46e4-a46a-04240928984c",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_323be11e-0592-4bd1-b0a4-b88abc9742fc",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101260 - Disclosure - Share-Based Compensation - Summary of Activities for Restricted Shares Units (Details)",
     "menuCat": "Details",
     "order": "119",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
     "shortName": "Share-Based Compensation - Summary of Activities for Restricted Shares Units (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_e1b3af12-8e89-453a-b2f3-13a33f6cb4d3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Financing Receivables, Net",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNet",
     "shortName": "Financing Receivables, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_bbf97efd-3a42-4832-a0f4-5e70298b4a33",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101270 - Disclosure - Share-Based Compensation - Summary of Activities for Restricted Shares Units (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "120",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails",
     "shortName": "Share-Based Compensation - Summary of Activities for Restricted Shares Units (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_bbf97efd-3a42-4832-a0f4-5e70298b4a33",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101280 - Disclosure - Commitments and Contingencies - Debt Obligations (Details)",
     "menuCat": "Details",
     "order": "121",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
     "shortName": "Commitments and Contingencies - Debt Obligations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ContractualObligationFiscalYearMaturityScheduleTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:PurchaseObligationDueInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:ConvertibleDebtTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_4c8eecc6-853e-497d-82cd-6e62150a02aa",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101290 - Disclosure - Subsequent Events - Additional Information (Details)",
     "menuCat": "Details",
     "order": "122",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
     "shortName": "Subsequent Events - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_9f0ab2ca-d6e7-48c2-b45e-c76e89c16575",
      "decimals": null,
      "lang": "en-US",
      "name": "lx:DebtInstrumentPaymentTerm",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101300 - Disclosure - Parent Company Only Condensed Financial Information - Condensed Balance Sheets (Details)",
     "menuCat": "Details",
     "order": "123",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
     "shortName": "Parent Company Only Condensed Financial Information - Condensed Balance Sheets (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_57ae3b27-2c83-4d1d-bcb2-e63dc8ff9c50",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_9b7761f3-c422-44ef-bb82-d35a0ec961ba",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101310 - Disclosure - Parent Company Only Condensed Financial Information - Condensed Balance Sheets (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "124",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
     "shortName": "Parent Company Only Condensed Financial Information - Condensed Balance Sheets (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommonStockParOrStatedValuePerShare",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_c7a2596f-e3f0-4656-87e6-18475bc236e4",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R125": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GeneralAndAdministrativeExpense",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101320 - Disclosure - Parent Company Only Condensed Financial Information - Condensed Statements of Operations and Comprehensive Income (Details)",
     "menuCat": "Details",
     "order": "125",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
     "shortName": "Parent Company Only Condensed Financial Information - Condensed Statements of Operations and Comprehensive Income (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:CondensedStatementOfComprehensiveIncomeTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_a919f156-0190-4f59-b76f-10761bdcf8bd",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:GeneralAndAdministrativeExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R126": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetCashProvidedByUsedInOperatingActivities",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101330 - Disclosure - Parent Company Only Condensed Financial Information - Condensed Statements of Cash Flows (Details)",
     "menuCat": "Details",
     "order": "126",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
     "shortName": "Parent Company Only Condensed Financial Information - Condensed Statements of Cash Flows (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedCashFlowStatementTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_a919f156-0190-4f59-b76f-10761bdcf8bd",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NetCashProvidedByUsedInOperatingActivities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Contract Assets and Receivable, Net",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNet",
     "shortName": "Contract Assets and Receivable, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:PrepaymentsAndOtherCurrentAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Prepayments and Other Current Assets",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssets",
     "shortName": "Prepayments and Other Current Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:PrepaymentsAndOtherCurrentAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Property, Equipment and Software, Net",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNet",
     "shortName": "Property, Equipment and Software, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Land Use Rights, Net",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNet",
     "shortName": "Land Use Rights, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Long-Term Investments",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestments",
     "shortName": "Long-Term Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Fair Value Measurement",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurement",
     "shortName": "Fair Value Measurement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_f7261151-086e-473c-a6bb-c8856c67567c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Funding Debts",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebts",
     "shortName": "Funding Debts",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_f7261151-086e-473c-a6bb-c8856c67567c",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - CONSOLIDATED BALANCE SHEETS",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
     "shortName": "CONSOLIDATED BALANCE SHEETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RestrictedCashCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShortTermDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Borrowings",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowings",
     "shortName": "Borrowings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShortTermDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Accruals and Other Current Liabilities",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilities",
     "shortName": "Accruals and Other Current Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Related Party Balances and Transactions",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactions",
     "shortName": "Related Party Balances and Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Taxation",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxation",
     "shortName": "Taxation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:ConvertibleDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Convertible Notes",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotes",
     "shortName": "Convertible Notes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:ConvertibleDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:CommonStockTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Ordinary Shares",
     "menuCat": "Notes",
     "order": "25",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinaryShares",
     "shortName": "Ordinary Shares",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:CommonStockTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Net Income Per Share",
     "menuCat": "Notes",
     "order": "26",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShare",
     "shortName": "Net Income Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Employee Benefit Plan",
     "menuCat": "Notes",
     "order": "27",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlan",
     "shortName": "Employee Benefit Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:StatutoryReservesAndRestrictedNetAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Statutory Reserves and Restricted Net Assets",
     "menuCat": "Notes",
     "order": "28",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssets",
     "shortName": "Statutory Reserves and Restricted Net Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:StatutoryReservesAndRestrictedNetAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Share-Based Compensation",
     "menuCat": "Notes",
     "order": "29",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensation",
     "shortName": "Share-Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForNotesAndLoansReceivableCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical",
     "shortName": "CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ContractWithCustomerAssetAccumulatedAllowanceForCreditLossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Commitments and Contingencies",
     "menuCat": "Notes",
     "order": "30",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Subsequent Events",
     "menuCat": "Notes",
     "order": "31",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Parent Company Only Condensed Financial Information",
     "menuCat": "Notes",
     "order": "32",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformation",
     "shortName": "Parent Company Only Condensed Financial Information",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Significant Accounting Policies (Policies)",
     "menuCat": "Policies",
     "order": "33",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies",
     "shortName": "Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Organization and Principal Activities (Tables)",
     "menuCat": "Tables",
     "order": "34",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesTables",
     "shortName": "Organization and Principal Activities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Significant Accounting Policies (Tables)",
     "menuCat": "Tables",
     "order": "35",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables",
     "shortName": "Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Financing Receivables, Net  (Tables)",
     "menuCat": "Tables",
     "order": "36",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables",
     "shortName": "Financing Receivables, Net  (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:ContractAssetsAndReceivablesAndGuaranteeReceivablesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Contract Assets and Receivable, Net (Tables)",
     "menuCat": "Tables",
     "order": "37",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetTables",
     "shortName": "Contract Assets and Receivable, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:ContractAssetsAndReceivablesAndGuaranteeReceivablesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "lx:PrepaymentsAndOtherCurrentAssetsTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Prepayments and Other Current Assets (Tables)",
     "menuCat": "Tables",
     "order": "38",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsTables",
     "shortName": "Prepayments and Other Current Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "lx:PrepaymentsAndOtherCurrentAssetsTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Property, Equipment and Software, Net (Tables)",
     "menuCat": "Tables",
     "order": "39",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetTables",
     "shortName": "Property, Equipment and Software, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CostOfGoodsAndServicesSold",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Land Use Rights, Net (Tables)",
     "menuCat": "Tables",
     "order": "40",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetTables",
     "shortName": "Land Use Rights, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:SummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternative",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Long-Term Investments (Tables)",
     "menuCat": "Tables",
     "order": "41",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsTables",
     "shortName": "Long-Term Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:SummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternative",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Fair Value Measurement (Tables)",
     "menuCat": "Tables",
     "order": "42",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables",
     "shortName": "Fair Value Measurement (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Funding Debts (Tables)",
     "menuCat": "Tables",
     "order": "43",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsTables",
     "shortName": "Funding Debts (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:ScheduleOfAccrualsAndOtherCurrentLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Accruals and Other Current Liabilities (Tables)",
     "menuCat": "Tables",
     "order": "44",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesTables",
     "shortName": "Accruals and Other Current Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:ScheduleOfAccrualsAndOtherCurrentLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:ScheduleOfMajorRelatedPartiesAndTheirRelationshipsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Related Party Balances and Transactions (Tables)",
     "menuCat": "Tables",
     "order": "45",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsTables",
     "shortName": "Related Party Balances and Transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "lx:ScheduleOfMajorRelatedPartiesAndTheirRelationshipsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Taxation (Tables)",
     "menuCat": "Tables",
     "order": "46",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTables",
     "shortName": "Taxation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Net Income Per Share (Tables)",
     "menuCat": "Tables",
     "order": "47",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareTables",
     "shortName": "Net Income Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Share-Based Compensation (Tables)",
     "menuCat": "Tables",
     "order": "48",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationTables",
     "shortName": "Share-Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ContractualObligationFiscalYearMaturityScheduleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Commitments and Contingencies (Tables)",
     "menuCat": "Tables",
     "order": "49",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ContractualObligationFiscalYearMaturityScheduleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:CommissionFeeRelatedParty",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "lx:CollectionServiceFeeRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Parent Company Only Condensed Financial Information (Tables)",
     "menuCat": "Tables",
     "order": "50",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationTables",
     "shortName": "Parent Company Only Condensed Financial Information (Tables)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_b8cb1324-9e54-41b5-acca-d7074071a82b",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:MinorityInterestOwnershipPercentageByParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Organization and Principal Activities - Schedule of Percentage of Ownership in Principal Subsidiaries, Consolidated VIEs and Subsidiaries of VIEs (Details)",
     "menuCat": "Details",
     "order": "51",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
     "shortName": "Organization and Principal Activities - Schedule of Percentage of Ownership in Principal Subsidiaries, Consolidated VIEs and Subsidiaries of VIEs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_b8cb1324-9e54-41b5-acca-d7074071a82b",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:MinorityInterestOwnershipPercentageByParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:CommonStockTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_1db29e7d-6129-448b-8405-d64e1ef789b1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Organization and Principal Activities - Reorganization (Details)",
     "menuCat": "Details",
     "order": "52",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails",
     "shortName": "Organization and Principal Activities - Reorganization (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_aba7dd96-99d9-4152-aabf-070f4a435794",
      "decimals": "-5",
      "lang": null,
      "name": "lx:ProceedsFromIssuanceInitialPublicOfferingGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Significant Accounting Policies - Additional Information (Details)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
     "shortName": "Significant Accounting Policies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-6",
      "lang": null,
      "name": "lx:CashCouponAndRepaymentCouponExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Significant Accounting Policies - Summary of Financial Information of the Group's VIEs (Details)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
     "shortName": "Significant Accounting Policies - Summary of Financial Information of the Group's VIEs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_057c143f-6717-467b-8ca8-84bf1e500a15",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Assets",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Significant Accounting Policies - Schedule of the Assets, Liabilities, Results of Operations and Changes in Cash and Cash Equivalents and Restricted Cash of the VIEs and their Subsidiaries (Details)",
     "menuCat": "Details",
     "order": "55",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
     "shortName": "Significant Accounting Policies - Schedule of the Assets, Liabilities, Results of Operations and Changes in Cash and Cash Equivalents and Restricted Cash of the VIEs and their Subsidiaries (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_dc38bb10-b55e-42cf-9a88-b7b14cc93c98",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CostOfRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_dc38bb10-b55e-42cf-9a88-b7b14cc93c98",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "lx:CashPaidForTechnicalServiceFees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Significant Accounting Policies - Schedule of the Assets, Liabilities, Results of Operations and Changes in Cash and Cash Equivalents and Restricted Cash of the VIEs and their Subsidiaries (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa",
     "shortName": "Significant Accounting Policies - Schedule of the Assets, Liabilities, Results of Operations and Changes in Cash and Cash Equivalents and Restricted Cash of the VIEs and their Subsidiaries (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_dc38bb10-b55e-42cf-9a88-b7b14cc93c98",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "lx:CashPaidForTechnicalServiceFees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Significant Accounting Policies - Schedule of Cumulative Effect of Changes on Consolidated Balance Sheet Due to Adoption of ASC 326 (Details)",
     "menuCat": "Details",
     "order": "57",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
     "shortName": "Significant Accounting Policies - Schedule of Cumulative Effect of Changes on Consolidated Balance Sheet Due to Adoption of ASC 326 (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "us-gaap:LoansAndLeasesReceivableAllowanceForLoanLossesPolicy",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_23932c2b-9380-4195-8cc6-2cd31197d795",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RestrictedCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "us-gaap:LoansAndLeasesReceivableAllowanceForLoanLossesPolicy",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_23932c2b-9380-4195-8cc6-2cd31197d795",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GuaranteeObligationsCurrentCarryingValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Significant Accounting Policies - Schedule of Cumulative Effect of Changes on Consolidated Balance Sheet Due to Adoption of ASC 326 (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
     "shortName": "Significant Accounting Policies - Schedule of Cumulative Effect of Changes on Consolidated Balance Sheet Due to Adoption of ASC 326 (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "us-gaap:LoansAndLeasesReceivableAllowanceForLoanLossesPolicy",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_23932c2b-9380-4195-8cc6-2cd31197d795",
      "decimals": "-5",
      "lang": null,
      "name": "lx:AggregateContingentLiabilitiesExceedsBalanceOfGuaranteeLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_529f2a50-f6ed-41a3-9d47-f35fc0d7af9f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:DeferredGuaranteeIncome",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Significant Accounting Policies - Schedule of Obligations Associated with Deferred Guarantee Income After Adoption of ASC 326 (Details)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details",
     "shortName": "Significant Accounting Policies - Schedule of Obligations Associated with Deferred Guarantee Income After Adoption of ASC 326 (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:SummaryOfObligationsAssociatedWithGuaranteeIncomeTableTextBlock",
       "div",
       "lx:GuaranteeReceivablesAndLiabilitiesPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_ca055c05-36fa-43a4-94e8-b62c473f49e4",
      "decimals": "-3",
      "lang": null,
      "name": "lx:FairValueOfDeferredGuaranteeIncomeAtInceptionOfNewLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100080 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:ProvisionForContingentLiabilitiesOfGuarantee",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Significant Accounting Policies - Schedule of Obligations Associated with Contingent Guarantee Liabilities After Adoption of ASC 326 (Details)",
     "menuCat": "Details",
     "order": "60",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
     "shortName": "Significant Accounting Policies - Schedule of Obligations Associated with Contingent Guarantee Liabilities After Adoption of ASC 326 (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:SummaryOfObligationsAssociatedWithContingentGuaranteeLiabilitiesTableTextBlock",
       "div",
       "lx:GuaranteeReceivablesAndLiabilitiesPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_1a6aeb2e-af91-4936-933a-9667cb46090f",
      "decimals": "-3",
      "lang": null,
      "name": "lx:ProvisionForContingentLiabilitiesOfGuarantee",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "div",
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Significant Accounting Policies - Schedule of Operating Revenue within Scope of ASC 606 Disaggregated by Revenue Sources (Details)",
     "menuCat": "Details",
     "order": "61",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
     "shortName": "Significant Accounting Policies - Schedule of Operating Revenue within Scope of ASC 606 Disaggregated by Revenue Sources (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "div",
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_667afc13-a439-4fe6-8081-4e0befc24cd4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "div",
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - Disclosure - Significant Accounting Policies - Schedule of Operating Revenue Within Scope of ASC 606 Disaggregated by Revenue Timing (Details)",
     "menuCat": "Details",
     "order": "62",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueTimingDetails",
     "shortName": "Significant Accounting Policies - Schedule of Operating Revenue Within Scope of ASC 606 Disaggregated by Revenue Timing (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfOperatingRevenueWithinScopeOfAsc606DisaggregatedByRevenueTimingTableTextBlock",
       "div",
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_256d1ca6-dd65-4718-a8b7-f4e96c4eea8b",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfEstimatedUsefulLifeOfPropertyEquipmentAndSoftwareTableTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_7eab23f2-a8fe-416c-8c5e-6c0b3e2fca1e",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Significant Accounting Policies - Schedule of Estimated Useful Lives (Details)",
     "menuCat": "Details",
     "order": "63",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails",
     "shortName": "Significant Accounting Policies - Schedule of Estimated Useful Lives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfEstimatedUsefulLifeOfPropertyEquipmentAndSoftwareTableTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_7eab23f2-a8fe-416c-8c5e-6c0b3e2fca1e",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeLeasesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - Disclosure - Significant Accounting Policies - Schedule of Future Minimum Lease Payments - ASC 842 (Details)",
     "menuCat": "Details",
     "order": "64",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details",
     "shortName": "Significant Accounting Policies - Schedule of Future Minimum Lease Payments - ASC 842 (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeLeasesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeLeasesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeasePayments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Significant Accounting Policies - Schedule of Supplemental Cash Flow Information Related to Operating Leases (Details)",
     "menuCat": "Details",
     "order": "65",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfSupplementalCashFlowInformationRelatedToOperatingLeasesDetails",
     "shortName": "Significant Accounting Policies - Schedule of Supplemental Cash Flow Information Related to Operating Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeLeasesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeasePayments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "lx:SignificantRisksAndUncertaintiesPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_7b6f97b0-4091-4044-9f7f-556533c4c3bc",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - Disclosure - Significant Accounting Policies - Schedule of Concentration Risk (Details)",
     "menuCat": "Details",
     "order": "66",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
     "shortName": "Significant Accounting Policies - Schedule of Concentration Risk (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "lx:SignificantRisksAndUncertaintiesPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_7b6f97b0-4091-4044-9f7f-556533c4c3bc",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesAndLoansReceivableGrossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - Disclosure - Financing Receivable, Net - Schedule of Financing Receivables, Net (Details)",
     "menuCat": "Details",
     "order": "67",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
     "shortName": "Financing Receivable, Net - Schedule of Financing Receivables, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesAndLoansReceivableGrossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesWriteOffs",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - Disclosure - Financing Receivable, Net - Additional Information (Details)",
     "menuCat": "Details",
     "order": "68",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
     "shortName": "Financing Receivable, Net - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:FinancingReceivableGrossCarryingAmountDueInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Financing Receivable, Net - Summary of Balances of Financing Receivables by Due Date (Details)",
     "menuCat": "Details",
     "order": "69",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails",
     "shortName": "Financing Receivable, Net - Summary of Balances of Financing Receivables by Due Date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:FinancingReceivableGrossCarryingAmountDueInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_23932c2b-9380-4195-8cc6-2cd31197d795",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100100 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_55f28420-bc59-45c8-8187-8edd53c21a0a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_529f2a50-f6ed-41a3-9d47-f35fc0d7af9f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - Disclosure - Financing Receivable, Net - Summary of Activities in Allowance for Credit Losses (Details)",
     "menuCat": "Details",
     "order": "70",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails",
     "shortName": "Financing Receivable, Net - Summary of Activities in Allowance for Credit Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "lx:ProvisionForCreditLossesOfFinancingReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Financing Receivable, Net - Summary of Aging Analysis of Past Due Financing Receivables (Details)",
     "menuCat": "Details",
     "order": "71",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails",
     "shortName": "Financing Receivable, Net - Summary of Aging Analysis of Past Due Financing Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:FinancingReceivableCreditQualityIndicatorsByYearOfOriginationTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Financing Receivable, Net - Summary of Amortized Cost within Each Credit Quality Indicator by Year of Origination for Five Origination Years and Beyond (Details)",
     "menuCat": "Details",
     "order": "72",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
     "shortName": "Financing Receivable, Net - Summary of Amortized Cost within Each Credit Quality Indicator by Year of Origination for Five Origination Years and Beyond (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:FinancingReceivableCreditQualityIndicatorsByYearOfOriginationTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ContractAssetsAndReceivablesAndGuaranteeReceivablesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_771cfeb3-f988-4446-bd24-8c5a77e9c0e6",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableGrossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Contract Assets and Receivable, Net - Schedule of Contract Assets and Receivables and Guarantee Receivables (Details)",
     "menuCat": "Details",
     "order": "73",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails",
     "shortName": "Contract Assets and Receivable, Net - Schedule of Contract Assets and Receivables and Guarantee Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ContractAssetsAndReceivablesAndGuaranteeReceivablesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_771cfeb3-f988-4446-bd24-8c5a77e9c0e6",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableGrossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AccountsReceivableAllowanceForCreditLossTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_529f2a50-f6ed-41a3-9d47-f35fc0d7af9f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Contract Assets and Receivable, Net - Schedule of Activities in the Allowance for Credit Losses (Details)",
     "menuCat": "Details",
     "order": "74",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
     "shortName": "Contract Assets and Receivable, Net - Schedule of Activities in the Allowance for Credit Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AccountsReceivableAllowanceForCreditLossTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_23932c2b-9380-4195-8cc6-2cd31197d795",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerAssetGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Contract Assets and Receivable, Net - Additional Information (Details)",
     "menuCat": "Details",
     "order": "75",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetAdditionalInformationDetails",
     "shortName": "Contract Assets and Receivable, Net - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerAssetGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "lx:PrepaymentsAndOtherCurrentAssetsTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:ThirdPartyOnlinePaymentServiceProvidersReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100820 - Disclosure - Prepayments and Other Current Assets - Schedule of Prepayments and Other Current Assets (Details)",
     "menuCat": "Details",
     "order": "76",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails",
     "shortName": "Prepayments and Other Current Assets - Schedule of Prepayments and Other Current Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "lx:PrepaymentsAndOtherCurrentAssetsTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:ThirdPartyOnlinePaymentServiceProvidersReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Property, Equipment and Software, Net - Schedule of Property, Equipment and Software, Net (Details)",
     "menuCat": "Details",
     "order": "77",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
     "shortName": "Property, Equipment and Software, Net - Schedule of Property, Equipment and Software, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepreciationDepletionAndAmortization",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Property, Equipment and Software, Net - Additional Information (Details)",
     "menuCat": "Details",
     "order": "78",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetAdditionalInformationDetails",
     "shortName": "Property, Equipment and Software, Net - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_7f089531-1f32-4940-8217-8be66d831513",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DepreciationDepletionAndAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Land Use Rights, Net - Schedule of Land Use Rights, Net (Details)",
     "menuCat": "Details",
     "order": "79",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfLandUseRightsNetDetails",
     "shortName": "Land Use Rights, Net - Schedule of Land Use Rights, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100120 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AmortizationOfFinancingCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_1f251aa6-b4e5-4528-85d0-cabb6822d446",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinitelivedIntangibleAssetsAcquired1",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Land Use Rights, Net - Additional Information (Details)",
     "menuCat": "Details",
     "order": "80",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetAdditionalInformationDetails",
     "shortName": "Land Use Rights, Net - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_1f251aa6-b4e5-4528-85d0-cabb6822d446",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Land Use Rights, Net - Schedule of Amortization Expenses For Future Periods (Details)",
     "menuCat": "Details",
     "order": "81",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails",
     "shortName": "Land Use Rights, Net - Schedule of Amortization Expenses For Future Periods (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Long-Term Investments - Additional Information (Details)",
     "menuCat": "Details",
     "order": "82",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails",
     "shortName": "Long-Term Investments - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:SummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternative",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_529f2a50-f6ed-41a3-9d47-f35fc0d7af9f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquitySecuritiesFVNINoncurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Long-Term Investments - Summary of Movement of Carrying Value of Equity Investments Accounted Using Measurement Alternative (Details)",
     "menuCat": "Details",
     "order": "83",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureLongtermInvestmentsSummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternativeDetails",
     "shortName": "Long-Term Investments - Summary of Movement of Carrying Value of Equity Investments Accounted Using Measurement Alternative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:SummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternative",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_23932c2b-9380-4195-8cc6-2cd31197d795",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EquitySecuritiesFVNINoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RestrictedCashEquivalentsCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Fair Value Measurement - Schedule of Fair Value of Hierarchy For Assets and Liabilities Measured on Recurring Basis (Details)",
     "menuCat": "Details",
     "order": "84",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
     "shortName": "Fair Value Measurement - Schedule of Fair Value of Hierarchy For Assets and Liabilities Measured on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_84b1adee-72cc-4981-b89e-cc88d2cd1577",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RestrictedCashEquivalentsCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_7db85b77-1ee0-4f92-9c14-6d31a158fbec",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AlternativeInvestmentMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Fair Value Measurement - Summary of Quantitative Information About The Significant Unobservable Inputs (Details)",
     "menuCat": "Details",
     "order": "85",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails",
     "shortName": "Fair Value Measurement - Summary of Quantitative Information About The Significant Unobservable Inputs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_7db85b77-1ee0-4f92-9c14-6d31a158fbec",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AlternativeInvestmentMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_45a94ba8-771d-473b-9166-9f0eb092fab0",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Fair Value Measurement - Summary of Activities Related to Fair Value of the Guarantee Derivatives (Details)",
     "menuCat": "Details",
     "order": "86",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails",
     "shortName": "Fair Value Measurement - Summary of Activities Related to Fair Value of the Guarantee Derivatives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_52a975c3-269b-4cfe-9aed-81274dc75b49",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_b726899a-eab4-4c95-bb85-b4ca95e10183",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Fair Value Measurement - Summary of Activities Related to Fair Value of the Loans Acquired or Purchased (Details)",
     "menuCat": "Details",
     "order": "87",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails",
     "shortName": "Fair Value Measurement - Summary of Activities Related to Fair Value of the Loans Acquired or Purchased (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_b8aa130e-e3dc-4fbd-a280-489930ca8a79",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_03ba1745-1bdd-4c8e-bd92-ba68fb988393",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "lx:GuaranteeLiabilityWeightedAverageCumulativeDefaultRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Fair Value Measurement - Schedule of Effect Adverse Change in Derivative Assets and Liabilities (Details)",
     "menuCat": "Details",
     "order": "88",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails",
     "shortName": "Fair Value Measurement - Schedule of Effect Adverse Change in Derivative Assets and Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_03ba1745-1bdd-4c8e-bd92-ba68fb988393",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "lx:GuaranteeLiabilityWeightedAverageCumulativeDefaultRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "lx:FairValueOfTheLoansWeightedAverageExpectedFutureRecoveryRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Fair Value Measurement - Summary of Effect Adverse Changes in Estimated Fair Value of the Loans (Details)",
     "menuCat": "Details",
     "order": "89",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEffectAdverseChangesInEstimatedFairValueOfLoansDetails",
     "shortName": "Fair Value Measurement - Summary of Effect Adverse Changes in Estimated Fair Value of the Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "lx:FairValueOfTheLoansWeightedAverageExpectedFutureRecoveryRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_1f251aa6-b4e5-4528-85d0-cabb6822d446",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinitelivedIntangibleAssetsAcquired1",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100130 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)",
     "menuCat": "Statements",
     "order": "9",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayableCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Funding Debts - Summary of the Group's Outstanding Funding Debts (Details)",
     "menuCat": "Details",
     "order": "90",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfGroupSOutstandingFundingDebtsDetails",
     "shortName": "Funding Debts - Summary of the Group's Outstanding Funding Debts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_fd53fcea-781e-4941-a92b-fe2392f6d640",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NotesPayableCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromNotesPayable",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Funding Debts - Liabilities to Individual Investors and Institutional Funding Partners (Details)",
     "menuCat": "Details",
     "order": "91",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
     "shortName": "Funding Debts - Liabilities to Individual Investors and Institutional Funding Partners (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:ProceedsFromNotesPayable",
       "us-gaap:ProceedsFromNotesPayable",
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_d9a0c914-3182-47a2-b173-bec38a3036ca",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ProceedsFromNotesPayable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShortTermDebtTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShortTermDebtWeightedAverageInterestRate",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100990 - Disclosure - Borrowings - Additional Information (Details)",
     "menuCat": "Details",
     "order": "92",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
     "shortName": "Borrowings - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShortTermDebtTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_529f2a50-f6ed-41a3-9d47-f35fc0d7af9f",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:ShortTermDebtWeightedAverageInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfAccrualsAndOtherCurrentLiabilitiesTableTextBlock",
       "div",
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101000 - Disclosure - Accruals and Other Current Liabilities - Schedule of Accruals and Other Current Liabilities (Details)",
     "menuCat": "Details",
     "order": "93",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails",
     "shortName": "Accruals and Other Current Liabilities - Schedule of Accruals and Other Current Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfAccrualsAndOtherCurrentLiabilitiesTableTextBlock",
       "div",
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "lx:CommissionFeeRelatedParty",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101010 - Disclosure - Related Party Balances and Transactions - Schedule of Significant Related Party Transactions (Details)",
     "menuCat": "Details",
     "order": "94",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails",
     "shortName": "Related Party Balances and Transactions - Schedule of Significant Related Party Transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RelatedPartyTransactionPurchasesFromRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfDueFromRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DueFromRelatedParties",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101020 - Disclosure - Related Party Balances and Transactions - Schedule of Amounts Due from Related Parties (Details)",
     "menuCat": "Details",
     "order": "95",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesDetails",
     "shortName": "Related Party Balances and Transactions - Schedule of Amounts Due from Related Parties (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfDueFromRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_1ea2abbd-0e88-4499-b0fe-be9ae8aa56a8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DueFromRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:ScheduleOfDueFromRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_62cddda9-ae1e-4ea3-b3f8-24aa62cfef1d",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToFundLongtermLoansToRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101030 - Disclosure - Related Party Balances and Transactions - Schedule of Amounts Due from Related Parties (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "96",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesParentheticalDetails",
     "shortName": "Related Party Balances and Transactions - Schedule of Amounts Due from Related Parties (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "lx:ScheduleOfDueFromRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_62cddda9-ae1e-4ea3-b3f8-24aa62cfef1d",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToFundLongtermLoansToRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfDueToRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_6b160b88-5d09-4909-9584-b7689bdf6a5a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DueToRelatedPartiesCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101040 - Disclosure - Related Party Balances and Transactions - Schedule of Amounts Due to Related Parties (Details)",
     "menuCat": "Details",
     "order": "97",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails",
     "shortName": "Related Party Balances and Transactions - Schedule of Amounts Due to Related Parties (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "lx:ScheduleOfDueToRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_b7ba0718-8678-4a7c-9188-f53e26733bf3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DueToRelatedPartiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101050 - Disclosure - Taxation - Tax rates (Details)",
     "menuCat": "Details",
     "order": "98",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails",
     "shortName": "Taxation - Tax rates (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_4214cb07-1b58-4741-ba76-77f8ef585103",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101060 - Disclosure - Taxation - Components of Income Before Income Tax (Benefit)/Expense (Details)",
     "menuCat": "Details",
     "order": "99",
     "role": "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails",
     "shortName": "Taxation - Components of Income Before Income Tax (Benefit)/Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "lx-20221231.htm",
      "contextRef": "C_df17e95b-1212-4ae5-87ea-d056673dcb54",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 159,
   "tag": {
    "country_CN": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CHINA",
        "terseLabel": "PRC"
       }
      }
     },
     "localname": "CN",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r941",
      "r942",
      "r943"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r941",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location",
        "terseLabel": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r941",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name",
        "terseLabel": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r942",
      "r943"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelEmailAddress": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Email address of contact personnel.",
        "label": "Contact Personnel Email Address",
        "terseLabel": "Contact Personnel Email Address"
       }
      }
     },
     "localname": "ContactPersonnelEmailAddress",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAccountingStandard": {
     "auth_ref": [
      "r942"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "accountingStandardItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r941",
      "r942",
      "r943"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r937"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentShellCompanyReport": {
     "auth_ref": [
      "r942"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true for a Shell Company Report pursuant to section 13 or 15(d) of the Exchange Act.",
        "label": "Document Shell Company Report",
        "terseLabel": "Document Shell Company Report"
       }
      }
     },
     "localname": "DocumentShellCompanyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r944"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "verboseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two",
        "terseLabel": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three",
        "terseLabel": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r939"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r939"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Securities Act File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r939"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r945"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r939"
     ],
     "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",
        "verboseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r939"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r946"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r941",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag",
        "terseLabel": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r938"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r940"
     ],
     "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/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "lx_AccountPayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Account payable.",
        "label": "Account Payable [Member]",
        "terseLabel": "10% or More of Accounts Payable, Number of Suppliers"
       }
      }
     },
     "localname": "AccountPayableMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_AccountingStandardCodifications460Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standard Codifications 460",
        "label": "Accounting Standard Codifications460 [Member]",
        "terseLabel": "ASC 460"
       }
      }
     },
     "localname": "AccountingStandardCodifications460Member",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_AccruedInterestPayablePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for accrued interest payable.",
        "label": "Accrued Interest Payable Policy Policy [Text Block]",
        "terseLabel": "Accrued Interest Payable"
       }
      }
     },
     "localname": "AccruedInterestPayablePolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_AccruedInterestReceivableAllowanceForCreditLossesCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued interest receivable allowance for credit losses current.",
        "label": "Accrued Interest Receivable Allowance For Credit Losses Current",
        "terseLabel": "Accrued interest receivable, allowance for credit losses"
       }
      }
     },
     "localname": "AccruedInterestReceivableAllowanceForCreditLossesCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_AccruedRiskManagementFeesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued risk management fees current.",
        "label": "Accrued Risk Management Fees Current",
        "terseLabel": "Accrued risk management fees"
       }
      }
     },
     "localname": "AccruedRiskManagementFeesCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_AggregateContingentLiabilitiesExceedsBalanceOfGuaranteeLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate contingent liabilities exceeds balance of guarantee liabilities.",
        "label": "Aggregate Contingent Liabilities Exceeds Balance Of Guarantee Liabilities",
        "terseLabel": "Excess Liability"
       }
      }
     },
     "localname": "AggregateContingentLiabilitiesExceedsBalanceOfGuaranteeLiabilities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_AllowanceForCreditLossesReceivableCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails3": {
       "order": 1.0,
       "parentTag": "us-gaap_NontradeReceivablesCurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance For credit losses Receivable Current",
        "label": "Allowance For credit losses Receivable Current",
        "terseLabel": "Allowance for credit losses"
       }
      }
     },
     "localname": "AllowanceForCreditLossesReceivableCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_AmericanDepositaryShareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represents information related to American Depositary Share (ADS).",
        "label": "American Depositary Share [Member]",
        "terseLabel": "ADS"
       }
      }
     },
     "localname": "AmericanDepositaryShareMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ApplicationOfCECLMethodologyOnCertainOffBalanceSheetCreditExposuresMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Application of CECL methodology on certain off-balance sheet credit exposures.",
        "label": "Application Of C E C L Methodology On Certain Off Balance Sheet Credit Exposures [Member]",
        "terseLabel": "Application of CECL Methodology on Certain Off-balance Sheet Credit Exposures"
       }
      }
     },
     "localname": "ApplicationOfCECLMethodologyOnCertainOffBalanceSheetCreditExposuresMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ApplicationOfCECLMethodologyOnCreditLossesOfFinancialAssetsMeasuredAtAmortizedCostMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Application of CECL methodology on credit losses of financial assets measured at amortized cost.",
        "label": "Application Of C E C L Methodology On Credit Losses Of Financial Assets Measured At Amortized Cost [Member]",
        "terseLabel": "Application of CECL Methodology on Credit Losses of Financial Assets Measured at Amortized Cost"
       }
      }
     },
     "localname": "ApplicationOfCECLMethodologyOnCreditLossesOfFinancialAssetsMeasuredAtAmortizedCostMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_AppraisalValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Appraisal value.",
        "label": "Appraisal Value",
        "terseLabel": "Apprisal value"
       }
      }
     },
     "localname": "AppraisalValue",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_AppropriationOfNetIncomeToGeneralReserveFundRequiredPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the minimum percentage of net income from required to be appropriated towards the general reserve fund for entities incorporated in the People's Republic of China until the reserve balance reaches 50 percent of registered capital.",
        "label": "Appropriation Of Net Income To General Reserve Fund Required Percentage",
        "terseLabel": "Appropriation to the general reserve fund (as a percent)"
       }
      }
     },
     "localname": "AppropriationOfNetIncomeToGeneralReserveFundRequiredPercentage",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssetsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_AppropriationOfNetIncomeToStatutorySurplusFundRequiredPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the minimum percentage of net income from required to be appropriated towards the statutory surplus fund for entities incorporated in the People's Republic of China until the reserve balance reaches 50 percent of registered capital.",
        "label": "Appropriation Of Net Income To Statutory Surplus Fund Required Percentage",
        "terseLabel": "Portion of after-tax profit to be allocated to statutory surplus fund under PRC law (as a percent)"
       }
      }
     },
     "localname": "AppropriationOfNetIncomeToStatutorySurplusFundRequiredPercentage",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssetsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_AppropriationToStatutoryReserves": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents appropriations to certain non-distributable statutory reserves in accordance with laws applicable to the countries in which the reporting entity's subsidiaries and variable interest entities operate.",
        "label": "Appropriation To Statutory Reserves",
        "terseLabel": "Appropriation to statutory reserves"
       }
      }
     },
     "localname": "AppropriationToStatutoryReserves",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_AssessableProfitsForTaxPurposes": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of assessable profits considered for taxation purposes.",
        "label": "Assessable Profits For Tax Purposes",
        "terseLabel": "Assessable profits"
       }
      }
     },
     "localname": "AssessableProfitsForTaxPurposes",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_BeihaiAuroraAndBeihaiLexinMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beihai Aurora and Beihai Lexin.",
        "label": "Beihai Aurora And Beihai Lexin [Member]",
        "terseLabel": "Beihai Aurora and Beihai Lexin"
       }
      }
     },
     "localname": "BeihaiAuroraAndBeihaiLexinMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_BeihaiAuroraAndBeihaiTuringMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beihai Aurora and Beihai Turing.",
        "label": "Beihai Aurora and Beihai Turing [Member]",
        "terseLabel": "Beihai Aurora and Beihai Turing"
       }
      }
     },
     "localname": "BeihaiAuroraAndBeihaiTuringMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_BeihaiAuroraTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beihai Aurora Technology Co., Ltd.",
        "label": "Beihai Aurora Technology Co Ltd [Member]",
        "terseLabel": "Beihai Aurora"
       }
      }
     },
     "localname": "BeihaiAuroraTechnologyCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_BeihaiLexinInformationTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beihai Lexin Information Technology Co Ltd.",
        "label": "Beihai Lexin Information Technology Co Ltd [Member]",
        "terseLabel": "Beihai Lexin Information"
       }
      }
     },
     "localname": "BeihaiLexinInformationTechnologyCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_BeihaiSuperEggECommerceCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beihai Super Egg E-Commerce Co Ltd.",
        "label": "Beihai Super Egg E Commerce Co Ltd [Member]",
        "terseLabel": "Beihai Super Egg"
       }
      }
     },
     "localname": "BeihaiSuperEggECommerceCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_BeijingLejiaxinNetworkTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Beijing Lejiaxin Network Technology Co, LTD. (\"Beijing Lejiaxin\").",
        "label": "Beijing Lejiaxin Network Technology Co Ltd [Member]",
        "terseLabel": "Beijing Lejiaxin"
       }
      }
     },
     "localname": "BeijingLejiaxinNetworkTechnologyCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_BeijingShijitongTechnologyCo.LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Beijing Shijitong Technology Co., Ltd.(\"Beijing Shijitong\").",
        "label": "Beijing Shijitong Technology Co. Ltd [Member]",
        "terseLabel": "Beijing Shijitong"
       }
      }
     },
     "localname": "BeijingShijitongTechnologyCo.LtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_BorrowersAge": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the age of the Borrowers.",
        "label": "Borrowers Age",
        "terseLabel": "Age of borrowers"
       }
      }
     },
     "localname": "BorrowersAge",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "lx_CashAndCashEquivalentsRestrictedCashAndRestrictedTimeDepositsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to cash and cash equivalents, restricted cash and restricted time deposits.",
        "label": "Cash And Cash Equivalents Restricted Cash And Restricted Time Deposits [Member]",
        "terseLabel": "Cash and Cash Equivalents, Restricted Cash and Restricted Time Deposits"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndRestrictedTimeDepositsMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CashCouponAndRepaymentCouponExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash coupons and repayment coupons recognized as a reduction of revenue for the period.",
        "label": "Cash Coupon And Repayment Coupon Expense",
        "terseLabel": "Cash coupons and repayment coupon expense"
       }
      }
     },
     "localname": "CashCouponAndRepaymentCouponExpense",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CashPaidForLandUseRights": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash paid for land use rights.",
        "label": "Cash Paid For Land Use Rights",
        "terseLabel": "Cash paid for land use rights"
       }
      }
     },
     "localname": "CashPaidForLandUseRights",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CashPaidForTechnicalServiceFees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash paid for technical service fees.",
        "label": "Cash Paid for Technical Service Fees",
        "terseLabel": "Cash paid for technical service fees."
       }
      }
     },
     "localname": "CashPaidForTechnicalServiceFees",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CashPaidOnAcquisitionOfSubsidiariesNetOfCashAcquired": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash paid on acquisition of subsidiaries, net of cash acquired.",
        "label": "Cash Paid On Acquisition Of Subsidiaries, net Of Cash Acquired",
        "terseLabel": "Cash paid on acquisition of subsidiaries, net of cash acquired"
       }
      }
     },
     "localname": "CashPaidOnAcquisitionOfSubsidiariesNetOfCashAcquired",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CashReceivedForProvisionOfGoodsAndServices": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received for provision of goods and services.",
        "label": "Cash Received for Provision of Goods and Services",
        "terseLabel": "Cash received for provision of goods and services"
       }
      }
     },
     "localname": "CashReceivedForProvisionOfGoodsAndServices",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ChangeInFairValueLongTermInvestment": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of change in fair value of long term investment",
        "label": "Change In Fair Value Long Term Investment",
        "terseLabel": "Fair value changes of long-term investments"
       }
      }
     },
     "localname": "ChangeInFairValueLongTermInvestment",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ChangeInFairValueOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in fair value other assets.",
        "label": "Change In Fair Value Other Assets",
        "terseLabel": "Fair value changes of other assets"
       }
      }
     },
     "localname": "ChangeInFairValueOtherAssets",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CollectionOfLoansAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collection of loans at fair value.",
        "label": "Collection of Loans at Fair Value",
        "terseLabel": "Collection of loans at fair value"
       }
      }
     },
     "localname": "CollectionOfLoansAtFairValue",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CollectionOfPrincipalOfLoansAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collection of principal of loans at fair value",
        "label": "Collection Of Principal Of Loans At Fair Value",
        "terseLabel": "Collection of loans at fair value"
       }
      }
     },
     "localname": "CollectionOfPrincipalOfLoansAtFairValue",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CollectionServiceFeeRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collection service fee related party.",
        "label": "Collection Service Fee Related Party",
        "terseLabel": "Collection service fee from a related party"
       }
      }
     },
     "localname": "CollectionServiceFeeRelatedParty",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CommissionFeeRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission fee related party.",
        "label": "Commission Fee Related Party",
        "terseLabel": "Commission fee from a related party",
        "verboseLabel": "Provision of services to related parties"
       }
      }
     },
     "localname": "CommissionFeeRelatedParty",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CommitmentAndContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitment and contingencies.",
        "label": "Commitment And Contingencies [Line Items]",
        "terseLabel": "Commitment And Contingencies [Line Items]"
       }
      }
     },
     "localname": "CommitmentAndContingenciesLineItems",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_CommitmentAndContingenciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitment and contingencies.",
        "label": "Commitment And Contingencies [Table]",
        "terseLabel": "Commitment And Contingencies [Table]"
       }
      }
     },
     "localname": "CommitmentAndContingenciesTable",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_CommonStockTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for terms, amounts, nature of changes, rights and privileges, dividends, and other matters related to common stock.",
        "label": "Common Stock [Text Block]",
        "terseLabel": "Ordinary Shares"
       }
      }
     },
     "localname": "CommonStockTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinaryShares"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ComprehensiveIncomeLossNetOfTaxAvailableToCommonShareholders": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, available to common shareholders.",
        "label": "Comprehensive Income Loss Net Of Tax Available To Common Shareholders",
        "totalLabel": "Total comprehensive income attributable to ordinary shareholders"
       }
      }
     },
     "localname": "ComprehensiveIncomeLossNetOfTaxAvailableToCommonShareholders",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ConcentrationOfRiskNumberOfGuaranteeCompany": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of guarantee company.",
        "label": "Concentration Of Risk Number Of Guarantee Company",
        "terseLabel": "Number of guarantee company accounted for more than 10% of the Group's deposits to insurance companies and guarantee companies"
       }
      }
     },
     "localname": "ConcentrationOfRiskNumberOfGuaranteeCompany",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_ConcentrationOfRiskNumberOfInstitutionalFundingPartners": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of institutional funding partners.",
        "label": "Concentration Of Risk Number Of Institutional Funding Partners",
        "terseLabel": "Number of institutional funding partners that accounted for more than 10% of the Group's origination of off-balance sheet loans"
       }
      }
     },
     "localname": "ConcentrationOfRiskNumberOfInstitutionalFundingPartners",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_ConcentrationOfRiskNumberOfInsuranceCompany": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of insurance company.",
        "label": "Concentration Of Risk Number Of Insurance Company",
        "terseLabel": "Number of insurance company accounted for more than 10% of the Group's deposits to insurance companies and guarantee companies"
       }
      }
     },
     "localname": "ConcentrationOfRiskNumberOfInsuranceCompany",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_ConcentrationRiskForeignCurrencyRiskCashAndCashEquivalentsAndRestrictedCashAndCashEquivalents": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration foreign currency risk on cash and cash equivalents and restricted cash and cash equivalents in quantitative amount.",
        "label": "Concentration Risk Foreign Currency Risk Cash And Cash Equivalents And Restricted Cash And Cash Equivalents",
        "terseLabel": "Cash and cash equivalents, restricted cash and restricted time deposits denominated in RMB that are subject to government controls"
       }
      }
     },
     "localname": "ConcentrationRiskForeignCurrencyRiskCashAndCashEquivalentsAndRestrictedCashAndCashEquivalents",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ConcentrationRiskNumberOfMajorInvestorsFundingCosts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of major investors related to risks that arise due to the volume of funding costs.",
        "label": "Concentration Risk Number Of Major Investors Funding Costs",
        "terseLabel": "Number of Individual Investor or Institutional Funding Partner that accounted for more than 10% of the Group's total funding cost"
       }
      }
     },
     "localname": "ConcentrationRiskNumberOfMajorInvestorsFundingCosts",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_ConcentrationRiskNumberOfMajorInvestorsFundingDebts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of major investors related to risks that arise due to the volume of funding debts.",
        "label": "Concentration Risk Number Of Major Investors Funding Debts",
        "terseLabel": "Number of Individual Investor or Institutional Funding Partner that accounted for more than 10% of the Group's Funding Debts"
       }
      }
     },
     "localname": "ConcentrationRiskNumberOfMajorInvestorsFundingDebts",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_ConcentrationRiskNumberOfSuppliersPurchase": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of major suppliers related to risks that arise due to the volume of purchase.",
        "label": "Concentration Risk Number Of Suppliers Purchase",
        "terseLabel": "Number of inventory suppliers"
       }
      }
     },
     "localname": "ConcentrationRiskNumberOfSuppliersPurchase",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_ContingentGuaranteeLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent guarantee liabilities.",
        "label": "Contingent Guarantee Liabilities",
        "negatedLabel": "Contingent guarantee liabilities",
        "periodEndLabel": "Ending balances",
        "periodStartLabel": "Opening balances",
        "terseLabel": "Contingent guarantee liabilities"
       }
      }
     },
     "localname": "ContingentGuaranteeLiabilities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ContingentGuaranteeLiabilitiesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 7.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent guarantee liabilities current.",
        "label": "Expected credit losses of guarantee liabilities",
        "negatedLabel": "Expected credit losses of guarantee liabilities",
        "terseLabel": "Contingent guarantee liabilities (including amounts of the consolidated VIEs of RMB928,840 and RMB770,495 as of December 31, 2021 and December 31, 2022, respectively)",
        "verboseLabel": "Contingent guarantee liabilities"
       }
      }
     },
     "localname": "ContingentGuaranteeLiabilitiesCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ContingentGuaranteeLiabilitiesNetCashPayout": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent guarantee liabilities net cash payout.",
        "label": "Contingent Guarantee Liabilities Net Cash Payout",
        "negatedLabel": "Net cash payout",
        "terseLabel": "Net cash payout"
       }
      }
     },
     "localname": "ContingentGuaranteeLiabilitiesNetCashPayout",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ContractAssetsAndReceivablesAndGuaranteeReceivablesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contract assets and receivables and guarantee receivables.",
        "label": "Contract Assets and Receivables and Guarantee Receivables [Table Text Block]",
        "terseLabel": "Schedule of Contract Assets and Receivables and Guarantee Receivables"
       }
      }
     },
     "localname": "ContractAssetsAndReceivablesAndGuaranteeReceivablesTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ContractAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contract Assets [Member]",
        "label": "Contract Assets [Member]",
        "terseLabel": "Contract Assets"
       }
      }
     },
     "localname": "ContractAssetsMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ConvenienceTranslationPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for convenience translation adjustments.",
        "label": "Convenience Translation Policy Policy [Text Block]",
        "terseLabel": "Convenience Translation"
       }
      }
     },
     "localname": "ConvenienceTranslationPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ConvertibleDebtTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of borrowings which can be exchanged for a specified number of another security at the option of the issuer or the holder. Disclosures include, but are not limited to, principal amount, amortized premium or discount, and amount of liability and equity components.",
        "label": "Convertible Debt [Text Block]",
        "terseLabel": "Convertible Notes"
       }
      }
     },
     "localname": "ConvertibleDebtTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ConvertibleNotesNoncurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount as of the balance sheet date of convertible notes, noncurrent, not included in long term notes payable.",
        "label": "Convertible Notes Noncurrent",
        "verboseLabel": "Total convertible notes"
       }
      }
     },
     "localname": "ConvertibleNotesNoncurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_CreditFacilitationServiceIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit facilitation service income member.",
        "label": "Credit Facilitation Service Income [Member]",
        "terseLabel": "Credit facilitation service income"
       }
      }
     },
     "localname": "CreditFacilitationServiceIncomeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CreditOrientedServicesIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit-Oriented services income.",
        "label": "Credit Oriented Services Income [Member]",
        "terseLabel": "Credit-oriented services income",
        "verboseLabel": "Credit-oriented Services Income"
       }
      }
     },
     "localname": "CreditOrientedServicesIncomeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CreditRatingBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to credit quality rating as B.",
        "label": "Credit Rating B [Member]",
        "terseLabel": "Risk Level B"
       }
      }
     },
     "localname": "CreditRatingBMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CreditRatingCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to credit quality rating as C.",
        "label": "Credit Rating C [Member]",
        "terseLabel": "Risk Level C"
       }
      }
     },
     "localname": "CreditRatingCMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CreditRatingDMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to credit quality rating as D.",
        "label": "Credit Rating D [Member]",
        "terseLabel": "Risk Level D"
       }
      }
     },
     "localname": "CreditRatingDMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CreditRatingEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to credit quality rating as E.",
        "label": "Credit Rating E [Member]",
        "terseLabel": "Risk Level E"
       }
      }
     },
     "localname": "CreditRatingEMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CreditRatingFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to credit quality rating as F.",
        "label": "Credit Rating F [Member]",
        "terseLabel": "Risk Level F"
       }
      }
     },
     "localname": "CreditRatingFMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CreditRatingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to credit quality rating as A.",
        "label": "Credit Rating [Member]",
        "terseLabel": "Risk Level A"
       }
      }
     },
     "localname": "CreditRatingMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CreditRatingNMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to credit quality rating as N.",
        "label": "Credit Rating N [Member]",
        "terseLabel": "Risk Level N and Others"
       }
      }
     },
     "localname": "CreditRatingNMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_CriteriaForAppropriationToGeneralReserveFundMaximumThresholdAsPercentageOfRegisteredCapital": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the maximum percentage criteria expressed as a percentage of registered capital for the transfer of after-tax profit by subsidiaries in China to a general reserve fund. If the reserve fund exceeds the specified threshold of the registered capital, further appropriation is not required.",
        "label": "Criteria For Appropriation To General Reserve Fund Maximum Threshold As Percentage Of Registered Capital",
        "terseLabel": "Maximum percentage criteria for appropriation of after-tax profit of Chinese subsidiaries to general reserve fund (as a percent)"
       }
      }
     },
     "localname": "CriteriaForAppropriationToGeneralReserveFundMaximumThresholdAsPercentageOfRegisteredCapital",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_CriteriaForAppropriationToStatutoryReserveFundMaximumThresholdAsPercentageOfRegisteredCapital": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the maximum percentage criteria expressed as a percentage of registered capital for the transfer of after-tax profit by VIEs in China to statutory reserve funds. If the statutory reserve fund exceeds the specified threshold of the registered capital, further appropriation is not required.",
        "label": "Criteria For Appropriation To Statutory Reserve Fund Maximum Threshold As Percentage Of Registered Capital",
        "terseLabel": "Maximum percentage criteria for in appropriation of after-tax profit by VIEs to certain statutory surplus funds (as a percent)"
       }
      }
     },
     "localname": "CriteriaForAppropriationToStatutoryReserveFundMaximumThresholdAsPercentageOfRegisteredCapital",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_CumulativeEffectDueToAdoption": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative Effect Due To Adoption",
        "label": "Cumulative Effect Due To Adoption",
        "verboseLabel": "Cumulative effect due to the adoption of ASC 326"
       }
      }
     },
     "localname": "CumulativeEffectDueToAdoption",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DebtInstrumentMinimumLockInPeriodForConversion": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum period debt instrument should be hold for eligible for conversion.",
        "label": "Debt Instrument Minimum Lock In Period For Conversion",
        "terseLabel": "Maturity date"
       }
      }
     },
     "localname": "DebtInstrumentMinimumLockInPeriodForConversion",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "lx_DebtInstrumentPaymentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument payment term.",
        "label": "Debt Instrument Payment Term",
        "terseLabel": "Notes payment term"
       }
      }
     },
     "localname": "DebtInstrumentPaymentTerm",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "lx_DebtInstrumentTermExtension": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of maturity of debt instrument, extended after each expiration, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument Term Extension",
        "terseLabel": "Extension term of the loan"
       }
      }
     },
     "localname": "DebtInstrumentTermExtension",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "lx_DeferredGuaranteeIncome": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred guarantee income.",
        "label": "Deferred guarantee Income",
        "negatedLabel": "Deferred guarantee income",
        "periodEndLabel": "Ending balances",
        "periodStartLabel": "Opening balances",
        "terseLabel": "Deferred guarantee income (including amounts of the consolidated VIEs of RMB419,843 and RMB781,633 as of December 31, 2021 and December 31, 2022, respectively)",
        "verboseLabel": "Deferred guarantee income"
       }
      }
     },
     "localname": "DeferredGuaranteeIncome",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredInterestAndFinancialServicesIncomeAndOthers": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 12.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount deferred interest and financial services income and others, due within one year or the normal operating cycle, if longer.",
        "label": "Deferred Interest And Financial Services Income And Others",
        "terseLabel": "Deferred interest and financial services income and others"
       }
      }
     },
     "localname": "DeferredInterestAndFinancialServicesIncomeAndOthers",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredServiceFees": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred service fees for accrued expenses and other current liabilities.",
        "label": "Deferred Service Fees",
        "terseLabel": "Deferred service fees"
       }
      }
     },
     "localname": "DeferredServiceFees",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetDeferredGuaranteeIncomeAndOtherAccruedExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax asset Deferred guarantee income and other accrued expenses.",
        "label": "Deferred Tax Asset Deferred Guarantee Income And Other Accrued Expenses",
        "terseLabel": "Deferred guarantee income and other accrued expenses"
       }
      }
     },
     "localname": "DeferredTaxAssetDeferredGuaranteeIncomeAndOtherAccruedExpenses",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsContingentGuaranteeLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax assets Contingent guarantee liabilities",
        "label": "Deferred Tax Assets Contingent Guarantee Liabilities",
        "terseLabel": "Contingent guarantee liabilities"
       }
      }
     },
     "localname": "DeferredTaxAssetsContingentGuaranteeLiabilities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearFive": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards, expires in year five.",
        "label": "Deferred Tax Assets Operating Loss Carry Forwards Expires In Year Five",
        "terseLabel": "Net operating loss carryforwards, expires in 2027"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearFive",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearFour": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards, expires in year four.",
        "label": "Deferred Tax Assets Operating Loss Carry Forwards Expires In Year Four",
        "terseLabel": "Net operating loss carryforwards, expires in 2026"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearFour",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearOne": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax assets operating loss carry forwards expires in year one.",
        "label": "Deferred Tax Assets Operating Loss Carry Forwards Expires In Year One",
        "terseLabel": "Net operating loss carryforwards, expires in 2023"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearOne",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearThree": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards, expires in year three.",
        "label": "Deferred Tax Assets Operating Loss Carry Forwards Expires In Year Three",
        "terseLabel": "Net operating loss carryforwards, expires in 2025"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearThree",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearTwo": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax assets operating loss carry forwards expires in year two.",
        "label": "Deferred Tax Assets Operating Loss Carry Forwards Expires In Year Two",
        "terseLabel": "Net operating loss carryforwards, expires in 2024"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryForwardsExpiresInYearTwo",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsTaxDeferredExpenseAdvertisingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences from advertising expenses in excess of deduction limit.",
        "label": "Deferred Tax Assets Tax Deferred Expense Advertising Expense",
        "terseLabel": "Advertising expenses in excess of deduction limit"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseAdvertisingExpense",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsValuationAllowanceAdditions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of additions to the valuation allowance for a specified deferred tax asset.",
        "label": "Deferred Tax Assets Valuation Allowance Additions",
        "negatedLabel": "Additions"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowanceAdditions",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationMovementOfValuationAllowanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxAssetsValuationAllowanceReversals": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of reversals made to the valuation allowance for a specified deferred tax asset.",
        "label": "Deferred Tax Assets Valuation Allowance Reversals",
        "terseLabel": "Reversals"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowanceReversals",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationMovementOfValuationAllowanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxLiabilitiesContractAssetsAndServiceFeesReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from contract assets and receivables.",
        "label": "Deferred Tax Liabilities Contract Assets And Service Fees Receivable",
        "terseLabel": "Contract assets and service fees receivable"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesContractAssetsAndServiceFeesReceivable",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxLiabilitiesGuaranteeReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax liabilities guarantee receivables.",
        "label": "Deferred Tax Liabilities Guarantee Receivables",
        "terseLabel": "Guarantee receivables"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesGuaranteeReceivables",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DeferredTaxLiabilitiesProvisionForCreditLosses": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax liabilities provision for credit losses.",
        "label": "Deferred Tax Liabilities Provision For Credit Losses",
        "terseLabel": "Provision for credit losses"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesProvisionForCreditLosses",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DepositsConcentrationRiskMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to deposits concentration risk.",
        "label": "Deposits Concentration Risk [Member]",
        "terseLabel": "Deposits Concentration Risk"
       }
      }
     },
     "localname": "DepositsConcentrationRiskMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_DepositsToInsuranceAndGuaranteeCompaniesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the deposits to insurance companies and guarantee companies.",
        "label": "Deposits To Insurance And Guarantee Companies [Member]",
        "terseLabel": "Deposits to Insurance and Guarantee Companies"
       }
      }
     },
     "localname": "DepositsToInsuranceAndGuaranteeCompaniesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_DepositsToInsuranceCompaniesAndGuaranteeCompaniesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 9.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of current portion of deposits to insurance companies and guarantee companies.",
        "label": "Deposits To Insurance Companies And Guarantee Companies Current",
        "terseLabel": "Deposits to insurance companies and guarantee companies"
       }
      }
     },
     "localname": "DepositsToInsuranceCompaniesAndGuaranteeCompaniesCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_DueToThirdPartySellersCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount payable to third-party sellers, due within one year or the normal operating cycle, if longer.",
        "label": "Due To Third Party Sellers Current",
        "terseLabel": "Payable to third\u2011party sellers"
       }
      }
     },
     "localname": "DueToThirdPartySellersCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_EffectiveIncomeTaxRateReconciliationAtFederalEligiblePreferentialIncomeTaxRateFrom2018To2022": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation at federal eligible preferential income tax rate from 2018 to 2022.",
        "label": "Effective Income Tax Rate Reconciliation at Federal Eligible Preferential Income Tax Rate from 2018 to 2022",
        "terseLabel": "Preferential income tax rate (as a eligible percentage) from 2018 to 2022"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalEligiblePreferentialIncomeTaxRateFrom2018To2022",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation at federal preferential income tax rate.",
        "label": "Effective Income Tax Rate Reconciliation At Federal Preferential Income Tax Rate",
        "terseLabel": "Preferential tax rate (as a percentage)"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRate",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRateFrom2018To2022": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation at federal preferential income tax rate from 2018 to 2022.",
        "label": "Effective Income Tax Rate Reconciliation At Federal Preferential Income Tax Rate From 2018 to 2022",
        "terseLabel": "Preferential income tax rate (as a percentage) from 2018 to 2022"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRateFrom2018To2022",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRateFrom2022To2024": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation at federal preferential income tax rate from 2022 to 2024.",
        "label": "Effective Income Tax Rate Reconciliation At Federal Preferential Income Tax Rate From 2022 To 2024",
        "terseLabel": "Preferential income tax rate (as a percentage) from 2022 to 2024"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRateFrom2022To2024",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRateFrom2023To2025": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation at federal preferential income tax rate from 2023 to 2025.",
        "label": "Effective Income Tax Rate Reconciliation At Federal Preferential Income Tax Rate From 2023 To 2025",
        "terseLabel": "Preferential income tax rate (as a percentage) from 2023 to 2025"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRateFrom2023To2025",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRateFrom2023To2030": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation at federal preferential income tax rate from 2023 to 2030",
        "label": "Effective Income Tax Rate Reconciliation At Federal Preferential Income Tax Rate From 2023 to 2030",
        "terseLabel": "Preferential income tax rate (as a percentage) from 2023 to 2030"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalPreferentialIncomeTaxRateFrom2023To2030",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRateFrom2018To2022": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation at federal statutory income tax rate from 2018 to 2022.",
        "label": "Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate From2018 To2022",
        "terseLabel": "Statutory tax rate (as a percentage) from 2018 to 2022"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRateFrom2018To2022",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRateFrom2023To2030": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation at federal statutory income tax rate from 2023 to 2030.",
        "label": "Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate From2023 To2030",
        "terseLabel": "Statutory tax rate (as a percentage) from 2023 to 2030"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRateFrom2023To2030",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_EmployeesDirectorsAndNonEmployeesDirectorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information relating to employees, directors and non-employees directors.",
        "label": "Employees Directors And Non Employees Directors [Member]",
        "terseLabel": "Employees, Directors and Non-employee Directors"
       }
      }
     },
     "localname": "EmployeesDirectorsAndNonEmployeesDirectorsMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_EquitySecuritiesFVNIAddition": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity securities FVNI addition.",
        "label": "Equity Securities F V N I Addition",
        "terseLabel": "Addition"
       }
      }
     },
     "localname": "EquitySecuritiesFVNIAddition",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureLongtermInvestmentsSummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_EquitySecuritiesFVNIDisposal": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity securities FVNI disposal.",
        "label": "Equity Securities F V N I Disposal",
        "negatedLabel": "Disposal"
       }
      }
     },
     "localname": "EquitySecuritiesFVNIDisposal",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureLongtermInvestmentsSummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_EquitySecuritiesFVNIForeignCurrencyTranslationAdjustments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity securities FVNI foreign currency translation adjustments.",
        "label": "Equity securities F V N I Foreign currency translation adjustments",
        "terseLabel": "Foreign currency translation adjustments"
       }
      }
     },
     "localname": "EquitySecuritiesFVNIForeignCurrencyTranslationAdjustments",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureLongtermInvestmentsSummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_EquitySecuritiesFVNIImpairment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity securities FVNI impairment.",
        "label": "Equity securities F V N I Impairment",
        "negatedLabel": "Impairment"
       }
      }
     },
     "localname": "EquitySecuritiesFVNIImpairment",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureLongtermInvestmentsSummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_EquitySecuritiesFVNIUnrealizedUpwardAdjustments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity securities FVNI unrealized upward adjustments.",
        "label": "Equity securities F V N I Unrealized upward adjustments",
        "terseLabel": "Unrealized upward adjustments"
       }
      }
     },
     "localname": "EquitySecuritiesFVNIUnrealizedUpwardAdjustments",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureLongtermInvestmentsSummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_EquitySecuritiesWithoutReadilyDeterminableFairValueCumulativeImpairmentCharges": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cumulative impairment charges on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities Without Readily Determinable Fair Value Cumulative Impairment Charges",
        "negatedLabel": "Cumulative impairment charges",
        "terseLabel": "Cumulative impairment charges"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueCumulativeImpairmentCharges",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ExpectedCreditLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected credit loss.",
        "label": "Expected Credit Loss",
        "terseLabel": "Expected credit loss"
       }
      }
     },
     "localname": "ExpectedCreditLoss",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ExternalPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External party.",
        "label": "External Party [Member]",
        "terseLabel": "External Parties"
       }
      }
     },
     "localname": "ExternalPartyMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputSensitivityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the effect of volatility in fair value measurements of liabilities using significant unobservable inputs (Level 3), given a hypothetical changes in the cumulative default rates.",
        "label": "Fair Value Liabilities Measured On Recurring Basis Unobservable Input Sensitivity Table [Text Block]",
        "terseLabel": "Schedule of Effect Adverse Change in Derivative Assets and Liabilities"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputSensitivityTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetsCollectionOfLoans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis assets collection of loans.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Assets Collection Of Loans",
        "negatedLabel": "Cash collection"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetsCollectionOfLoans",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FairValueMeasurementsSensitivityAnalysisDerivativeAssetsFairValueDecrease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value increase by the sensitivity of derivative assets for the percentage of fair value measurements to changes in unobservable inputs and the inter-relationships between those inputs as well as how those inter-relationships might magnify or mitigate the effect of changes in the unobservable inputs on the fair value measurements.",
        "label": "Fair Value Measurements Sensitivity Analysis Derivative Assets Fair Value Decrease",
        "terseLabel": "Decrease by 10%"
       }
      }
     },
     "localname": "FairValueMeasurementsSensitivityAnalysisDerivativeAssetsFairValueDecrease",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FairValueMeasurementsSensitivityAnalysisDerivativeAssetsFairValueIncrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value decrease by the sensitivity of derivative assets for the percentage of fair value measurements to changes in unobservable inputs and the inter-relationships between those inputs as well as how those inter-relationships might magnify or mitigate the effect of changes in the unobservable inputs on the fair value measurements.",
        "label": "Fair Value Measurements Sensitivity Analysis Derivative Assets Fair Value Increase",
        "terseLabel": "Increase by 10%"
       }
      }
     },
     "localname": "FairValueMeasurementsSensitivityAnalysisDerivativeAssetsFairValueIncrease",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FairValueMeasurementsSensitivityAnalysisDerivativeLiabilitiesFairValueDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value decrease by the sensitivity of derivative liabilities for the percentage of fair value measurements to changes in unobservable inputs and the inter-relationships between those inputs as well as how those inter-relationships might magnify or mitigate the effect of changes in the unobservable inputs on the fair value measurements.",
        "label": "Fair Value Measurements Sensitivity Analysis Derivative Liabilities Fair Value Decrease",
        "negatedLabel": "Decrease by 10%",
        "terseLabel": "Decrease by 10%"
       }
      }
     },
     "localname": "FairValueMeasurementsSensitivityAnalysisDerivativeLiabilitiesFairValueDecrease",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FairValueMeasurementsSensitivityAnalysisDerivativeLiabilitiesFairValueIncrease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value increase by the sensitivity of derivative liabilities for the percentage of fair value measurements to changes in unobservable inputs and the inter-relationships between those inputs as well as how those inter-relationships might magnify or mitigate the effect of changes in the unobservable inputs on the fair value measurements.",
        "label": "Fair Value Measurements Sensitivity Analysis Derivative Liabilities Fair Value Increase",
        "terseLabel": "Increase by 10%"
       }
      }
     },
     "localname": "FairValueMeasurementsSensitivityAnalysisDerivativeLiabilitiesFairValueIncrease",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FairValueOfDeferredGuaranteeIncomeAtInceptionOfNewLoans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of deferred guarantee income at inception of new loans.",
        "label": "Fair value of deferred guarantee income at inception of new loans"
       }
      }
     },
     "localname": "FairValueOfDeferredGuaranteeIncomeAtInceptionOfNewLoans",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FairValueOfGuaranteeLiabilitiesAtInceptionOfNewLoans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of guarantee liabilities at inception of new loans.",
        "label": "Fair Value Of Guarantee Liabilities At Inception Of New Loans",
        "terseLabel": "Fair value of guarantee liabilities at inception of new loans"
       }
      }
     },
     "localname": "FairValueOfGuaranteeLiabilitiesAtInceptionOfNewLoans",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FairValueOfTheLoansWeightedAverageExpectedFutureRecoveryRates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of the loans weighted average expected future recovery rates.",
        "label": "Fair Value Of The Loans Weighted Average Expected Future Recovery Rates",
        "terseLabel": "Weighted average expected future recovery rates"
       }
      }
     },
     "localname": "FairValueOfTheLoansWeightedAverageExpectedFutureRecoveryRates",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEffectAdverseChangesInEstimatedFairValueOfLoansDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_FinancingReceivableCreditQualityIndicatorsByYearOfOriginationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable credit quality indicators by year of origination.",
        "label": "Financing Receivable Credit Quality Indicators By Year Of Origination Table [Text Block]",
        "terseLabel": "Summary of Amortized Cost within Each Credit Quality Indicator by Year of Origination for Five Origination Years and Beyond"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsByYearOfOriginationTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_FinancingReceivableGrossCarryingAmountDueAfterYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the gross carrying amount of financing receivables, prior to deducting the allowance for losses, receivable after three years from the balance sheet date.",
        "label": "Financing Receivable Gross Carrying Amount Due After Year Three",
        "terseLabel": "Due thereafter"
       }
      }
     },
     "localname": "FinancingReceivableGrossCarryingAmountDueAfterYearThree",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FinancingReceivableGrossCarryingAmountDueInNextTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the gross carrying amount of financing receivables, prior to deducting the allowance for losses, receivable within one year from the balance sheet date.",
        "label": "Financing Receivable Gross Carrying Amount Due In Next Twelve Months",
        "terseLabel": "Due in 0-12 months"
       }
      }
     },
     "localname": "FinancingReceivableGrossCarryingAmountDueInNextTwelveMonths",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FinancingReceivableGrossCarryingAmountDueInYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the gross carrying amount of financing receivables, prior to deducting the allowance for losses, receivable within three year from the balance sheet date.",
        "label": "Financing Receivable Gross Carrying Amount Due In Year Three",
        "terseLabel": "Due in 25-36 months"
       }
      }
     },
     "localname": "FinancingReceivableGrossCarryingAmountDueInYearThree",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FinancingReceivableGrossCarryingAmountDueInYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the gross carrying amount of financing receivables, prior to deducting the allowance for losses, receivable within two years from the balance sheet date.",
        "label": "Financing Receivable Gross Carrying Amount Due In Year Two",
        "terseLabel": "Due in 13-24 months"
       }
      }
     },
     "localname": "FinancingReceivableGrossCarryingAmountDueInYearTwo",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FinancingReceivableOriginatedFourYearsAndMoreThanFourYearsBeforeCurrentFiscalYear": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon": {
       "order": 0.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable originated four years and more than four years before current fiscal year.",
        "label": "Financing Receivable Originated Four Years And More Than Four Years Before Current Fiscal Year",
        "terseLabel": "Loans originated in 2018 and before"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedFourYearsAndMoreThanFourYearsBeforeCurrentFiscalYear",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FinancingReceivableWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of weighted average interest rates of these financing receivables.",
        "label": "Financing Receivable Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rates of financing receivables (as a percent)"
       }
      }
     },
     "localname": "FinancingReceivableWeightedAverageInterestRate",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_FinancingReceivablesEqualOrGreaterThan180DaysPastDueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables equal or greater than 180 days past due.",
        "label": "Financing Receivables Equal Or Greater Than180 Days Past Due [Member]",
        "terseLabel": "180 Days or Greater Due"
       }
      }
     },
     "localname": "FinancingReceivablesEqualOrGreaterThan180DaysPastDueMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_FirstPaymentToAcquireLandUseRights": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First payment to acquire land use rights.",
        "label": "First Payment To Acquire Land Use Rights",
        "terseLabel": "First installment payment"
       }
      }
     },
     "localname": "FirstPaymentToAcquireLandUseRights",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FundingDebtsObligationsToFundingPartnersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Funding debts obligations to funding partners.",
        "label": "Funding Debts Obligations To Funding Partners [Member]",
        "terseLabel": "Liabilities to Funding Partners"
       }
      }
     },
     "localname": "FundingDebtsObligationsToFundingPartnersMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfGroupSOutstandingFundingDebtsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_FundingDebtsObligationsToIndividualInvestorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for funding debt liabilities to Individual Investors.",
        "label": "Funding Debts Obligations To Individual Investors [Member]",
        "terseLabel": "Liabilities to Individual Investors - Juzi Licai"
       }
      }
     },
     "localname": "FundingDebtsObligationsToIndividualInvestorsMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_FundingDebtsObligationsToOtherFundingPartnersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for funding debt liabilities to other funding partners.",
        "label": "Funding Debts Obligations To Other Funding Partners [Member]",
        "terseLabel": "Liabilities to Other Funding Partners"
       }
      }
     },
     "localname": "FundingDebtsObligationsToOtherFundingPartnersMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_FundingDebtsObligationsWithVariableInterestRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Funding debts obligations with variable interest rate.",
        "label": "Funding Debts Obligations With Variable Interest Rate [Member]",
        "terseLabel": "Interest payments"
       }
      }
     },
     "localname": "FundingDebtsObligationsWithVariableInterestRateMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_FundingDebtsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for debts to fund the Group's on balance sheet loans.",
        "label": "Funding Debts Policy Policy [Text Block]",
        "terseLabel": "Funding Debts"
       }
      }
     },
     "localname": "FundingDebtsPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_FundsPayableToIndividualInvestors": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of funds payable to individual investors",
        "label": "Funds Payable To Individual Investors",
        "terseLabel": "Funds payable to Individual Investors (including amounts of the consolidated VIEs of RMB618,749 and nil as of December 31, 2019 and 2020, respectively)",
        "verboseLabel": "Funds payable to Individual Investors"
       }
      }
     },
     "localname": "FundsPayableToIndividualInvestors",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_FundsPayableToInstitutionalFundingPartners": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of funds payable to institutional funding partners, due within one year or the normal operating cycle, if longer.",
        "label": "Funds Payable To Institutional Funding Partners",
        "terseLabel": "Funds payable to Institutional Funding Partners"
       }
      }
     },
     "localname": "FundsPayableToInstitutionalFundingPartners",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_GainLossOnChangeInFairValueOfLoansAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain (loss) on change in fair value of loans at fair value.",
        "label": "Gain Loss On Change In Fair Value Of Loans At Fair Value",
        "negatedLabel": "Change in fair value of loans at fair value"
       }
      }
     },
     "localname": "GainLossOnChangeInFairValueOfLoansAtFairValue",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_GanjiangNewAreaMengtianFinancingGuaranteeCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ganjiang New Area Mengtian Financing Guarantee Co., Ltd.",
        "label": "Ganjiang New Area Mengtian Financing Guarantee Co., Ltd. [Member]",
        "terseLabel": "Ganjiang New Area Mengtian Financing Guarantee"
       }
      }
     },
     "localname": "GanjiangNewAreaMengtianFinancingGuaranteeCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_GeneralAndAdministrativeExpensesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for inclusion of significant items in the general and administrative (or similar) expense report caption.",
        "label": "General And Administrative Expenses Policy Policy [Text Block]",
        "terseLabel": "General and Administrative Expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpensesPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_GeneralReserveLevelThresholdForMandatoryTransferPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the level of the general reserve fund balance as a percentage of registered capital for entities incorporated in the People's Republic of China which must be attained before mandatory transfers to the reserve are no longer required.",
        "label": "General Reserve Level Threshold For Mandatory Transfer Percentage",
        "terseLabel": "Required subsidiaries registered capital to avoid net profit allocation to general reserve (as a percent)"
       }
      }
     },
     "localname": "GeneralReserveLevelThresholdForMandatoryTransferPercentage",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssetsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_GuaranteeCompanyAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee company A.",
        "label": "Guarantee Company A [Member]",
        "terseLabel": "Guarantee Company A"
       }
      }
     },
     "localname": "GuaranteeCompanyAMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_GuaranteeCompanyBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee Company B [Member]",
        "label": "Guarantee Company B [Member]",
        "terseLabel": "Guarantee Company B"
       }
      }
     },
     "localname": "GuaranteeCompanyBMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_GuaranteeCompanyCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to guarantee company C.",
        "label": "Guarantee Company C [Member]",
        "terseLabel": "Guarantee Company C"
       }
      }
     },
     "localname": "GuaranteeCompanyCMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_GuaranteeCompanyDMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee Company D.",
        "label": "Guarantee Company D [Member]",
        "terseLabel": "Guarantee Company D"
       }
      }
     },
     "localname": "GuaranteeCompanyDMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_GuaranteeCompanyEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee Company E.",
        "label": "Guarantee Company E [Member]",
        "terseLabel": "Guarantee Company E"
       }
      }
     },
     "localname": "GuaranteeCompanyEMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_GuaranteeDerivativesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for guarantee derivatives.",
        "label": "Guarantee Derivatives Policy [Text Block]",
        "terseLabel": "Guarantee Derivatives"
       }
      }
     },
     "localname": "GuaranteeDerivativesPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_GuaranteeLiabilityWeightedAverageCumulativeDefaultRates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average cumulative default rates related to guarantee liability. It is expressed as a percentage of the original principal balance of the loans.",
        "label": "Guarantee Liability Weighted Average Cumulative Default Rates",
        "terseLabel": "Weighted average cumulative loss rates"
       }
      }
     },
     "localname": "GuaranteeLiabilityWeightedAverageCumulativeDefaultRates",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_GuaranteeReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee Receivable [Member]",
        "label": "Guarantee Receivable [Member]",
        "terseLabel": "Guarantee Receivable"
       }
      }
     },
     "localname": "GuaranteeReceivableMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_GuaranteeReceivablesAllowanceForCreditLossesCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee receivables allowance for credit losses current.",
        "label": "Guarantee Receivables Allowance For Credit Losses Current",
        "terseLabel": "Short-term guarantee receivables, allowance for credit losses"
       }
      }
     },
     "localname": "GuaranteeReceivablesAllowanceForCreditLossesCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_GuaranteeReceivablesAllowanceForCreditLossesNoncurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee receivables allowance for credit losses noncurrent.",
        "label": "Guarantee Receivables Allowance For Credit Losses Noncurrent",
        "terseLabel": "Long-term guarantee receivables, allowance for credit losses"
       }
      }
     },
     "localname": "GuaranteeReceivablesAllowanceForCreditLossesNoncurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_GuaranteeReceivablesAndLiabilitiesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for guarantee receivables and liabilities.",
        "label": "Guarantee Receivables And Liabilities Policy Policy [Text Block]",
        "terseLabel": "Guarantee Receivables and Liabilities"
       }
      }
     },
     "localname": "GuaranteeReceivablesAndLiabilitiesPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_GuaranteeReceivablesNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee receivables net.",
        "label": "Guarantee Receivables Net",
        "verboseLabel": "Guarantee receivables, net"
       }
      }
     },
     "localname": "GuaranteeReceivablesNet",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_HeldToMaturitySecuritiesDebtMaturitiesTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held to maturity securities debt maturities term.",
        "label": "Held To Maturity Securities Debt Maturities Term",
        "terseLabel": "Maturity term"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesTerm",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "lx_HypotheticalChangesInFairValueOfLoansAtFairValueExpectedFutureRecoveryDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hypothetical changes in fair value of loans at fair value expected future recovery Decrease.",
        "label": "Hypothetical Changes In Fair Value Of Loans At Fair Value Expected Future Recovery Decrease",
        "negatedLabel": "Decrease by 10%",
        "terseLabel": "Decrease by 10%"
       }
      }
     },
     "localname": "HypotheticalChangesInFairValueOfLoansAtFairValueExpectedFutureRecoveryDecrease",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEffectAdverseChangesInEstimatedFairValueOfLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_HypotheticalChangesInFairValueOfLoansAtFairValueExpectedFutureRecoveryIncrease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hypothetical changes in fair value of loans at fair value expected future recovery increase.",
        "label": "Hypothetical Changes In Fair Value Of Loans At Fair Value Expected Future Recovery Increase",
        "terseLabel": "Increase by 10%"
       }
      }
     },
     "localname": "HypotheticalChangesInFairValueOfLoansAtFairValueExpectedFutureRecoveryIncrease",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEffectAdverseChangesInEstimatedFairValueOfLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ImmediateFamilyMemberOfManagementOrPrincipalOwnerAndJianAoxinlianInformationConsultingServiceCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Immediate family member of management or principal owner and Jian Aoxinlian information consulting service Co Ltd.",
        "label": "Immediate Family Member Of Management Or Principal Owner And Jian Aoxinlian Information Consulting Service Co Ltd [Member]",
        "terseLabel": "Individual Director or Officer and his/her immediate family members under investment programs offered by the Group and Due to Ji'an Aoxinlian"
       }
      }
     },
     "localname": "ImmediateFamilyMemberOfManagementOrPrincipalOwnerAndJianAoxinlianInformationConsultingServiceCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_IncomeLossFromSubsidiaries": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income loss from subsidiaries.",
        "label": "Income Loss From Subsidiaries",
        "terseLabel": "Share of income from subsidiaries"
       }
      }
     },
     "localname": "IncomeLossFromSubsidiaries",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncomeLossFromSubsidiariesAndVariableInterestEntities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of income (loss) from subsidiaries and variable interest entities.",
        "label": "Income Loss From Subsidiaries And Variable Interest Entities",
        "terseLabel": "Income (loss) from subsidiaries and VIEs",
        "verboseLabel": "Income from subsidiaries, the VIEs and the VIEs' subsidiaries"
       }
      }
     },
     "localname": "IncomeLossFromSubsidiariesAndVariableInterestEntities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncomeTaxDisclosureTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting income taxes.",
        "label": "Income Tax Disclosure [Table]",
        "terseLabel": "Income Tax Disclosure [Table]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTable",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_IncomeTaxHolidayIncomeTaxBenefitsPerShareBasic": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic net income per share effect of the income tax benefit resulting from the income tax holidays granted by taxing jurisdictions.",
        "label": "Income Tax Holiday Income Tax Benefits Per Share Basic",
        "terseLabel": "Basic net income per share effect"
       }
      }
     },
     "localname": "IncomeTaxHolidayIncomeTaxBenefitsPerShareBasic",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureTaxationEffectOfTaxHolidayRelatedToGroupDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "lx_IncomeTaxHolidayIncomeTaxBenefitsPerShareDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diluted net income per share amount effect of the income tax benefit resulting from the income tax holidays granted by taxing jurisdictions.",
        "label": "Income Tax Holiday Income Tax Benefits Per Share Diluted",
        "terseLabel": "Diluted net income per share effect"
       }
      }
     },
     "localname": "IncomeTaxHolidayIncomeTaxBenefitsPerShareDiluted",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureTaxationEffectOfTaxHolidayRelatedToGroupDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "lx_IncomeTaxesLineItems": {
     "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": "Income Taxes [Line Items]",
        "terseLabel": "Income Taxes [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesLineItems",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_IncreaseDecreaseInAccountsPayableCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 36.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of current liabilities",
        "label": "Increase Decrease In Accounts Payable Current",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncreaseDecreaseInCashFlowsFromFinancingActivities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in cash flows from financing activities.",
        "label": "Increase (decrease) in cash flows from financing activities"
       }
      }
     },
     "localname": "IncreaseDecreaseInCashFlowsFromFinancingActivities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncreaseDecreaseInCashFlowsFromInvestingActivities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in cash flows from investing activities.",
        "label": "Increase (decrease) in cash flows from investing activities"
       }
      }
     },
     "localname": "IncreaseDecreaseInCashFlowsFromInvestingActivities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncreaseDecreaseInCashFlowsFromOperatingActivities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in cash flows from operating activities.",
        "label": "Increase (decrease) in cash flows from operating activities",
        "terseLabel": "Increase (decrease) in cash used in operating activities"
       }
      }
     },
     "localname": "IncreaseDecreaseInCashFlowsFromOperatingActivities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncreaseDecreaseInContingentGuaranteeLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 42.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase decrease in contingent guarantee liabilities.",
        "label": "Increase Decrease In Contingent Guarantee Liabilities",
        "terseLabel": "Contingent guarantee liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInContingentGuaranteeLiabilities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncreaseDecreaseInDepositToInsuranceCompaniesAndGuaranteeCompanies": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 29.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in deposits to insurance companies and guarantee companies.",
        "label": "Increase Decrease In Deposit To Insurance Companies And Guarantee Companies",
        "negatedLabel": "Deposits to insurance companies and guarantee companies"
       }
      }
     },
     "localname": "IncreaseDecreaseInDepositToInsuranceCompaniesAndGuaranteeCompanies",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncreaseDecreaseInGuaranteeReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 31.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of increase (decrease) in guarantee receivables",
        "label": "Increase Decrease In Guarantee Receivables",
        "negatedLabel": "Guarantee receivables",
        "terseLabel": "Increase in guarantee receivables"
       }
      }
     },
     "localname": "IncreaseDecreaseInGuaranteeReceivables",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncreaseDecreaseInLandUseRights": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 44.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase decrease in land use rights.",
        "label": "Increase Decrease In Land Use Rights",
        "negatedLabel": "Land use rights"
       }
      }
     },
     "localname": "IncreaseDecreaseInLandUseRights",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_IncreaseDecreaseInOtherPayableToIndividualInvestors": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 40.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in other payable to individual investors.",
        "label": "Increase (Decrease) in Other Payable to Individual Investors",
        "terseLabel": "Other payable to Individual Investors"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherPayableToIndividualInvestors",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_InstallmentECommercePlatformServiceIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Installment e-commerce platform service income.",
        "label": "Installment E-Commerce Platform Service Income [Member]",
        "verboseLabel": "Installment e-commerce platform service income"
       }
      }
     },
     "localname": "InstallmentECommercePlatformServiceIncomeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InstallmentECommercePlatformServiceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Installment e-commerce platform service member.",
        "label": "Installment E-commerce Platform Service [Member]",
        "terseLabel": "Installment e-commerce platform service"
       }
      }
     },
     "localname": "InstallmentECommercePlatformServiceMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InstallmentHongKongInvestmentLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Installment Hong Kong Investment Limited (\"Installment HK\").",
        "label": "Installment Hong Kong Investment Limited [Member]",
        "terseLabel": "Installment HK"
       }
      }
     },
     "localname": "InstallmentHongKongInvestmentLimitedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InstallmentPurchaseLoansAndPersonalInstallmentLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Installment purchase loans and personal installment loans.",
        "label": "Installment Purchase Loans And Personal Installment Loans [Member]",
        "terseLabel": "Installment purchase loans and personal installment loans"
       }
      }
     },
     "localname": "InstallmentPurchaseLoansAndPersonalInstallmentLoansMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InstallmentPurchaseLoansAndPersonalInstallmentLoansOriginalTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Installment purchase loans and personal installment loans original term.",
        "label": "Installment Purchase Loans And Personal Installment Loans Original Term",
        "terseLabel": "Installment purchase loans and personal installment loans original term"
       }
      }
     },
     "localname": "InstallmentPurchaseLoansAndPersonalInstallmentLoansOriginalTerm",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "lx_InstallmentPurchaseLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to installment purchase loans, which are loans offered to Customers who want to finance their online direct purchase from the Platform.",
        "label": "Installment Purchase Loans [Member]",
        "terseLabel": "Installment Purchase Loans"
       }
      }
     },
     "localname": "InstallmentPurchaseLoansMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InstitutionalFundingPartnerAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Institutional Funding Partner A.",
        "label": "Institutional Funding Partner A [Member]",
        "terseLabel": "Institutional Funding Partner A"
       }
      }
     },
     "localname": "InstitutionalFundingPartnerAMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InstitutionalFundingPartnerBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Institutional funding partner B.",
        "label": "Institutional Funding Partner B"
       }
      }
     },
     "localname": "InstitutionalFundingPartnerBMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InstitutionalFundingPartnerCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Institutional Funding Partner C.",
        "label": "Institutional Funding Partner C [Member]",
        "verboseLabel": "Institutional Funding Partner C"
       }
      }
     },
     "localname": "InstitutionalFundingPartnerCMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InsuranceCompanyBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Insurance Company B.",
        "label": "Insurance Company B [Member]",
        "terseLabel": "Insurance Company B"
       }
      }
     },
     "localname": "InsuranceCompanyBMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InsuranceCompanyCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Insurance company C.",
        "label": "Insurance Company C"
       }
      }
     },
     "localname": "InsuranceCompanyCMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InterGroupAndOthersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inter-Group and Others [Member]",
        "label": "Inter-Group and Others [Member]",
        "terseLabel": "Inter-Group and Others"
       }
      }
     },
     "localname": "InterGroupAndOthersMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InterGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inter group.",
        "label": "Inter Group [Member]",
        "terseLabel": "Inter-group"
       }
      }
     },
     "localname": "InterGroupMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InterestAndFinancialServicesIncomeAndOtherRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and financial services income and other revenues.",
        "label": "Interest And Financial Services Income And Other Revenues [Member]",
        "terseLabel": "Interest and financial services income and other revenues"
       }
      }
     },
     "localname": "InterestAndFinancialServicesIncomeAndOtherRevenuesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InterestPaymentsByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Interest Payments By Maturity [Abstract]",
        "terseLabel": "Maturities of interest payments"
       }
      }
     },
     "localname": "InterestPaymentsByMaturityAbstract",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_InventorySupplierAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to inventory supplier A.",
        "label": "Inventory Supplier A [Member]",
        "terseLabel": "Inventory Supplier A"
       }
      }
     },
     "localname": "InventorySupplierAMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InventorySupplierBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to inventory supplier B.",
        "label": "Inventory Supplier B [Member]",
        "terseLabel": "Inventory Supplier B"
       }
      }
     },
     "localname": "InventorySupplierBMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InventorySupplierCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to inventory supplier C.",
        "label": "Inventory Supplier C [Member]",
        "terseLabel": "Inventory Supplier C"
       }
      }
     },
     "localname": "InventorySupplierCMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InventorySupplierDMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory Supplier D.",
        "label": "Inventory Supplier D [Member]",
        "terseLabel": "Inventory Supplier D"
       }
      }
     },
     "localname": "InventorySupplierDMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InventorySupplierEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory Supplier E [Member]",
        "label": "Inventory Supplier E"
       }
      }
     },
     "localname": "InventorySupplierEMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InventorySupplierFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory supplier f.",
        "label": "Inventory Supplier F [Member]",
        "terseLabel": "Inventory Supplier F"
       }
      }
     },
     "localname": "InventorySupplierFMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InventorySupplierMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory supplier.",
        "label": "Inventory Supplier [Member]",
        "terseLabel": "Inventory Supplier"
       }
      }
     },
     "localname": "InventorySupplierMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InventoryWritedownWriteUps": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss/gain from reductions or (write-ups)in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels.",
        "label": "Inventory Writedown Write Ups",
        "terseLabel": "Change in inventory provision"
       }
      }
     },
     "localname": "InventoryWritedownWriteUps",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_InvestmentProgramManagementServiceFeesCreditOrientedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment program management service fees credit oriented.",
        "label": "Investment Program Management Service Fees Credit Oriented [Member]",
        "terseLabel": "Investment Program Management Service Fees-Credit Oriented"
       }
      }
     },
     "localname": "InvestmentProgramManagementServiceFeesCreditOrientedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_InvestmentsInLoansAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in loans at fair value.",
        "label": "Investments In Loans At Fair Value",
        "terseLabel": "Investments in loans at fair value"
       }
      }
     },
     "localname": "InvestmentsInLoansAtFairValue",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_InvestorPeriodTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The term of the investing period.",
        "label": "Investor Period Term",
        "terseLabel": "Investor period term"
       }
      }
     },
     "localname": "InvestorPeriodTerm",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "lx_JiMicrocreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Ji'an Fenquile Network Microcredit.",
        "label": "Ji Microcredit [Member]",
        "terseLabel": "Ji'an Microcredit"
       }
      }
     },
     "localname": "JiMicrocreditMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_JianAojuxunInformationConsultingServiceCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ji'an Aojuxun Information Consulting Service Co., Ltd.",
        "label": "Jian Aojuxun Information Consulting Service Co Ltd [Member]",
        "terseLabel": "Ji'an Aojuxun"
       }
      }
     },
     "localname": "JianAojuxunInformationConsultingServiceCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_JianAoxinlianInformationConsultingServiceCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ji'an Aoxinlian Information Consulting Service Co., Ltd.",
        "label": "Jian Aoxinlian Information Consulting Service Co Ltd [Member]",
        "terseLabel": "Ji'an Aoxinlian",
        "verboseLabel": "Due to Ji'an Aoxinlian by the Group"
       }
      }
     },
     "localname": "JianAoxinlianInformationConsultingServiceCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LPTechnologyHoldingsLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "L.P. Technology Holdings Limited.",
        "label": "L.P. Technology Holdings Limited [Member]",
        "terseLabel": "Due from L.P. Technology Holdings Limited by the Group",
        "verboseLabel": "Due from L.P. by the Group"
       }
      }
     },
     "localname": "LPTechnologyHoldingsLimitedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LandUseRightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Land use right.",
        "label": "Land Use Right [Member]",
        "terseLabel": "Land Use Right"
       }
      }
     },
     "localname": "LandUseRightMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LandUseRightsNetPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Land use rights, net.",
        "label": "Land Use Rights Net Policy [Text Block]",
        "terseLabel": "Land Use Rights, Net"
       }
      }
     },
     "localname": "LandUseRightsNetPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_LesseeOperatingLeaseLiabilityPaymentsDueYearFourAndAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee Operating Lease Liability Payments Due Year Four And After Year Four",
        "label": "2025 and thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFourAndAfterYearFour",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_LoanFacilitationAndMatchingServiceFeeCreditOrientedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan facilitation and matching service fee credit oriented.",
        "label": "Loan Facilitation And Matching Service Fee Credit Oriented [Member]",
        "terseLabel": "Loan Facilitation and Matching Servicing Fees-Credit Oriented"
       }
      }
     },
     "localname": "LoanFacilitationAndMatchingServiceFeeCreditOrientedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LoanFacilitationAndMatchingServiceFeePerformanceBasedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan facilitation and matching service fee performance based.",
        "label": "Loan Facilitation And Matching Service Fee Performance Based [Member]",
        "terseLabel": "Loan Facilitation and Matching Servicing Fees-Performance Based"
       }
      }
     },
     "localname": "LoanFacilitationAndMatchingServiceFeePerformanceBasedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LoanFacilitationAndServicingFeesCreditOrientedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan facilitation and servicing fees credit oriented.",
        "label": "Loan Facilitation And Servicing Fees Credit Oriented [Member]",
        "terseLabel": "Loan facilitation and servicing fees-credit oriented"
       }
      }
     },
     "localname": "LoanFacilitationAndServicingFeesCreditOrientedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LoanFacilitationAndServicingFeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan Facilitation And Servicing Fees.",
        "label": "Loan Facilitation And Servicing Fees [Member]",
        "terseLabel": "Loan facilitation and servicing fees"
       }
      }
     },
     "localname": "LoanFacilitationAndServicingFeesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LoanFacilitationAndServicingFeesPerformanceBasedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan facilitation and servicing fees performance based.",
        "label": "Loan Facilitation And Servicing Fees Performance Based [Member]",
        "terseLabel": "Loan facilitation and servicing fees-performance based"
       }
      }
     },
     "localname": "LoanFacilitationAndServicingFeesPerformanceBasedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LoanFacilitationAndServicingFeesVolumeBasedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan facilitation and servicing fees volume based.",
        "label": "Loan Facilitation And Servicing Fees Volume Based [Member]",
        "terseLabel": "Loan facilitation and servicing fees-volume based"
       }
      }
     },
     "localname": "LoanFacilitationAndServicingFeesVolumeBasedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LoanSevenMaturesOnFebruary72019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Loan Seven, Matures on February 7, 2019.",
        "label": "Loan Seven Matures On February72019 [Member]",
        "terseLabel": "Loan VII"
       }
      }
     },
     "localname": "LoanSevenMaturesOnFebruary72019Member",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LoansAtFairValueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans at fair value.",
        "label": "Loans At Fair Value [Member]",
        "terseLabel": "Loans At Fair Value"
       }
      }
     },
     "localname": "LoansAtFairValueMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_LongTermDebtMaturitiesRepaymentsOfInterestInNextRollingTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt interest payable in the next rolling twelve months following the latest balance sheet.",
        "label": "Long Term Debt Maturities Repayments Of Interest In Next Rolling Twelve Months",
        "terseLabel": "1 \u2013 12 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfInterestInNextRollingTwelveMonths",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_LongTermDebtMaturitiesRepaymentsOfInterestInNextTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestPayableCurrentAndNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt interest payable in the next fiscal year following the latest fiscal year.",
        "label": "Long Term Debt Maturities Repayments Of Interest In Next Twelve Months",
        "terseLabel": "1 - 12 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfInterestInNextTwelveMonths",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_LongTermDebtMaturitiesRepaymentsOfInterestInRollingYearThree": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt interest payable in the third rolling twelve months following the latest balance sheet.",
        "label": "Long Term Debt Maturities Repayments Of Interest In Rolling Year Three",
        "terseLabel": "25 \u2013 36 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfInterestInRollingYearThree",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_LongTermDebtMaturitiesRepaymentsOfInterestInRollingYearTwo": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt interest payable in the second rolling twelve months following the latest balance sheet.",
        "label": "Long Term Debt Maturities Repayments Of Interest In Rolling Year Two",
        "terseLabel": "13 \u2013 24 months",
        "verboseLabel": "more than 36 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfInterestInRollingYearTwo",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_LongTermDebtMaturitiesRepaymentsOfInterestInYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestPayableCurrentAndNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt interest payable in the second fiscal year following the latest fiscal year.",
        "label": "Long Term Debt Maturities Repayments Of Interest In Year Two",
        "terseLabel": "13 - 24 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfInterestInYearTwo",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestInNextRollingTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long term debt maturities repayments of principal and interest in next rolling twelve months.",
        "label": "Long Term Debt Maturities Repayments Of Principal and Interest In Next Rolling Twelve Months",
        "terseLabel": "1 - 12 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestInNextRollingTwelveMonths",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestInRollingYearFour": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long term debt maturities repayments of principal and interest in rolling year four.",
        "label": "Long Term Debt Maturities Repayments Of Principal and Interest In Rolling Year Four",
        "terseLabel": "more than 36 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestInRollingYearFour",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_LongTermDebtPaymentsOfInterestRollingMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Long Term Debt Payments Of Interest Rolling Maturity [Abstract]",
        "terseLabel": "Interest payments"
       }
      }
     },
     "localname": "LongTermDebtPaymentsOfInterestRollingMaturityAbstract",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_LongTermFundingDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long Term Funding Debt.",
        "label": "Long Term Funding Debt [Member]",
        "terseLabel": "Long Term Funding Debt"
       }
      }
     },
     "localname": "LongTermFundingDebtMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_Longtermdebtmaturitiesrepaymentsofinterestinrollingyearfour": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt interest payable in the fourth rolling twelve months following the latest balance sheet.",
        "label": "Longtermdebtmaturitiesrepaymentsofinterestinrollingyearfour",
        "terseLabel": "more than 36 months"
       }
      }
     },
     "localname": "Longtermdebtmaturitiesrepaymentsofinterestinrollingyearfour",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_MeasurementInputExpectedFutureRecoveryRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input expected future recovery rate.",
        "label": "Measurement Input Expected Future Recovery Rate [Member]",
        "terseLabel": "Expected Future Recovery Rates"
       }
      }
     },
     "localname": "MeasurementInputExpectedFutureRecoveryRateMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_MeasurementInputMarginsOnCostMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using margins on cost.",
        "label": "Measurement Input Margins On Cost [Member]",
        "terseLabel": "Margins on Cost of Guarantee Services"
       }
      }
     },
     "localname": "MeasurementInputMarginsOnCostMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_MembershipServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Membership Services [Member]",
        "terseLabel": "Membership services"
       }
      }
     },
     "localname": "MembershipServicesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_MinimumPercentageOfAfterTaxProfitTransferredToGeneralReserveFund": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the minimum percentage of after-tax profit transferred by Chinese subsidiaries to general reserve fund.",
        "label": "Minimum Percentage Of After Tax Profit Transferred To General Reserve Fund",
        "terseLabel": "Minimum percentage of after-tax profit transferred by Chinese subsidiaries to general reserve fund (as a percent)"
       }
      }
     },
     "localname": "MinimumPercentageOfAfterTaxProfitTransferredToGeneralReserveFund",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_MinimumPercentageOfAfterTaxProfitTransferredToStatutoryReserveFund": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the minimum percentage of after-tax profit transferred by VIEs to statutory reserve fund.",
        "label": "Minimum Percentage Of After Tax Profit Transferred To Statutory Reserve Fund",
        "terseLabel": "Minimum percentage of after-tax profit transferred by VIEs to statutory surplus fund (as a percent)"
       }
      }
     },
     "localname": "MinimumPercentageOfAfterTaxProfitTransferredToStatutoryReserveFund",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_NonEmployeeDirectorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to non-employee directors.",
        "label": "Non Employee Directors [Member]",
        "terseLabel": "Non-employee directors"
       }
      }
     },
     "localname": "NonEmployeeDirectorsMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_NonEmployeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represents information relating to Non-employee.",
        "label": "Non Employee [Member]",
        "terseLabel": "Non-employees"
       }
      }
     },
     "localname": "NonEmployeeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_NumberOfIncentiveCoupons": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of major types of incentive coupons.",
        "label": "Number Of Incentive Coupons",
        "terseLabel": "Number of major types of incentive coupons"
       }
      }
     },
     "localname": "NumberOfIncentiveCoupons",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_NumberOfInvestmentsInJointVenture": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of investments in joint venture.",
        "label": "Number Of Investments In Joint Venture",
        "terseLabel": "Number of investments in joint venture"
       }
      }
     },
     "localname": "NumberOfInvestmentsInJointVenture",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_NumberOfMonthlyInstallmentsOfPrincipal": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of monthly installments of principal.",
        "label": "Number of Monthly Installments of Principal",
        "terseLabel": "Number of monthly installments of principal"
       }
      }
     },
     "localname": "NumberOfMonthlyInstallmentsOfPrincipal",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_NumberOfVotingRightsEntitledPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of voting rights of ordinary shares. Includes eligibility to vote and votes per share owned.",
        "label": "Number Of Voting Rights Entitled Per Share",
        "terseLabel": "Number of votes per share"
       }
      }
     },
     "localname": "NumberOfVotingRightsEntitledPerShare",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "lx_OnAndOffBalanceSheetCreditExposurePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policies and methodologies used to estimate the entity's liability for on and off-balance sheet credit exposures and related charges for those credit exposures.",
        "label": "On And Off Balance Sheet Credit Exposure Policy Policy [Text Block]",
        "terseLabel": "Presentation for On- and Off-Balance Sheet Loans"
       }
      }
     },
     "localname": "OnAndOffBalanceSheetCreditExposurePolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_OnlineDirectSalesAndServicesIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Online direct sales and services income.",
        "label": "Online Direct Sales And Services Income [Member]",
        "terseLabel": "Online direct sales and services income"
       }
      }
     },
     "localname": "OnlineDirectSalesAndServicesIncomeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_OnlineDirectSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to online direct sales.",
        "label": "Online Direct Sales [Member]",
        "terseLabel": "Online direct sales"
       }
      }
     },
     "localname": "OnlineDirectSalesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_OtherPayableToIndividualInvestorsAccruedCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other payable to Individual Investors accrued current.",
        "label": "Other Payable To Individual Investors Accrued Current",
        "terseLabel": "Other payable to Individual Investors on Juzi Licai"
       }
      }
     },
     "localname": "OtherPayableToIndividualInvestorsAccruedCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_PaymentsForPlacementOfRestrictedTermDepositsAndShortTermInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for placement of restricted term deposits and short term investments.",
        "label": "Payments For Placement Of Restricted Term Deposits And Short Term Investments",
        "negatedLabel": "Placement of restricted term deposits and short-term investments"
       }
      }
     },
     "localname": "PaymentsForPlacementOfRestrictedTermDepositsAndShortTermInvestments",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_PaymentsForRepurchaseOfTreasuryStock": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for repurchase of treasury stock.",
        "label": "Payments For Repurchase Of Treasury Stock",
        "negatedLabel": "Repurchase of treasury stock",
        "terseLabel": "Repurchase of treasury stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfTreasuryStock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_PercentageOfContractAssetsAndReceivables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of contract assets and receivables.",
        "label": "Percentage of contract assets and receivables"
       }
      }
     },
     "localname": "PercentageOfContractAssetsAndReceivables",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_PersonalInstallmentLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to personal installment loans, which are loans provided to Customers who have consumption needs (other than purchase from the Platform).",
        "label": "Personal Installment Loans [Member]",
        "terseLabel": "Personal Installment Loans"
       }
      }
     },
     "localname": "PersonalInstallmentLoansMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_PlatformBasedServicesIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Platform based services income.",
        "label": "Platform Based Services Income [Member]",
        "terseLabel": "Platform-based services income",
        "verboseLabel": "Platform-based services income"
       }
      }
     },
     "localname": "PlatformBasedServicesIncomeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_PlatformBasedServicesIncomeMembershipServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Platform-Based Services Income Membership Services [Member]",
        "label": "Platform-Based Services Income Membership Services [Member]",
        "verboseLabel": "Membership Services"
       }
      }
     },
     "localname": "PlatformBasedServicesIncomeMembershipServicesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_PlatformBasedServicesIncomeOtherServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Platform-based services income other services.",
        "label": "Platform-Based Services Income Other Services [Member]",
        "verboseLabel": "Other Services"
       }
      }
     },
     "localname": "PlatformBasedServicesIncomeOtherServicesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_PostOriginationServiceFeesCreditOrientedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Post origination service fees credit oriented.",
        "label": "Post Origination Service Fees Credit Oriented [Member]",
        "terseLabel": "Post-Origination Servicing Fees-Credit Oriented"
       }
      }
     },
     "localname": "PostOriginationServiceFeesCreditOrientedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_PostOriginationServiceFeesPerformanceBasedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Post-origination service fees-performance based.",
        "label": "Post Origination Service Fees Performance Based [Member]",
        "terseLabel": "Post-Origination Servicing Fees-Performance Based"
       }
      }
     },
     "localname": "PostOriginationServiceFeesPerformanceBasedMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_PreferentialWithholdingTaxRateOnDividendsForeignInvestedEnterprises": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferential withholding tax rate on dividends, foreign invested enterprises.",
        "label": "Preferential Withholding Tax Rate On Dividends Foreign Invested Enterprises",
        "terseLabel": "Preferential withholding tax rate on dividends, foreign invested enterprises"
       }
      }
     },
     "localname": "PreferentialWithholdingTaxRateOnDividendsForeignInvestedEnterprises",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_PremiumMembershipFeesThirdPartySellersCommissionFeesAndFinancialServicesIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining premium membership fees, third-party sellers' commission fees, and financial services income.",
        "label": "Premium Membership Fees Third Party Sellers Commission Fees And Financial Services Income [Member]",
        "terseLabel": "Premium membership fees, third-party sellers' commission fees, and financial services income"
       }
      }
     },
     "localname": "PremiumMembershipFeesThirdPartySellersCommissionFeesAndFinancialServicesIncomeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_PrepaymentsAndOtherCurrentAssetsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepayments and other current assets.",
        "label": "Prepayments And Other Current Assets [Table Text Block]",
        "terseLabel": "Prepayments And Other Current Assets"
       }
      }
     },
     "localname": "PrepaymentsAndOtherCurrentAssetsTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ProceedsFromDisposalOfInvestmentsAndRefundOfPrepaymentOnLongTermInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from disposal of investments and refund of prepayment on long-term investments.",
        "label": "Proceeds from disposal of investments and refund of prepayment on long-term investments"
       }
      }
     },
     "localname": "ProceedsFromDisposalOfInvestmentsAndRefundOfPrepaymentOnLongTermInvestments",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProceedsFromIssuanceInitialPublicOfferingGross": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gross proceeds from issuance of initial public offering before underwriting discounts and commissions.",
        "label": "Proceeds From Issuance Initial Public Offering Gross",
        "terseLabel": "Total gross capital raise"
       }
      }
     },
     "localname": "ProceedsFromIssuanceInitialPublicOfferingGross",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProceedsFromIssuanceInitialPublicOfferingNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net proceeds from issuance of initial public offering , net of underwriting discounts and commissions and offering expenses.",
        "label": "Proceeds From Issuance Initial Public Offering Net",
        "terseLabel": "Net capital raise"
       }
      }
     },
     "localname": "ProceedsFromIssuanceInitialPublicOfferingNet",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProceedsFromReceivablesFromIssuanceOfPreIpoConvertibleRedeemablePreferredShares": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from the proceeds from receivables from issuance of pre-IPO convertible redeemable preferred shares.",
        "label": "Proceeds From Receivables From Issuance Of Pre Ipo Convertible Redeemable Preferred Shares",
        "terseLabel": "Proceeds from receivables from Pre-IPO Series C-1 preferred shareholders"
       }
      }
     },
     "localname": "ProceedsFromReceivablesFromIssuanceOfPreIpoConvertibleRedeemablePreferredShares",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProceedsFromSaleMaturityAndCollectionOfLongTermInvestmentsNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sale maturity and collection of long term investments net.",
        "label": "Proceeds From Sale Maturity And Collection Of Long term Investments Net",
        "terseLabel": "Net cash consideration received from disposed shares"
       }
      }
     },
     "localname": "ProceedsFromSaleMaturityAndCollectionOfLongTermInvestmentsNet",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProceedsFromSaleOfLoansReceivablesAndFinanceReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sale of loans receivables and finance receivables.",
        "label": "Proceeds from Sale of Loans Receivables and Finance Receivables",
        "terseLabel": "Cash proceed for disposal of loans at fair value and financing receivables"
       }
      }
     },
     "localname": "ProceedsFromSaleOfLoansReceivablesAndFinanceReceivables",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProceedsFromWithdrawalOfRestrictedTermDepositsAndShortTermInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from withdrawal of restricted term deposits and short-term investments.",
        "label": "Proceeds From Withdrawal Of Restricted Term Deposits And Short-term Investments",
        "terseLabel": "Withdrawal of restricted term deposit and short-term investments"
       }
      }
     },
     "localname": "ProceedsFromWithdrawalOfRestrictedTermDepositsAndShortTermInvestments",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProcessingAndServicingCost": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_CostOfRevenue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost associated with processing and servicing consists primarily of vendor costs related to credit assessment, customer and system support, payment processing services and collection services associated with originating, facilitating and servicing the loans.",
        "label": "Processing And Servicing Cost",
        "negatedLabel": "Processing and servicing cost (including collection service fee from related parties of RMB28,645 ,RMB20,493 and RMB16,177 for the years ended December 31, 2020, 2021 and 2022, respectively)"
       }
      }
     },
     "localname": "ProcessingAndServicingCost",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProcessingAndServicingCostsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for processing and servicing costs.",
        "label": "Processing And Servicing Costs Policy Policy [Text Block]",
        "terseLabel": "Processing and Servicing Cost"
       }
      }
     },
     "localname": "ProcessingAndServicingCostsPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_PropertyEquipmentAndSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property, equipment and software.",
        "label": "Property, Equipment and Software [Member]",
        "terseLabel": "Property, equipment and software"
       }
      }
     },
     "localname": "PropertyEquipmentAndSoftwareMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ProvisionForContingentGuaranteeLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 4.0,
       "parentTag": "us-gaap_CostOfRevenue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision for contingent guarantee liabilities",
        "label": "Provision For Contingent Guarantee Liabilities",
        "negatedLabel": "Provision for contingent guarantee liabilities"
       }
      }
     },
     "localname": "ProvisionForContingentGuaranteeLiabilities",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProvisionForContingentLiabilitiesOfGuarantee": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision For Contingent Liabilities Of Guarantee",
        "label": "Provision For Contingent Liabilities Of Guarantee",
        "terseLabel": "Provision for contingent guarantee liabilities",
        "verboseLabel": "Provision for contingent liabilities of guarantee"
       }
      }
     },
     "localname": "ProvisionForContingentLiabilitiesOfGuarantee",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProvisionForContractAssets": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 7.0,
       "parentTag": "us-gaap_CostOfRevenue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provision for contract assets.",
        "label": "Provision For Contract Assets",
        "negatedLabel": "Provision for contract assets and receivables",
        "verboseLabel": "Provision for contract assets and receivables"
       }
      }
     },
     "localname": "ProvisionForContractAssets",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProvisionForCreditLossesOfContingentLiabilitiesOfGuarantee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision for credit losses of contingent liabilities of guarantee.",
        "label": "Provision For Credit Losses Of Contingent Liabilities Of Guarantee",
        "negatedLabel": "Provision for credit losses of contingent liabilities of guarantee",
        "terseLabel": "Provision for credit losses of contingent liabilities of guarantee"
       }
      }
     },
     "localname": "ProvisionForCreditLossesOfContingentLiabilitiesOfGuarantee",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProvisionForCreditLossesOfFinancingReceivables": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of credit loss expense for financing receivable.",
        "label": "Provision For Credit Losses Of Financing Receivables",
        "negatedLabel": "Provision for credit losses of financing receivables",
        "negatedTerseLabel": "Provision for credit losses",
        "terseLabel": "Provision for credit losses of financing receivables"
       }
      }
     },
     "localname": "ProvisionForCreditLossesOfFinancingReceivables",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProvisionForCreditLossesOfFinancingReceivablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision for credit losses of financing receivables for valuation allowance of deferred tax assets.",
        "label": "Provision For Credit Losses Of Financing Receivables [Member]",
        "terseLabel": "Provision for credit losses"
       }
      }
     },
     "localname": "ProvisionForCreditLossesOfFinancingReceivablesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ProvisionForFinancingAndInterestReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision For Financing And Interest Receivables",
        "label": "Provision For Financing And Interest Receivables",
        "terseLabel": "Provision for financing and interest receivables"
       }
      }
     },
     "localname": "ProvisionForFinancingAndInterestReceivables",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ProvisionForFinancingReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 3.0,
       "parentTag": "us-gaap_CostOfRevenue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision for financing receivables",
        "label": "Provision For Financing Receivables",
        "negatedLabel": "Provision for financing receivables",
        "terseLabel": "Provision for financing receivables"
       }
      }
     },
     "localname": "ProvisionForFinancingReceivables",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_PurchaseObligationDueAfterFourYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase obligation due after four year.",
        "label": "Purchase Obligation Due After Four Year",
        "terseLabel": "49 \u2013 60 months and beyond"
       }
      }
     },
     "localname": "PurchaseObligationDueAfterFourYear",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_PurchaseOfNonControllingInterests": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase of non-controlling interests.",
        "label": "Purchase of Non-controlling Interests",
        "negatedLabel": "Purchase of non-controlling interests"
       }
      }
     },
     "localname": "PurchaseOfNonControllingInterests",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_PurchaseOfNonControllingInterestsNetOfCashAcquired": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase of non-controlling interests, net of cash acquired.",
        "label": "Purchase Of Non Controlling Interests Net of Cash Acquired",
        "negatedLabel": "Purchase of non-controlling interests, net of cash acquired",
        "terseLabel": "Purchase of non-controlling interests, net of cash acquired"
       }
      }
     },
     "localname": "PurchaseOfNonControllingInterestsNetOfCashAcquired",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_PurchasesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to purchases.",
        "label": "Purchases [Member]",
        "terseLabel": "10% or More of Total Purchases, Number of Suppliers"
       }
      }
     },
     "localname": "PurchasesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_RedesignationOfCommonClassSharesAmountConverted": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of the stock redesignation from one common stock class in to another class in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Redesignation Of Common Class Shares Amount Converted",
        "terseLabel": "Redesignation of Class B Ordinary Shares into Class A Ordinary Shares"
       }
      }
     },
     "localname": "RedesignationOfCommonClassSharesAmountConverted",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_RedesignationOfCommonClassSharesSharesConverted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common shares redesignated from one class to another class.",
        "label": "Redesignation Of Common Class Shares Shares Converted",
        "terseLabel": "Redesignation of Class B Ordinary Shares into Class A Ordinary Shares (in shares)"
       }
      }
     },
     "localname": "RedesignationOfCommonClassSharesSharesConverted",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "lx_ReducedTaxWithheldRateWhenTreatyBenefitsApplicable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the reduced withholding income tax rate for dividend paid to beneficial owner.",
        "label": "Reduced Tax Withheld Rate When Treaty Benefits Applicable",
        "terseLabel": "Reduced withholding tax rate for beneficial owner (as a percentage)"
       }
      }
     },
     "localname": "ReducedTaxWithheldRateWhenTreatyBenefitsApplicable",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_ReferralIncentiveExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of incentive cash recorded as sales and marketing expenses for the period. The Group offers an incentive in cash to an existing Customer for each new Customer who successfully signs up on the Platform using the existing Customer's referral code and has been granted a credit line.",
        "label": "Referral Incentive Expense",
        "terseLabel": "Referral code incentives recorded as sales and marketing expenses"
       }
      }
     },
     "localname": "ReferralIncentiveExpense",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_RegisteredCapitalsAndPrcStatutoryReserves": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of registered capitals and PRC statutory reserves of the group's consolidated VIEs.",
        "label": "Registered Capitals And Prc Statutory Reserves",
        "terseLabel": "Registered capitals and PRC statutory reserves"
       }
      }
     },
     "localname": "RegisteredCapitalsAndPrcStatutoryReserves",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ReleaseOfDeferredGuaranteeIncome": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Release of deferred guarantee income.",
        "label": "Release Of Deferred Guarantee Income",
        "negatedLabel": "Release of deferred guarantee income"
       }
      }
     },
     "localname": "ReleaseOfDeferredGuaranteeIncome",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_RentalDepositsAndOtherAssetsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of rental deposits and other assets. For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
        "label": "Rental Deposits And Other Assets Current",
        "terseLabel": "Rental deposits and other current assets"
       }
      }
     },
     "localname": "RentalDepositsAndOtherAssetsCurrent",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_RestrictedCashUnderRiskSafeguardSchemeThroughThirdPartyCustodyBank": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Restricted cash under risk safeguard scheme through third-party custody bank.",
        "label": "Restricted Cash Under Risk Safeguard Scheme Through Third Party Custody Bank",
        "terseLabel": "Restricted cash under RSS through third-party custody bank"
       }
      }
     },
     "localname": "RestrictedCashUnderRiskSafeguardSchemeThroughThirdPartyCustodyBank",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_RestrictedTermDepositAndShortTermInvestmentsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Restricted term deposit and short-term investments policy.",
        "label": "Restricted Term Deposit And Short-term Investments Policy [Policy Text Block]",
        "terseLabel": "Restricted term deposit and short-term investments"
       }
      }
     },
     "localname": "RestrictedTermDepositAndShortTermInvestmentsPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_RestrictedTimeDepositsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for restricted time deposits.",
        "label": "Restricted Time Deposits Policy Policy [Text Block]",
        "terseLabel": "Restricted Time Deposits"
       }
      }
     },
     "localname": "RestrictedTimeDepositsPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_RetainedEarningsAccumulatedDeficitTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retained earnings accumulated deficit tax.",
        "label": "Retained Earnings Accumulated Deficit Tax",
        "terseLabel": "Cumulative effect on retained earnings, tax"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficitTax",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_RevenueFromIntraGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the revenue from the company and its subsidiaries.",
        "label": "Revenue From Intra Group [Member]",
        "terseLabel": "Revenue from Company and its Subsidiaries"
       }
      }
     },
     "localname": "RevenueFromIntraGroupMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_RevenueFromThirdPartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the revenue from third parties.",
        "label": "Revenue From Third Parties [Member]",
        "terseLabel": "Revenue from Third Parties"
       }
      }
     },
     "localname": "RevenueFromThirdPartiesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Revenue Remaining Performance Obligation Expected Timing Of Satisfaction",
        "terseLabel": "Remaining performance obligation is expected to be recognized as revenue (in years)"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfaction",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "lx_ScheduleOfAccrualsAndOtherCurrentLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of accruals and other current liabilities.",
        "label": "Schedule of Accruals and Other Current Liabilities Table [Text Block]",
        "terseLabel": "Schedule of accruals and other current liabilities"
       }
      }
     },
     "localname": "ScheduleOfAccrualsAndOtherCurrentLiabilitiesTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ScheduleOfDueFromRelatedPartiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of due from related parties.",
        "label": "Schedule Of Due From Related Parties [Table Text Block]",
        "terseLabel": "Schedule of Amounts Due from Related Parties"
       }
      }
     },
     "localname": "ScheduleOfDueFromRelatedPartiesTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ScheduleOfDueToRelatedPartiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of due to related party transactions.",
        "label": "Schedule Of Due To Related Parties Table [Text Block]",
        "terseLabel": "Schedule of Amounts Due to Related Parties"
       }
      }
     },
     "localname": "ScheduleOfDueToRelatedPartiesTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ScheduleOfEstimatedUsefulLifeOfPropertyEquipmentAndSoftwareTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of estimated useful life of property, equipment and software.",
        "label": "Schedule Of Estimated Useful Life Of Property Equipment And Software Table [Text Block]",
        "terseLabel": "Schedule of Estimated Useful Lives"
       }
      }
     },
     "localname": "ScheduleOfEstimatedUsefulLifeOfPropertyEquipmentAndSoftwareTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ScheduleOfMajorRelatedPartiesAndTheirRelationshipsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of major related parties and their relationship with the group.",
        "label": "Schedule Of Major Related Parties And Their Relationships Table [Text Block]",
        "terseLabel": "Schedule of Related Parties and Their Relationships"
       }
      }
     },
     "localname": "ScheduleOfMajorRelatedPartiesAndTheirRelationshipsTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ScheduleOfOperatingRevenueWithinScopeOfAsc606DisaggregatedByRevenueTimingTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Definition: Tabular disclosure of disaggregation of revenue by timing.",
        "label": "Schedule Of Operating Revenue Within Scope Of Asc606 Disaggregated By Revenue Timing Table [Text Block]",
        "terseLabel": "Schedule of Operating Revenue Within Scope of ASC 606 Disaggregated by Revenue Timing"
       }
      }
     },
     "localname": "ScheduleOfOperatingRevenueWithinScopeOfAsc606DisaggregatedByRevenueTimingTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_SecondPaymentToAcquireLandUseRights": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Second payment to acquire land use rights.",
        "label": "Second Payment To Acquire Land Use Rights",
        "terseLabel": "Second installment payment"
       }
      }
     },
     "localname": "SecondPaymentToAcquireLandUseRights",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_SellingAndMarketingExpensesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for selling and marketing expenses.",
        "label": "Selling And Marketing Expenses Policy Policy [Text Block]",
        "terseLabel": "Sales and Marketing Expenses"
       }
      }
     },
     "localname": "SellingAndMarketingExpensesPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_ServiceFeesReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Service Fees Receivable [Member]",
        "label": "Service Fees Receivable [Member]",
        "terseLabel": "Service Fees Receivable"
       }
      }
     },
     "localname": "ServiceFeesReceivableMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualIncreasePercentageOnNumberOfSharesIssuedAndOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award annual increase percentage on number of shares issued and outstanding.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Annual Increase Percentage On Number Of Shares Issued And Outstanding",
        "terseLabel": "Annual increase percentage on number of shares issued and outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualIncreasePercentageOnNumberOfSharesIssuedAndOutstanding",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_ShareBasedCompensationArrangementByShareBasedPaymentAwardCommencingDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award commencing date.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Commencing Date",
        "terseLabel": "Ordinary shares issued commencing date"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardCommencingDate",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "lx_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableForIssuanceRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Shares Available For Issuance Roll Forward",
        "terseLabel": "Shares available for issuance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableForIssuanceRollForward",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNumberOfSharesAvailableForIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_ShareIncentivePlan2017Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to 2017 share incentive plan.",
        "label": "Share Incentive Plan2017 [Member]",
        "terseLabel": "2017 Share Incentive Plan"
       }
      }
     },
     "localname": "ShareIncentivePlan2017Member",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_SharesDeemedIssuedNotOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares deemed to be issued but not outstanding.",
        "label": "Shares Deemed Issued Not Outstanding",
        "terseLabel": "Number of shares deemed issued"
       }
      }
     },
     "localname": "SharesDeemedIssuedNotOutstanding",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "lx_ShenzhenAileyouInformationTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shenzhen Aileyou Information Technology Co., Ltd.",
        "label": "Shenzhen Aileyou Information Technology Co., Ltd [Member]",
        "terseLabel": "Aileyou",
        "verboseLabel": "Due to Aileyou by the Group"
       }
      }
     },
     "localname": "ShenzhenAileyouInformationTechnologyCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenBeizhipijiTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shenzhen Beizhipiji Technology Co., Ltd [Member]",
        "label": "Shenzhen Beizhipiji Technology Co., Ltd [Member]",
        "terseLabel": "Beizhipiji"
       }
      }
     },
     "localname": "ShenzhenBeizhipijiTechnologyCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenDingshengComputerTechnologyCo.LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Shenzhen Dingsheng Computer Technology Co., Ltd.(\"Shenzhen Dingsheng Computer Technology\")",
        "label": "Shenzhen Dingsheng Computer Technology Co. Ltd [Member]",
        "terseLabel": "Shenzhen Dingsheng Technology",
        "verboseLabel": "Dingsheng Computer"
       }
      }
     },
     "localname": "ShenzhenDingshengComputerTechnologyCo.LtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenDingshengMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shenzhen dingsheng member.",
        "label": "Shenzhen Dingsheng Member",
        "terseLabel": "Shenzhen Dingsheng"
       }
      }
     },
     "localname": "ShenzhenDingshengMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenDingshengTechnologyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shenzhen Dingsheng Technology.",
        "label": "Shenzhen Dingsheng Technology [Member]",
        "terseLabel": "Shenzhen Dinsheng Computer Technology"
       }
      }
     },
     "localname": "ShenzhenDingshengTechnologyMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenFenqileNetworkTechnologyCo.LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Shenzhen Fenqile Network Technology Co., Ltd. (\"Shenzhen Fenqile\").",
        "label": "Shenzhen Fenqile Network Technology Co. Ltd [Member]",
        "terseLabel": "Shenzhen Fenqile"
       }
      }
     },
     "localname": "ShenzhenFenqileNetworkTechnologyCo.LtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenFenquileTradingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Shenzhen Fenquile Trading.",
        "label": "Shenzhen Fenquile Trading [Member]",
        "terseLabel": "Shenzhen Fenqile Trading"
       }
      }
     },
     "localname": "ShenzhenFenquileTradingMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenLexinFinancingGuaranteeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Shenzhen Lexin Financing Guarantee.",
        "label": "Shenzhen Lexin Financing Guarantee [Member]",
        "terseLabel": "Shenzhen Lexin Financing Guarantee"
       }
      }
     },
     "localname": "ShenzhenLexinFinancingGuaranteeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenLexinInformationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shenzhen Lexin Information Member",
        "label": "Shenzhen Lexin Information Member",
        "terseLabel": "Shenzhen Lexin Information"
       }
      }
     },
     "localname": "ShenzhenLexinInformationMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenLexinSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shenzhen Lexin Software.",
        "label": "Shenzhen Lexin Software [Member]",
        "terseLabel": "Shenzhen Lexin Software"
       }
      }
     },
     "localname": "ShenzhenLexinSoftwareMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenLexinSoftwareTechnologyCo.LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Shenzhen Lexin Software Technology Co., Ltd.(\"Shenzhen Lexin Software\")",
        "label": "Shenzhen Lexin Software Technology Co. Ltd [Member]",
        "terseLabel": "Shenzhen Lexin Software"
       }
      }
     },
     "localname": "ShenzhenLexinSoftwareTechnologyCo.LtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenMengtianTechnologyCo.LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Shenzhen Mengtian Technology Co., Ltd. (\"Shenzhen Mengtian\").",
        "label": "Shenzhen Mengtian Technology Co. Ltd [Member]",
        "terseLabel": "Mengtian Technology"
       }
      }
     },
     "localname": "ShenzhenMengtianTechnologyCo.LtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenQianhaiDingshengDataTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shenzhen Qianhai Dingsheng Data Technology Co. Ltd.",
        "label": "Shenzhen Qianhai Dingsheng Data Technology Co Ltd [Member]",
        "terseLabel": "Qianhai Dingsheng"
       }
      }
     },
     "localname": "ShenzhenQianhaiDingshengDataTechnologyCoLtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ShenzhenXinjieInvestmentCo.LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Shenzhen Xinjie Investment Co., Ltd. (\"Shenzhen Xinjie\").",
        "label": "Shenzhen Xinjie Investment Co. Ltd [Member]",
        "terseLabel": "Shenzhen Xinjie"
       }
      }
     },
     "localname": "ShenzhenXinjieInvestmentCo.LtdMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_SignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant accounting policies.",
        "label": "Significant Accounting Policies [Line Items]",
        "terseLabel": "Significant Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesLineItems",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_SignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant accounting policies.",
        "label": "Significant Accounting Policies [Table]",
        "terseLabel": "Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTable",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "lx_SignificantRisksAndUncertaintiesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for significant risks and uncertainties.",
        "label": "Significant Risks And Uncertainties Policy Policy [Text Block]",
        "terseLabel": "Significant Risks and Uncertainties"
       }
      }
     },
     "localname": "SignificantRisksAndUncertaintiesPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_StatutoryReserveLevelThresholdForMandatoryTransferPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the level of the statutory surplus fund balance as a percentage of registered capital for entities incorporated in the People's Republic of China which must be attained before mandatory transfers to the reserve are no longer required.",
        "label": "Statutory Reserve Level Threshold For Mandatory Transfer Percentage",
        "terseLabel": "Required statutory surplus fund/registered capital ratio to avoid net profit allocation to statutory surplus fund (as a percent)"
       }
      }
     },
     "localname": "StatutoryReserveLevelThresholdForMandatoryTransferPercentage",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssetsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_StatutoryReservesAndRestrictedNetAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Statutory Reserves And Restricted Net Assets [Abstract]"
       }
      }
     },
     "localname": "StatutoryReservesAndRestrictedNetAssetsAbstract",
     "nsuri": "http://ir.lexin.com/20221231",
     "xbrltype": "stringItemType"
    },
    "lx_StatutoryReservesAndRestrictedNetAssetsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for statutory reserves and restricted net assets.",
        "label": "Statutory Reserves And Restricted Net Assets [Text Block]",
        "terseLabel": "Statutory Reserves and Restricted Net Assets"
       }
      }
     },
     "localname": "StatutoryReservesAndRestrictedNetAssetsTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_StatutoryReservesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for statutory reserves.",
        "label": "Statutory Reserves Policy Policy [Text Block]",
        "terseLabel": "Statutory Reserves"
       }
      }
     },
     "localname": "StatutoryReservesPolicyPolicyTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_StockConversionBasis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The ratio of conversion features of common stock if such stock is convertible.",
        "label": "Stock Conversion Basis",
        "terseLabel": "Stock conversion basis"
       }
      }
     },
     "localname": "StockConversionBasis",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "lx_StockIssuedDuringPeriodSharesStockOptionsExercisedAndVested": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares exercised and vested from share based awards.",
        "label": "Stock Issued During Period Shares Stock Options Exercised And Vested",
        "terseLabel": "Exercise and vesting of share-based awards (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercisedAndVested",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "lx_StockIssuedDuringPeriodValueStockOptionsExercisedAndVested": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise and vesting of share based awards.",
        "label": "Stock Issued During Period Value Stock Options Exercised And Vested",
        "terseLabel": "Exercise and vesting of share-based awards"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercisedAndVested",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_StraightLineBasisAmortizedOverLandUseRightPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Straight line basis amortized over land use right period.",
        "label": "Straight Line Basis Amortized Over Land Use Right Period",
        "terseLabel": "Straight line basis amortized over land use right period"
       }
      }
     },
     "localname": "StraightLineBasisAmortizedOverLandUseRightPeriod",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "lx_SummaryOfEffectAdverseChangesInEstimatedFairValueOfTheLoans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of effect adverse changes in estimated fair value of the loans.",
        "label": "Summary Of Effect Adverse Changes In Estimated Fair Value Of The Loans",
        "terseLabel": "Summary of Effect Adverse Changes in Estimated Fair Value of the Loans"
       }
      }
     },
     "localname": "SummaryOfEffectAdverseChangesInEstimatedFairValueOfTheLoans",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_SummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternative": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of movement of carrying value of equity investments accounted using measurement alternative.",
        "label": "Summary of Movement of Carrying Value of Equity Investments Accounted Using Measurement Alternative",
        "terseLabel": "Summary of Movement of Carrying Value of Equity Investments Accounted Using Measurement Alternative"
       }
      }
     },
     "localname": "SummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternative",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_SummaryOfObligationsAssociatedWithContingentGuaranteeLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of obligations associated with contingent guarantee liabilities.",
        "label": "Summary Of Obligations Associated With Contingent Guarantee Liabilities Table [Text Block]",
        "terseLabel": "Schedule of Obligations Associated with Contingent Guarantee Liabilities After Adoption of ASC 326"
       }
      }
     },
     "localname": "SummaryOfObligationsAssociatedWithContingentGuaranteeLiabilitiesTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_SummaryOfObligationsAssociatedWithGuaranteeIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of obligations associated with the deferred guarantee income.",
        "label": "Summary Of Obligations Associated With Guarantee Income Table [Text Block]",
        "terseLabel": "Schedule of Obligations Associated with Deferred Guarantee Income After Adoption of ASC 326"
       }
      }
     },
     "localname": "SummaryOfObligationsAssociatedWithGuaranteeIncomeTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_SummaryOfObligationsAssociatedWithGuaranteeLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of obligations associated with guarantee liabilities.",
        "label": "Summary Of Obligations Associated With Guarantee Liabilities Table [Text Block]",
        "terseLabel": "Schedule of Obligations Associated with Guarantee Liabilities Prior to Adoption of ASC 326"
       }
      }
     },
     "localname": "SummaryOfObligationsAssociatedWithGuaranteeLiabilitiesTableTextBlock",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "lx_TechEmpowermentServiceIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tech-empowerment service income member.",
        "label": "Tech-Empowerment Service Income [Member]",
        "terseLabel": "Tech-empowerment service income"
       }
      }
     },
     "localname": "TechEmpowermentServiceIncomeMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ThirdPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Third-party.",
        "label": "Third-party [Member]",
        "terseLabel": "Third-party"
       }
      }
     },
     "localname": "ThirdPartyMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ThirdPartyOnlinePaymentServiceProvidersReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of temporarily held in the accounts with third party online payment service providers mainly to facilitate collection and transfer of the funds, interest and service fees from/to the Customers and Individual Investors or Institutional Funding Partners.",
        "label": "Third Party Online Payment Service Providers Receivables",
        "terseLabel": "Receivables from third-party payment service providers"
       }
      }
     },
     "localname": "ThirdPartyOnlinePaymentServiceProvidersReceivables",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_ThresholdPercentageOfEquityInterestInPrcForeignInvestedEnterpriseToEnjoyPreferentialWithholdingTaxRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Threshold percentage of equity interest in PRC foreign invested enterprise to enjoy preferential withholding tax rate.",
        "label": "Threshold Percentage Of Equity Interest In PRC Foreign Invested Enterprise To Enjoy Preferential Withholding Tax Rate",
        "terseLabel": "Threshold percentage of equity interest in PRC foreign invested enterprise to enjoy preferential withholding tax rate"
       }
      }
     },
     "localname": "ThresholdPercentageOfEquityInterestInPrcForeignInvestedEnterpriseToEnjoyPreferentialWithholdingTaxRate",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_TimeDepositsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Time deposits.",
        "label": "Time Deposits [Member]",
        "terseLabel": "Time deposit"
       }
      }
     },
     "localname": "TimeDepositsMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_TransferOfEquityShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfer Of Equity Shares",
        "label": "Transfer Of Equity Shares",
        "verboseLabel": "Transfer of equity shares"
       }
      }
     },
     "localname": "TransferOfEquityShares",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa"
     ],
     "xbrltype": "sharesItemType"
    },
    "lx_TransferOfReserves": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of reserves allowed to be transferred to the company in terms of cash dividends, loans or advances, nor can they be distributed except under liquidation.",
        "label": "Transfer Of Reserves",
        "terseLabel": "Reserves allowed to transfer in terms of cash dividends, loans or advances, nor can they be distributed except under liquidation"
       }
      }
     },
     "localname": "TransferOfReserves",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_TransferOfShemxhenLexinFinancingGuaranteeCoLtdFromVieToSubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfer Of Shemxhen Lexin Financing Guarantee Co, Ltd from VIE To Subsidiary",
        "label": "Transfer Of Shemxhen Lexin Financing Guarantee Co, Ltd from VIE To Subsidiary",
        "verboseLabel": "Consideration for transfer of equity shares"
       }
      }
     },
     "localname": "TransferOfShemxhenLexinFinancingGuaranteeCoLtdFromVieToSubsidiary",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "lx_TwoEmployeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represent two employees.",
        "label": "Two Employees [Member]",
        "terseLabel": "Nominee Shareholders"
       }
      }
     },
     "localname": "TwoEmployeesMember",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "lx_ValueAddedTaxRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value added tax rate.",
        "label": "Value Added Tax Rate",
        "terseLabel": "Value added tax rate (as a percent)"
       }
      }
     },
     "localname": "ValueAddedTaxRate",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_WithholdingIncomeTaxRateForDividendPaidToForeignTaxResidentInvestors": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the withholding income tax rate for dividend paid to foreign tax resident investors.",
        "label": "Withholding Income Tax Rate For Dividend Paid To Foreign Tax Resident Investors",
        "terseLabel": "Withholding income tax rate for dividend paid to foreign tax resident investors (as a percentage)"
       }
      }
     },
     "localname": "WithholdingIncomeTaxRateForDividendPaidToForeignTaxResidentInvestors",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "lx_WithholdingTaxRateOnDividendsForeignInvestedEnterprisesToForeignHoldingCompanies": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Withholding Tax Rate On Dividends, Foreign Invested Enterprises To Foreign Holding Companies",
        "label": "Withholding Tax Rate On Dividends, Foreign Invested Enterprises To Foreign Holding Companies",
        "terseLabel": "Withholding tax rate on dividends, foreign invested enterprises to their immediate holding companies"
       }
      }
     },
     "localname": "WithholdingTaxRateOnDividendsForeignInvestedEnterprisesToForeignHoldingCompanies",
     "nsuri": "http://ir.lexin.com/20221231",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "srt_CondensedBalanceSheetStatementTable": {
     "auth_ref": [
      "r336",
      "r876",
      "r949"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet Statement [Table]",
        "terseLabel": "Condensed Balance Sheet Statement [Table]"
       }
      }
     },
     "localname": "CondensedBalanceSheetStatementTable",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedBalanceSheetStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Balance Sheet Statements, Captions [Line Items]",
        "terseLabel": "Condensed Balance Sheet Statements Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedBalanceSheetStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedCashFlowStatementTable": {
     "auth_ref": [
      "r336",
      "r885",
      "r949"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed cash flow statement, including, but not limited to, cash flow statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Cash Flow Statement [Table]",
        "terseLabel": "Condensed Cash Flow Statement [Table]"
       }
      }
     },
     "localname": "CondensedCashFlowStatementTable",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedCashFlowStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Cash Flow Statements, Captions [Line Items]",
        "terseLabel": "Condensed Cash Flow Statements Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedCashFlowStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Financial Information Disclosure [Abstract]"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract",
     "nsuri": "http://fasb.org/srt/2022",
     "xbrltype": "stringItemType"
    },
    "srt_CondensedStatementOfComprehensiveIncomeTable": {
     "auth_ref": [
      "r336",
      "r876",
      "r949"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed statement of comprehensive income (loss) including, but not limited to, statements of comprehensive income (loss) of consolidated entities and consolidation eliminations.",
        "label": "Condensed Statement of Comprehensive Income [Table]",
        "terseLabel": "Condensed Statement Of Comprehensive Income [Table]"
       }
      }
     },
     "localname": "CondensedStatementOfComprehensiveIncomeTable",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedStatementOfComprehensiveIncomeTableTextBlock": {
     "auth_ref": [
      "r974",
      "r1107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed statement of comprehensive income (loss) including, but not limited to, statements of comprehensive income (loss) of consolidated entities and consolidation eliminations.",
        "label": "Condensed Statement of Comprehensive Income [Table Text Block]",
        "terseLabel": "Condensed Statements of Operations and Comprehensive Income"
       }
      }
     },
     "localname": "CondensedStatementOfComprehensiveIncomeTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_CondensedStatementOfIncomeCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Statement of Income Captions [Line Items]",
        "terseLabel": "Condensed Statement Of Income Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedStatementOfIncomeCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r336",
      "r656",
      "r657",
      "r660",
      "r661",
      "r757",
      "r862",
      "r874",
      "r1016",
      "r1019",
      "r1020",
      "r1108",
      "r1109",
      "r1110"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by consolidated entity or group of entities.",
        "label": "Consolidated Entities [Axis]",
        "terseLabel": "Consolidated Entities"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r336",
      "r656",
      "r657",
      "r660",
      "r661",
      "r757",
      "r862",
      "r874",
      "r1016",
      "r1019",
      "r1020",
      "r1108",
      "r1109",
      "r1110"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity or group of entities consolidated into reporting entity.",
        "label": "Consolidated Entities [Domain]",
        "terseLabel": "Consolidated Entities"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ContractualObligationFiscalYearMaturityScheduleTableTextBlock": {
     "auth_ref": [
      "r1106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of contractual obligation by timing of payment due. Includes, but is not limited to, long-term debt obligation, lease obligation, and purchase obligation.",
        "label": "Contractual Obligation, Fiscal Year Maturity [Table Text Block]",
        "terseLabel": "Schedule of the Expected Repayment Amount of the Debt Obligations"
       }
      }
     },
     "localname": "ContractualObligationFiscalYearMaturityScheduleTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember": {
     "auth_ref": [
      "r950",
      "r978",
      "r983",
      "r1003",
      "r1055",
      "r1056",
      "r1057",
      "r1061",
      "r1062",
      "r1064",
      "r1065",
      "r1066",
      "r1073"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount after cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect, Period of Adoption, Adjusted Balance [Member]",
        "terseLabel": "Cumulative Effect, Period of Adoption, Adjusted Balance"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "auth_ref": [
      "r278",
      "r340",
      "r349",
      "r357",
      "r447",
      "r611",
      "r612",
      "r613",
      "r636",
      "r637",
      "r668",
      "r671",
      "r673",
      "r674",
      "r747"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) to financial statements for cumulative-effect adjustment in period of adoption of amendment to accounting standards.",
        "label": "Cumulative effect due to the adoption of ASC 326 (Note 2(e))",
        "terseLabel": "Cumulative Effect Period Of Adoption Adjustment",
        "verboseLabel": "Effect Due to the Adoption of ASC 326 (Note 2(g))"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "auth_ref": [
      "r278",
      "r340",
      "r349",
      "r357",
      "r447",
      "r611",
      "r612",
      "r613",
      "r636",
      "r637",
      "r668",
      "r671",
      "r673",
      "r674",
      "r747"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect, Period of Adoption [Axis]",
        "terseLabel": "Cumulative Effect, Period of Adoption"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "auth_ref": [
      "r278",
      "r340",
      "r349",
      "r357",
      "r447",
      "r611",
      "r612",
      "r613",
      "r636",
      "r637",
      "r668",
      "r671",
      "r673",
      "r674",
      "r747"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect, Period of Adoption [Domain]",
        "terseLabel": "Cumulative Effect, Period of Adoption"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r421",
      "r916",
      "r1025",
      "r1092"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name or description of a single external customer or a group of external customers.",
        "label": "Customer [Axis]",
        "terseLabel": "Customer"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r490",
      "r491",
      "r492",
      "r493",
      "r571",
      "r795",
      "r828",
      "r863",
      "r864",
      "r913",
      "r925",
      "r936",
      "r1021",
      "r1080",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r490",
      "r491",
      "r492",
      "r493",
      "r571",
      "r795",
      "r828",
      "r863",
      "r864",
      "r913",
      "r925",
      "r936",
      "r1021",
      "r1080",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r421",
      "r916",
      "r1025",
      "r1092"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Single external customer or group of external customers.",
        "label": "Customer [Domain]",
        "terseLabel": "Customer"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of entity in which ownership interest is disclosed. Excludes equity method investee and named security investment.",
        "label": "Ownership [Axis]",
        "terseLabel": "Ownership"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of entity in which ownership interest is disclosed. Excludes equity method investee and named security investment.",
        "label": "Ownership [Domain]",
        "terseLabel": "Ownership"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ParentCompanyMember": {
     "auth_ref": [
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The registrant that controls, directly or indirectly, another entity (or entities). The usual condition for control is ownership of a majority (over 50 percent) of the outstanding voting stock. The power to control may also exist with a lesser percentage of ownership, for example, by contract, lease, agreement with other stockholders or by court decree.",
        "label": "Parent Company [Member]",
        "terseLabel": "Parent"
       }
      }
     },
     "localname": "ParentCompanyMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r418",
      "r797",
      "r914",
      "r934",
      "r1013",
      "r1014",
      "r1025",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by product and service, or group of similar products and similar services.",
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfAsc606DisaggregatedByRevenueSourcesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r418",
      "r797",
      "r914",
      "r934",
      "r1013",
      "r1014",
      "r1025",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product or service, or a group of similar products or similar services.",
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfAsc606DisaggregatedByRevenueSourcesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r490",
      "r491",
      "r492",
      "r493",
      "r562",
      "r571",
      "r602",
      "r603",
      "r604",
      "r768",
      "r795",
      "r828",
      "r863",
      "r864",
      "r913",
      "r925",
      "r936",
      "r1012",
      "r1021",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r490",
      "r491",
      "r492",
      "r493",
      "r562",
      "r571",
      "r602",
      "r603",
      "r604",
      "r768",
      "r795",
      "r828",
      "r863",
      "r864",
      "r913",
      "r925",
      "r936",
      "r1012",
      "r1021",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAdjustmentMember": {
     "auth_ref": [
      "r337",
      "r338",
      "r339",
      "r351",
      "r352",
      "r377",
      "r673",
      "r674",
      "r979",
      "r980",
      "r981",
      "r982",
      "r983",
      "r984",
      "r985"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative increase (decrease) for adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period, Adjustment [Member]",
        "terseLabel": "Out-of-period Adjustment"
       }
      }
     },
     "localname": "RestatementAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r279",
      "r337",
      "r338",
      "r339",
      "r342",
      "r343",
      "r346",
      "r347",
      "r348",
      "r349",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r357",
      "r377",
      "r449",
      "r450",
      "r637",
      "r669",
      "r673",
      "r674",
      "r675",
      "r730",
      "r748",
      "r749",
      "r831",
      "r832",
      "r833",
      "r834",
      "r835",
      "r836",
      "r837",
      "r838",
      "r839",
      "r840"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period [Axis]",
        "terseLabel": "Revision of Prior Period"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [
      "r279",
      "r337",
      "r338",
      "r339",
      "r342",
      "r343",
      "r346",
      "r347",
      "r348",
      "r349",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r357",
      "r377",
      "r449",
      "r450",
      "r637",
      "r669",
      "r673",
      "r674",
      "r675",
      "r730",
      "r748",
      "r749",
      "r831",
      "r832",
      "r833",
      "r834",
      "r835",
      "r836",
      "r837",
      "r838",
      "r839",
      "r840"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period [Domain]",
        "terseLabel": "Revision of Prior Period"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RevisionOfPriorPeriodErrorCorrectionAdjustmentMember": {
     "auth_ref": [
      "r346",
      "r347",
      "r348",
      "r351",
      "r352",
      "r354",
      "r355"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative increase (decrease) to previously issued financial statements for correction of error.",
        "label": "Revision of Prior Period, Error Correction, Adjustment [Member]",
        "terseLabel": "Revision of Prior Period Correction"
       }
      }
     },
     "localname": "RevisionOfPriorPeriodErrorCorrectionAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfCondensedBalanceSheetTableTextBlock": {
     "auth_ref": [
      "r974",
      "r1107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet [Table Text Block]",
        "terseLabel": "Condensed Balance Sheets"
       }
      }
     },
     "localname": "ScheduleOfCondensedBalanceSheetTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfCondensedCashFlowStatementTableTextBlock": {
     "auth_ref": [
      "r974",
      "r1107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed cash flow statement, including, but not limited to, cash flow statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Cash Flow Statement [Table Text Block]",
        "terseLabel": "Condensed Statements of Cash Flows"
       }
      }
     },
     "localname": "ScheduleOfCondensedCashFlowStatementTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r419",
      "r420",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r873",
      "r877",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r915",
      "r935",
      "r1025"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Geographical area.",
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r419",
      "r420",
      "r844",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r873",
      "r875",
      "r915",
      "r935",
      "r1025"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by geographical components.",
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r991",
      "r1076"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by title of individual or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Axis]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of individual, or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Domain]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r863",
      "r864",
      "r1080",
      "r1082",
      "r1085"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average of a range of values, calculated with consideration of proportional relevance.",
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted-Average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_ID": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "IDAHO",
        "terseLabel": "Indonesia"
       }
      }
     },
     "localname": "ID",
     "nsuri": "http://xbrl.sec.gov/stpr/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201409Member": {
     "auth_ref": [
      "r559"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2014-09 Revenue from Contracts with Customers (Topic 606).",
        "label": "Accounting Standards Update 2014-09 [Member]",
        "terseLabel": "ASC 606",
        "verboseLabel": "Accounting Standards Update 2014-09"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201409Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201601Member": {
     "auth_ref": [
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2016-01 Financial Instruments-Overall (Subtopic 825-10): Recognition and Measurement of Financial Assets and Financial Liabilities.",
        "label": "Accounting Standards Update 2016-01 [Member]",
        "terseLabel": "ASU 2016-01"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201601Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201613Member": {
     "auth_ref": [
      "r440"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2016-13 Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments.",
        "label": "Accounting Standards Update 2016-13 [Member]",
        "terseLabel": "ASC 326",
        "verboseLabel": "Cumulative effect due to the adoption of ASC 326 (Note 2(g))"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201613Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate202006Member": {
     "auth_ref": [
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2020-06 Debt - Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging - Contracts in Entity's Own Equity (Subtopic 815-40): Accounting for Convertible Instruments and Contracts in an Entity's Own Equity.",
        "label": "Accounting Standards Update 2020-06 [Member]",
        "terseLabel": "ASU 2020-06"
       }
      }
     },
     "localname": "AccountingStandardsUpdate202006Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate202104Member": {
     "auth_ref": [
      "r676"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2021-04 Earnings Per Share (Topic 260), Debt-Modifications and Extinguishments (Subtopic 470-50), Compensation-Stock Compensation (Topic 718), and Derivatives and Hedging-Contracts in Entity's Own Equity (Subtopic 815-40): Issuer's Accounting for Certain Modifications or Exchanges of Freestanding Equity-Classified Written Call Options (a consensus of the FASB Emerging Issues Task Force).",
        "label": "Accounting Standards Update 2021-04 [Member]",
        "terseLabel": "ASU 2021-04"
       }
      }
     },
     "localname": "AccountingStandardsUpdate202104Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "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": "Accounts, Notes, Loans and Financing Receivable [Line Items]",
        "terseLabel": "Accounts Notes And Loans Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of receivable.",
        "label": "Receivable Type [Axis]",
        "terseLabel": "Receivable Type"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for accounts payable, accrued expenses, and other liabilities that are classified as current at the end of the reporting period.",
        "label": "Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]",
        "terseLabel": "Accruals and Other Current Liabilities"
       }
      }
     },
     "localname": "AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r20",
      "r933"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable, Current",
        "terseLabel": "Accounts payable (including amounts of the consolidated VIEs of RMB15,705 and RMB25,970 as of December 31, 2021 and December 31, 2022, respectively)",
        "totalLabel": "Accounts Payable, Current, Total",
        "verboseLabel": "Accounts payable"
       }
      }
     },
     "localname": "AccountsPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on accounts receivable.",
        "label": "Accounts Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Schedule of Activities in the Allowance for Credit Losses"
       }
      }
     },
     "localname": "AccountsReceivableAllowanceForCreditLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsReceivableGrossCurrent": {
     "auth_ref": [
      "r298",
      "r422",
      "r423",
      "r888"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AccountsReceivableNetCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, before Allowance for Credit Loss, Current",
        "terseLabel": "Gross"
       }
      }
     },
     "localname": "AccountsReceivableGrossCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableGrossNoncurrent": {
     "auth_ref": [
      "r422",
      "r425",
      "r459",
      "r1004"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AccountsReceivableNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as noncurrent.",
        "label": "Accounts Receivable, before Allowance for Credit Loss, Noncurrent",
        "terseLabel": "Gross",
        "totalLabel": "Accounts Receivable, before Allowance for Credit Loss, Noncurrent, Total"
       }
      }
     },
     "localname": "AccountsReceivableGrossNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableMember": {
     "auth_ref": [
      "r848"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due from customers or clients for goods or services that have been delivered or sold.",
        "label": "Accounts Receivable [Member]",
        "terseLabel": "Financing Receivables"
       }
      }
     },
     "localname": "AccountsReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsReceivableNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, after Allowance for Credit Loss [Abstract]",
        "terseLabel": "CONTRACT ASSETS AND SERVICE FEES RECEIVABLE, NET AND GUARANTEE RECEIVABLES, NET"
       }
      }
     },
     "localname": "AccountsReceivableNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r422",
      "r423"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "totalLabel": "Net"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current [Abstract]",
        "terseLabel": "Short-term:"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsReceivableNetNoncurrent": {
     "auth_ref": [
      "r422",
      "r816",
      "r822"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as noncurrent.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Noncurrent",
        "totalLabel": "Net"
       }
      }
     },
     "localname": "AccountsReceivableNetNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, after Allowance for Credit Loss, Noncurrent [Abstract]",
        "terseLabel": "Long-term:"
       }
      }
     },
     "localname": "AccountsReceivableNetNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccruedLiabilitiesAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 10.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other.",
        "label": "Accrued Liabilities and Other Liabilities",
        "terseLabel": "Accruals and other current liabilities(including amounts of the consolidated VIEs of RMB3,393,092 and RMB2,550,969 as of December 31, 2021 and December 31, 2022, respectively)",
        "totalLabel": "Total accruals and other current liabilities",
        "verboseLabel": "Accruals and other current liabilities"
       }
      }
     },
     "localname": "AccruedLiabilitiesAndOtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedMarketingCostsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for the marketing, trade and selling of the entity's goods and services. Marketing costs would include expenditures for planning and executing the conception, pricing, promotion, and distribution of ideas, goods, and services; costs of public relations and corporate promotions; and obligations incurred and payable for sales discounts, rebates, price protection programs, etc. offered to customers and under government programs. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Marketing Costs, Current",
        "terseLabel": "Accrued marketing expenses"
       }
      }
     },
     "localname": "AccruedMarketingCostsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedProfessionalFeesCurrent": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 11.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for professional fees, such as for legal and accounting services received. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Professional Fees, Current",
        "terseLabel": "Accrued professional fees and outsourcing fees"
       }
      }
     },
     "localname": "AccruedProfessionalFeesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r121",
      "r290"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Accumulated depreciation and amortization",
        "periodEndLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Ending Balance",
        "periodStartLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Beginning Balance",
        "totalLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r38",
      "r40",
      "r41",
      "r301",
      "r823",
      "r836",
      "r840"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Accumulated other comprehensive income",
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total",
        "verboseLabel": "Accumulated other comprehensive gain/(loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r37",
      "r41",
      "r182",
      "r749",
      "r831",
      "r832",
      "r958",
      "r959",
      "r960",
      "r975",
      "r976",
      "r977"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "Accumulated Other Comprehensive (Loss)/Income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r13",
      "r933"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "periodEndLabel": "Additional Paid in Capital, Ending Balance",
        "periodStartLabel": "Additional Paid in Capital, Beginning Balance",
        "terseLabel": "Additional paid-in capital",
        "totalLabel": "Additional Paid in Capital, Total"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r611",
      "r612",
      "r613",
      "r975",
      "r976",
      "r977",
      "r1065"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid in Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis": {
     "auth_ref": [
      "r342",
      "r343",
      "r344",
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of change in accounting principle. Excludes change from amendment to accounting standards.",
        "label": "Change in Accounting Principle, Type [Axis]",
        "terseLabel": "Change in Accounting Principle, Type"
       }
      }
     },
     "localname": "AdjustmentsForChangeInAccountingPrincipleAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r342",
      "r343",
      "r344",
      "r345",
      "r357",
      "r427",
      "r428",
      "r444",
      "r445",
      "r446",
      "r447",
      "r449",
      "r450",
      "r611",
      "r612",
      "r613",
      "r634",
      "r635",
      "r636",
      "r637",
      "r652",
      "r653",
      "r654",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r692",
      "r693",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r719",
      "r720",
      "r727",
      "r728",
      "r729",
      "r730",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r799",
      "r800",
      "r801",
      "r829",
      "r830",
      "r831",
      "r832",
      "r833",
      "r834",
      "r835",
      "r836",
      "r837",
      "r838",
      "r839",
      "r840"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by amendment to accounting standards.",
        "label": "Accounting Standards Update [Axis]",
        "terseLabel": "Accounting Standards Update"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments, Noncash Items, to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r161",
      "r162",
      "r573"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition",
        "terseLabel": "Share-based compensation expenses",
        "totalLabel": "APIC, Share-based Payment Arrangement, Increase for Cost Recognition, Total"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdvertisingExpense": {
     "auth_ref": [
      "r616"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line.",
        "label": "Advertising Expense",
        "terseLabel": "Advertising costs"
       }
      }
     },
     "localname": "AdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r606"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-Based Payment Arrangement, Expense",
        "terseLabel": "Share-based compensation expenses",
        "verboseLabel": "Share-based compensation expenses"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r96",
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Summary of Activities in Allowance for Credit Losses"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivable": {
     "auth_ref": [
      "r302",
      "r424",
      "r451",
      "r453",
      "r457"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable.",
        "label": "Accounts Receivable, Allowance for Credit Loss",
        "negatedPeriodEndLabel": "Ending balances",
        "negatedPeriodStartLabel": "Beginning balances",
        "periodEndLabel": "Accounts Receivable, Allowance for Credit Loss, Ending Balance",
        "periodStartLabel": "Accounts Receivable, Allowance for Credit Loss, Beginning Balance"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent": {
     "auth_ref": [
      "r302",
      "r424",
      "r451"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AccountsReceivableNetCurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable, classified as current.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Current",
        "negatedLabel": "Allowance"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent": {
     "auth_ref": [
      "r424",
      "r451"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AccountsReceivableNetNoncurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable, classified as noncurrent.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Noncurrent",
        "negatedLabel": "Allowance"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableRecoveries": {
     "auth_ref": [
      "r456"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in allowance for credit loss on accounts receivable, from recovery.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Recovery",
        "negatedLabel": "Recoveries from prior charge-offs"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableRecoveries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Accounts Receivable, Allowance for Credit Loss [Roll Forward]",
        "terseLabel": "Activities in the provision for credit losses"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableRollforward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs": {
     "auth_ref": [
      "r455"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of direct write-downs of accounts receivable charged against the allowance.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Writeoff",
        "terseLabel": "Charge-offs"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForNotesAndLoansReceivableCurrent": {
     "auth_ref": [
      "r302",
      "r424",
      "r451"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable, classified as current.",
        "label": "Financing Receivable, Allowance for Credit Loss, Current",
        "negatedLabel": "Allowance for credit losses",
        "terseLabel": "Short-term financing receivables, allowance for credit losses"
       }
      }
     },
     "localname": "AllowanceForNotesAndLoansReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForNotesAndLoansReceivableNoncurrent": {
     "auth_ref": [
      "r424",
      "r451"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NotesAndLoansReceivableNetNoncurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable, classified as noncurrent.",
        "label": "Financing Receivable, Allowance for Credit Loss, Noncurrent",
        "negatedLabel": "Allowance for credit losses",
        "terseLabel": "Long-term financing receivables, allowance for credit losses"
       }
      }
     },
     "localname": "AllowanceForNotesAndLoansReceivableNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AlternativeInvestmentMeasurementInput": {
     "auth_ref": [
      "r681"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure alternative investment.",
        "label": "Alternative Investment, Measurement Input",
        "terseLabel": "Loans at fair value"
       }
      }
     },
     "localname": "AlternativeInvestmentMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r47",
      "r527",
      "r722",
      "r967"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs",
        "terseLabel": "Amortization of debt issuance costs and discounts"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r71",
      "r111",
      "r116"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Amortization expense",
        "totalLabel": "Amortization of Intangible Assets, Total"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries": {
     "auth_ref": [
      "r330"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of restricted net assets of consolidated and unconsolidated subsidiaries as of the end of the most recently completed fiscal year.",
        "label": "Amount of Restricted Net Assets for Consolidated and Unconsolidated Subsidiaries",
        "terseLabel": "Amount of net assets of the relevant PRC in the group, not available for distribution"
       }
      }
     },
     "localname": "AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r374"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "verboseLabel": "Number of shares that were anti-dilutive and excluded from the calculation of diluted net (loss)/income per share"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "auth_ref": [
      "r80"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of antidilutive security.",
        "label": "Antidilutive Securities [Axis]",
        "terseLabel": "Antidilutive Securities"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]",
        "terseLabel": "Antidilutive securities excluded from computation of earnings per share"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "auth_ref": [
      "r80"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
        "label": "Antidilutive Securities, Name [Domain]",
        "terseLabel": "Antidilutive Securities, Name"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r220",
      "r248",
      "r293",
      "r331",
      "r399",
      "r410",
      "r416",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r656",
      "r660",
      "r691",
      "r933",
      "r1017",
      "r1018",
      "r1078"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "Total assets",
        "totalLabel": "TOTAL ASSETS"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r284",
      "r305",
      "r331",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r656",
      "r660",
      "r691",
      "r933",
      "r1017",
      "r1018",
      "r1078"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "Current assets"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r193"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Fair Value Disclosure [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNoncurrent": {
     "auth_ref": [
      "r331",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r656",
      "r660",
      "r691",
      "r1017",
      "r1018",
      "r1078"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer.",
        "label": "Assets, Noncurrent",
        "totalLabel": "Total non-current assets"
       }
      }
     },
     "localname": "AssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Noncurrent [Abstract]",
        "terseLabel": "Non-current assets"
       }
      }
     },
     "localname": "AssetsNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r577",
      "r578",
      "r579",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r73",
      "r287",
      "r886"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "periodEndLabel": "Cash and cash equivalents at the end of the year",
        "periodStartLabel": "Cash, cash equivalents at beginning of the year",
        "terseLabel": "Cash and cash equivalents",
        "totalLabel": "Cash and Cash Equivalents, at Carrying Value, Total"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r74"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r74",
      "r218"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's cash and cash equivalents accounting policy with respect to restricted balances. Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
        "label": "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Restricted Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r68",
      "r73",
      "r76"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "Cash, cash equivalents and restricted cash at end of the year",
        "periodStartLabel": "Cash, cash equivalents and restricted cash at beginning of the year",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r68",
      "r208"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Net increase/(decrease) in cash, cash equivalents and restricted cash",
        "terseLabel": "Net increase/(decrease) in cash, cash equivalents and restricted cash",
        "totalLabel": "Net (decrease)/increase in cash, cash equivalents and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r951"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash equivalents",
        "totalLabel": "Cash Equivalents, at Carrying Value, Total"
       }
      }
     },
     "localname": "CashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted": {
     "auth_ref": [
      "r276",
      "r277",
      "r341",
      "r427",
      "r428",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r634",
      "r652",
      "r653",
      "r663",
      "r665",
      "r666",
      "r676",
      "r692",
      "r694",
      "r695",
      "r696",
      "r699",
      "r700",
      "r719",
      "r726",
      "r727",
      "r728",
      "r729",
      "r744",
      "r745",
      "r799",
      "r800",
      "r829",
      "r830"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether accounting standards update was adopted.",
        "label": "Change in Accounting Principle, Accounting Standards Update, Adopted [true false]",
        "terseLabel": "Change in Accounting Principle, Accounting Standards Update, Adopted [true false]"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate": {
     "auth_ref": [
      "r276",
      "r277",
      "r427",
      "r428",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r634",
      "r652",
      "r653",
      "r654",
      "r663",
      "r665",
      "r666",
      "r667",
      "r670",
      "r676",
      "r692",
      "r694",
      "r695",
      "r696",
      "r699",
      "r700",
      "r719",
      "r726",
      "r727",
      "r728",
      "r729",
      "r744",
      "r745",
      "r799",
      "r800",
      "r829",
      "r830",
      "r983"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date accounting standards update was adopted, in YYYY-MM-DD format.",
        "label": "Change in Accounting Principle, Accounting Standards Update, Adoption Date",
        "terseLabel": "Change in Accounting Principle, Accounting Standards Update, Adoption Date"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect": {
     "auth_ref": [
      "r342",
      "r356",
      "r429",
      "r448",
      "r638"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether effect from applying amendment to accounting standards is immaterial.",
        "label": "Change in Accounting Principle, Accounting Standards Update, Immaterial Effect [true false]"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleMember": {
     "auth_ref": [
      "r342",
      "r343",
      "r344",
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in accounting principle. Excludes change from amendment to accounting standards.",
        "label": "Change in Accounting Principle, Type [Domain]",
        "terseLabel": "Change in Accounting Principle, Type"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r295",
      "r296",
      "r297",
      "r331",
      "r361",
      "r365",
      "r371",
      "r373",
      "r381",
      "r382",
      "r439",
      "r494",
      "r497",
      "r498",
      "r499",
      "r503",
      "r504",
      "r534",
      "r535",
      "r537",
      "r538",
      "r540",
      "r691",
      "r865",
      "r948",
      "r969",
      "r986"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class of Stock [Line Items]",
        "terseLabel": "Class Of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r900"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Axis]",
        "terseLabel": "Collateral Held"
       }
      }
     },
     "localname": "CollateralAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Domain]",
        "terseLabel": "Collateral Held"
       }
      }
     },
     "localname": "CollateralDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r30",
      "r232",
      "r257"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies (Note 21)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r125",
      "r488",
      "r489",
      "r849",
      "r1015"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification of common stock representing ownership interest in a corporation.",
        "label": "Common Class A [Member]",
        "terseLabel": "Class A Ordinary Shares"
       }
      }
     },
     "localname": "CommonClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification of common stock that has different rights than Common Class A, representing ownership interest in a corporation.",
        "label": "Common Class B [Member]",
        "terseLabel": "Class B Ordinary Shares"
       }
      }
     },
     "localname": "CommonClassBMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r975",
      "r976",
      "r1065"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Ordinary shares"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockNoParValue": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount per share of no-par value common stock.",
        "label": "Common Stock, No Par Value",
        "terseLabel": "Par value of shares"
       }
      }
     },
     "localname": "CommonStockNoParValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Number of Shares, Par Value and Other Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued",
        "totalLabel": "Common Stock, Shares, Issued, Total"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r12",
      "r138"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "periodEndLabel": "Balances as at end of the year (in shares)",
        "periodStartLabel": "Balances as at beginning of the year (in shares)",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r12",
      "r933"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "periodEndLabel": "Common Stock, Value, Issued, Ending Balance",
        "periodStartLabel": "Common Stock, Value, Issued, Beginning Balance",
        "terseLabel": "Ordinary shares",
        "totalLabel": "Common Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndEmployeeBenefitPlansTextBlock": {
     "auth_ref": [
      "r149",
      "r150",
      "r151",
      "r163"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for an entity's employee compensation and benefit plans, including, but not limited to, postemployment and postretirement benefit plans, defined benefit pension plans, defined contribution plans, non-qualified and supplemental benefit plans, deferred compensation, share-based compensation, life insurance, severance, health care, unemployment and other benefit plans.",
        "label": "Compensation and Employee Benefit Plans [Text Block]",
        "terseLabel": "Employee Benefit Plan"
       }
      }
     },
     "localname": "CompensationAndEmployeeBenefitPlansTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlan"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Assets [Abstract]",
        "terseLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Liabilities [Abstract]",
        "terseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r42",
      "r308",
      "r310",
      "r318",
      "r818",
      "r825"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "terseLabel": "Total comprehensive income attributable to ordinary shareholders",
        "totalLabel": "Total comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r177",
      "r191",
      "r308",
      "r310",
      "r317",
      "r817",
      "r824"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 1.0,
       "parentTag": "lx_ComprehensiveIncomeLossNetOfTaxAvailableToCommonShareholders",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest",
        "totalLabel": "Total comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComputerEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long lived, depreciable assets that are used in the creation, maintenance and utilization of information systems.",
        "label": "Computer Equipment [Member]",
        "terseLabel": "Computers and Equipment"
       }
      }
     },
     "localname": "ComputerEquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ComputerSoftwareIntangibleAssetMember": {
     "auth_ref": [
      "r929",
      "r1009",
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collection of computer programs and related data that provide instructions to a computer, for example, but not limited to, application program, control module or operating system, that perform one or more particular functions or tasks.",
        "label": "Computer Software, Intangible Asset [Member]",
        "terseLabel": "Software"
       }
      }
     },
     "localname": "ComputerSoftwareIntangibleAssetMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r87",
      "r88",
      "r203",
      "r204",
      "r421",
      "r848"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r87",
      "r88",
      "r203",
      "r204",
      "r421",
      "r841",
      "r848"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r87",
      "r88",
      "r203",
      "r204",
      "r421",
      "r848",
      "r1093"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]",
        "terseLabel": "Concentration Risk Type"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "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": "Concentration Risk [Line Items]",
        "terseLabel": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r87",
      "r88",
      "r203",
      "r204",
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Concentration risk (as a percent)"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r84",
      "r87",
      "r88",
      "r89",
      "r203",
      "r205",
      "r848"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]",
        "terseLabel": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r87",
      "r88",
      "r203",
      "r204",
      "r421",
      "r848"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock": {
     "auth_ref": [
      "r281",
      "r336",
      "r949"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for condensed financial information, including the financial position, cash flows, and the results of operations of the registrant (parent company) as of the same dates or for the same periods for which audited consolidated financial statements are being presented. Alternatively, the details of this disclosure can be reported by the specific parent company taxonomy elements, indicating the appropriate date and period contexts in an instance document.",
        "label": "Condensed Financial Information of Parent Company Only Disclosure [Text Block]",
        "terseLabel": "Parent Company Only Condensed Financial Information"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r179",
      "r892"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Basis of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionInProgressMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.",
        "label": "Construction in Progress [Member]",
        "terseLabel": "Construction In Progress"
       }
      }
     },
     "localname": "ConstructionInProgressMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLossCurrent": {
     "auth_ref": [
      "r451",
      "r543"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss for right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as current.",
        "label": "Contract with Customer, Asset, Allowance for Credit Loss, Current",
        "terseLabel": "Short-term contract assets and service fees receivable, allowance for credit losses"
       }
      }
     },
     "localname": "ContractWithCustomerAssetAccumulatedAllowanceForCreditLossCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLossNoncurrent": {
     "auth_ref": [
      "r451",
      "r543"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss for right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as noncurrent.",
        "label": "Contract with Customer, Asset, Allowance for Credit Loss, Noncurrent",
        "terseLabel": "Long-term contract assets and service fees receivable, allowance for credit losses"
       }
      }
     },
     "localname": "ContractWithCustomerAssetAccumulatedAllowanceForCreditLossNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerAssetGross": {
     "auth_ref": [
      "r425",
      "r459",
      "r1023",
      "r1024"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration in exchange for good or service transferred to customer, when right is conditioned on something other than passage of time.",
        "label": "Contract with Customer, Asset, before Allowance for Credit Loss",
        "terseLabel": "Contract assets and receivables past due"
       }
      }
     },
     "localname": "ContractWithCustomerAssetGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerAssetNet": {
     "auth_ref": [
      "r542",
      "r543",
      "r557"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time.",
        "label": "Contract assets, service fees receivable and guarantee receivables",
        "terseLabel": "Contract assets and service fees receivable prior to ASU 326",
        "totalLabel": "Contract with Customer, Asset, after Allowance for Credit Loss, Total",
        "verboseLabel": "Contract assets and receivables, net"
       }
      }
     },
     "localname": "ContractWithCustomerAssetNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerAssetNetCurrent": {
     "auth_ref": [
      "r542",
      "r543",
      "r557"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 11.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as current.",
        "label": "Contract with Customer, Asset, after Allowance for Credit Loss, Current",
        "terseLabel": "Short-term contract assets and receivables, net of allowance for credit losses of RMB208,267 and RMB216,850 as of December 31, 2021 and December 31, 2022, respectively",
        "totalLabel": "Contract with Customer, Asset, after Allowance for Credit Loss, Current, Total",
        "verboseLabel": "Short-term contract assets and service fees receivable, net"
       }
      }
     },
     "localname": "ContractWithCustomerAssetNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerAssetNetNoncurrent": {
     "auth_ref": [
      "r542",
      "r543",
      "r557"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as noncurrent.",
        "label": "Long-term contract assets and service fees receivable, net",
        "terseLabel": "Long-term contract assets and receivables, net of allowance for credit losses of RMB39,034 and RMB52,742 as of December 31, 2021 and December 31, 2022, respectively",
        "totalLabel": "Contract with Customer, Asset, after Allowance for Credit Loss, Noncurrent, Total"
       }
      }
     },
     "localname": "ContractWithCustomerAssetNetNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerBasisOfPricingAxis": {
     "auth_ref": [
      "r917",
      "r1025"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by basis of pricing for contract representing right to consideration in exchange for good or service transferred to customer.",
        "label": "Contract with Customer, Basis of Pricing [Axis]",
        "terseLabel": "Contract with Customer, Basis of Pricing"
       }
      }
     },
     "localname": "ContractWithCustomerBasisOfPricingAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ContractWithCustomerBasisOfPricingDomain": {
     "auth_ref": [
      "r917",
      "r1025"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basis of pricing for contract with customer. Includes, but is not limited to, fixed-price and time-and-materials contracts.",
        "label": "Contract with Customer, Basis of Pricing [Domain]",
        "terseLabel": "Contract with Customer, Basis of Pricing"
       }
      }
     },
     "localname": "ContractWithCustomerBasisOfPricingDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityRevenueRecognized": {
     "auth_ref": [
      "r558"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due.",
        "label": "Contract with Customer, Liability, Revenue Recognized",
        "terseLabel": "Revenue recognized that was included in the contract liabilities balance"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityRevenueRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleDebtCurrent": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 9.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of the carrying value of long-term convertible debt as of the balance sheet date that is scheduled to be repaid within one year or in the normal operating cycle if longer. Convertible debt is a financial instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.",
        "label": "Convertible Debt, Current",
        "terseLabel": "Convertible notes"
       }
      }
     },
     "localname": "ConvertibleDebtCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleDebtMember": {
     "auth_ref": [
      "r130",
      "r505",
      "r506",
      "r517",
      "r518",
      "r519",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r908",
      "r909",
      "r910",
      "r911",
      "r912"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock.",
        "label": "Convertible Debt [Member]",
        "terseLabel": "Convertible Notes"
       }
      }
     },
     "localname": "ConvertibleDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConvertibleDebtNoncurrent": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of long-term convertible debt as of the balance sheet date, net of the amount due in the next twelve months or greater than the normal operating cycle, if longer. The debt is convertible into another form of financial instrument, typically the entity's common stock.",
        "label": "Convertible Debt, Noncurrent",
        "terseLabel": "Convertible notes"
       }
      }
     },
     "localname": "ConvertibleDebtNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleNotesPayable": {
     "auth_ref": [
      "r7",
      "r223",
      "r250",
      "r269"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder.",
        "label": "Convertible Notes Payable",
        "terseLabel": "Convertible notes",
        "totalLabel": "Convertible Notes Payable, Total"
       }
      }
     },
     "localname": "ConvertibleNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r50",
      "r797"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_CostOfRevenue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.",
        "label": "Cost of Goods and Services Sold",
        "negatedLabel": "Cost of sales",
        "totalLabel": "Cost of Goods and Services Sold, Total"
       }
      }
     },
     "localname": "CostOfGoodsAndServicesSold",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfRevenue": {
     "auth_ref": [
      "r51",
      "r331",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r691",
      "r1017"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period.",
        "label": "Cost of Revenue",
        "negatedTerseLabel": "Operating cost",
        "negatedTotalLabel": "Total operating cost",
        "terseLabel": "Operating cost",
        "totalLabel": "Cost of Revenue, Total"
       }
      }
     },
     "localname": "CostOfRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfRevenueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cost of Revenue [Abstract]",
        "terseLabel": "Operating cost:"
       }
      }
     },
     "localname": "CostOfRevenueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CostOfSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing cost of sales.",
        "label": "Cost of Sales [Member]",
        "terseLabel": "Processing and servicing cost"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfSalesPolicyTextBlock": {
     "auth_ref": [
      "r1027"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cost of product sold and service rendered.",
        "label": "Cost of Goods and Service [Policy Text Block]",
        "terseLabel": "Cost of Sales"
       }
      }
     },
     "localname": "CostOfSalesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r173",
      "r631",
      "r642",
      "r972"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationCurrentAndDeferredPortionsOfIncomeTaxBenefitExpenseDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations.",
        "label": "Current Income Tax Expense (Benefit)",
        "terseLabel": "Current income tax expense",
        "totalLabel": "Current Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "CurrentIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationCurrentAndDeferredPortionsOfIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r133",
      "r329",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r521",
      "r528",
      "r529",
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Funding Debts"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebts"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r221",
      "r223",
      "r245",
      "r336",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r511",
      "r517",
      "r518",
      "r519",
      "r520",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r723",
      "r908",
      "r909",
      "r910",
      "r911",
      "r912",
      "r970"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfGroupSOutstandingFundingDebtsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCollateralAmount": {
     "auth_ref": [
      "r239"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets pledged to secure a debt instrument.",
        "label": "Debt Instrument, Collateral Amount",
        "terseLabel": "Collateral amount"
       }
      }
     },
     "localname": "DebtInstrumentCollateralAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentConvertibleConversionPrice1": {
     "auth_ref": [
      "r131",
      "r507"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The price per share of the conversion feature embedded in the debt instrument.",
        "label": "Debt Instrument, Convertible, Conversion Price",
        "terseLabel": "Conversion price per share"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleConversionPrice1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r211",
      "r213",
      "r505",
      "r723",
      "r909",
      "r910"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Principal amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r27",
      "r506"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest rate (as a percent)"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebts",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfGroupSOutstandingFundingDebtsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r28",
      "r336",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r511",
      "r517",
      "r518",
      "r519",
      "r520",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r723",
      "r908",
      "r909",
      "r910",
      "r911",
      "r912",
      "r970"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfGroupSOutstandingFundingDebtsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionPricePercentage": {
     "auth_ref": [
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage price of original principal amount of debt at which debt can be redeemed by the issuer.",
        "label": "Debt Instrument, Redemption Price, Percentage",
        "terseLabel": "Debt instrument percentage"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionPricePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r28",
      "r139",
      "r142",
      "r143",
      "r144",
      "r210",
      "r211",
      "r213",
      "r241",
      "r336",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r511",
      "r517",
      "r518",
      "r519",
      "r520",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r530",
      "r723",
      "r908",
      "r909",
      "r910",
      "r911",
      "r912",
      "r970"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "terseLabel": "Debt Instrument [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebts",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfGroupSOutstandingFundingDebtsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Term",
        "terseLabel": "Term of the loan",
        "verboseLabel": "Term"
       }
      }
     },
     "localname": "DebtInstrumentTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r210",
      "r213",
      "r1022"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "terseLabel": "Net of debt discount",
        "totalLabel": "Debt Instrument, Unamortized Discount, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtLongtermAndShorttermCombinedAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the aggregate of total long-term debt, including current maturities and short-term debt.",
        "label": "Debt, Long-Term and Short-Term, Combined Amount",
        "terseLabel": "Total borrowings obligations",
        "totalLabel": "Debt, Long-term and Short-term, Combined Amount, Total"
       }
      }
     },
     "localname": "DebtLongtermAndShorttermCombinedAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtPolicyTextBlock": {
     "auth_ref": [
      "r128"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt.",
        "label": "Debt, Policy [Policy Text Block]",
        "terseLabel": "Loans at Fair Value"
       }
      }
     },
     "localname": "DebtPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts paid in advance for capitalized costs that will be expensed with the passage of time or the occurrence of a triggering event, and will be charged against earnings within one year or the normal operating cycle, if longer; the aggregate carrying amount of current assets, not separately presented elsewhere in the balance sheet; and other deferred costs.",
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Table Text Block]",
        "terseLabel": "Schedule of Prepayments and Other Current Assets"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r212",
      "r1022"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Debt Issuance Costs, Net",
        "terseLabel": "Issuance costs",
        "totalLabel": "Debt Issuance Costs, Net, Total"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r620",
      "r621"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
        "label": "Deferred Income Tax Assets, Net",
        "terseLabel": "Deferred tax assets",
        "totalLabel": "Deferred Income Tax Assets, Net, Total",
        "verboseLabel": "Net deferred tax assets"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r71",
      "r173",
      "r632",
      "r641",
      "r642",
      "r972"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationCurrentAndDeferredPortionsOfIncomeTaxBenefitExpenseDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "terseLabel": "Deferred income tax",
        "totalLabel": "Deferred Income Tax Expense (Benefit), Total",
        "verboseLabel": "Deferred income tax expense"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationCurrentAndDeferredPortionsOfIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r9",
      "r10",
      "r222",
      "r243",
      "r627"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "totalLabel": "Total deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilitiesNet": {
     "auth_ref": [
      "r620",
      "r621"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting.",
        "label": "Deferred Income Tax Liabilities, Net",
        "negatedLabel": "Deferred tax liabilities",
        "terseLabel": "Deferred tax liabilities (including amounts of the consolidated VIEs of RMB53,630 and RMB52,065 as of December 31, 2021 and December 31, 2022, respectively)",
        "totalLabel": "Deferred Income Tax Liabilities, Net, Total",
        "verboseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetDomain": {
     "auth_ref": [
      "r168"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the deferred tax asset for which a valuation reserve exists.",
        "label": "Deferred Tax Asset [Domain]",
        "terseLabel": "Deferred Tax Asset"
       }
      }
     },
     "localname": "DeferredTaxAssetDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "auth_ref": [
      "r1059"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting.",
        "label": "Deferred Tax Assets, Net",
        "terseLabel": "Net deferred tax assets",
        "totalLabel": "Net deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r1059"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "totalLabel": "Total deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "auth_ref": [
      "r171",
      "r1060"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards.",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforwards",
        "totalLabel": "Deferred Tax Assets, Operating Loss Carryforwards, Total"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther": {
     "auth_ref": [
      "r171",
      "r1060"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences from reserves and accruals, classified as other.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Other",
        "terseLabel": "Guarantee liabilities and other accrued expenses"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses": {
     "auth_ref": [
      "r171",
      "r1060"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary difference from allowance for credit loss on financing receivable.",
        "label": "Deferred Tax Asset, Tax Deferred Expense, Reserve and Accrual, Financing Receivable, Allowance for Credit Loss",
        "terseLabel": "Provision for credit losses"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r628"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Less: valuation allowance",
        "negatedPeriodEndLabel": "Balance at end of the year",
        "negatedPeriodStartLabel": "Balance at beginning of the year",
        "terseLabel": "Deferred tax assets, valuation allowance",
        "totalLabel": "Deferred Tax Assets, Valuation Allowance, Total",
        "verboseLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationMovementOfValuationAllowanceDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r165",
      "r1059"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities, Net",
        "terseLabel": "Net deferred tax liabilities",
        "totalLabel": "Net deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfDeferredTaxAssetsAndDeferredTaxLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings": {
     "auth_ref": [
      "r1060"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from undistributed earnings of subsidiary and other recognized entity not within country of domicile. Includes, but is not limited to, other basis differences.",
        "label": "Deferred Tax Liabilities, Undistributed Foreign Earnings",
        "terseLabel": "Income tax accrued on the undistributed earnings"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesUndistributedForeignEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries": {
     "auth_ref": [
      "r650"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability not recognized because of the exceptions to comprehensive recognition of deferred taxes related to undistributed earnings of foreign subsidiaries.",
        "label": "Deferred Tax Liability Not Recognized, Amount of Unrecognized Deferred Tax Liability, Undistributed Earnings of Foreign Subsidiaries",
        "terseLabel": "Unrecognized tax liabilities related to undistributed profits"
       }
      }
     },
     "localname": "DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanContributionsByEmployer": {
     "auth_ref": [
      "r561",
      "r563",
      "r570",
      "r921",
      "r922",
      "r923",
      "r924"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contribution received by defined benefit plan from employer which increases plan assets.",
        "label": "Defined Benefit Plan, Plan Assets, Contributions by Employer",
        "terseLabel": "Contributions for employee benefits"
       }
      }
     },
     "localname": "DefinedBenefitPlanContributionsByEmployer",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositAssets": {
     "auth_ref": [
      "r953"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of the asset transferred to a third party to serve as a deposit, which typically serves as security against failure by the transferor to perform under terms of an agreement.",
        "label": "Deposit Assets",
        "terseLabel": "Deposits to Institutional Funding Partners",
        "totalLabel": "Deposit Assets, Total"
       }
      }
     },
     "localname": "DepositAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositLiabilityCurrent": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 14.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current portion, due within one year or one operating cycle, if longer, of deposits held other than customer deposits.",
        "label": "Deposit Liability, Current",
        "terseLabel": "Security deposits from third\u2011party sellers"
       }
      }
     },
     "localname": "DepositLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "auth_ref": [
      "r71",
      "r394"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
        "label": "Depreciation, Depletion and Amortization",
        "terseLabel": "Depreciation and amortization",
        "totalLabel": "Depreciation, Depletion and Amortization, Total"
       }
      }
     },
     "localname": "DepreciationDepletionAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetLiabilityNetMeasurementInput": {
     "auth_ref": [
      "r681"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure net derivative asset (liability).",
        "label": "Derivative Asset (Liability) Net, Measurement Input",
        "terseLabel": "Guarantee derivatives assets or liabilities"
       }
      }
     },
     "localname": "DerivativeAssetLiabilityNetMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_DerivativeAssetsCurrent": {
     "auth_ref": [
      "r306"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset, Current",
        "terseLabel": "Guarantee derivative assets at fair value (Note 8)"
       }
      }
     },
     "localname": "DerivativeAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilitiesCurrent": {
     "auth_ref": [
      "r306"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability, Current",
        "terseLabel": "Guarantee derivative liabilities at fair value (Note 9)"
       }
      }
     },
     "localname": "DerivativeLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeMember": {
     "auth_ref": [
      "r192"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents types of derivative financial instruments which are financial instruments or other contractual arrangements with all three of the following characteristics: (a) it has (1) one or more underlyings and (2) one or more notional amounts or payment provisions or both. Those terms determine the amount of the settlement or settlements, and, in some cases, whether or not a settlement is required; (b) it requires 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; and (c) its terms require or permit net settlement, it can readily be settled net by a means outside the contract, or it provides for delivery of an asset that puts the recipient in a position not substantially different from net settlement. Notwithstanding the above characteristics, loan commitments that relate to the origination of mortgage loans that will be held for sale are accounted for as derivative instruments by the issuer of the loan commitment (that is, the potential lender).",
        "label": "Derivative [Member]",
        "terseLabel": "Guarantee Derivative Assets or Liabilities"
       }
      }
     },
     "localname": "DerivativeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisaggregationOfRevenueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Abstract]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Disaggregation of Revenue [Line Items]",
        "terseLabel": "Disaggregation Of Revenue [Line Items]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfAsc606DisaggregatedByRevenueSourcesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueTimingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "auth_ref": [
      "r556",
      "r914",
      "r915",
      "r916",
      "r917",
      "r918",
      "r919",
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table]",
        "terseLabel": "Disaggregation Of Revenue [Table]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfAsc606DisaggregatedByRevenueSourcesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueTimingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "auth_ref": [
      "r1025"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "terseLabel": "Schedule of Operating Revenue Within Scope of ASC 606 Disaggregated by Revenue Sources"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r576",
      "r607",
      "r608",
      "r610",
      "r615",
      "r926"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement [Text Block]",
        "terseLabel": "Share-Based Compensation"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DomesticCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
        "label": "Domestic Tax Authority [Member]",
        "terseLabel": "China Operations"
       }
      }
     },
     "localname": "DomesticCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DueFromAffiliateCurrent": {
     "auth_ref": [
      "r214",
      "r754",
      "r758"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of receivables due from an entity that is affiliated with the reporting entity by means of direct or indirect ownership, due within 1 year (or 1 business cycle).",
        "label": "Due from Affiliate, Current",
        "terseLabel": "Amounts due from subsidiaries"
       }
      }
     },
     "localname": "DueFromAffiliateCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromEmployeesCurrent": {
     "auth_ref": [
      "r214",
      "r754"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due from an Entity employee, not to include stockholders or officers, which are usually due within 1 year (or 1 business cycle).",
        "label": "Due from Employees, Current",
        "terseLabel": "Staff advances"
       }
      }
     },
     "localname": "DueFromEmployeesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedParties": {
     "auth_ref": [
      "r228",
      "r261",
      "r299",
      "r496",
      "r497",
      "r498",
      "r502",
      "r503",
      "r504",
      "r753",
      "r973"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amounts due from related parties including affiliates, employees, joint ventures, officers and stockholders, immediate families thereof, and pension funds.",
        "label": "Due from Related Parties",
        "terseLabel": "Amounts due from Group companies",
        "totalLabel": "Due from Related Parties, Total",
        "verboseLabel": "Amounts due from related parties"
       }
      }
     },
     "localname": "DueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r299",
      "r496",
      "r497",
      "r498",
      "r502",
      "r503",
      "r504",
      "r753",
      "r889",
      "r973"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle).",
        "label": "Due from Related Parties, Current",
        "terseLabel": "Amounts due from related parties",
        "totalLabel": "Due from Related Parties, Current, Total",
        "verboseLabel": "Amounts due from Group companies"
       }
      }
     },
     "localname": "DueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToAffiliateCurrent": {
     "auth_ref": [
      "r3",
      "r214",
      "r268",
      "r973"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Affiliate, Current",
        "terseLabel": "Amounts due to subsidiaries, VIEs and VIEs' subsidiaries",
        "verboseLabel": "Amounts due to subsidiaries, the VIEs and the VIEs' subsidiaries"
       }
      }
     },
     "localname": "DueToAffiliateCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r20",
      "r496",
      "r497",
      "r498",
      "r502",
      "r503",
      "r504",
      "r753",
      "r973"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Amounts due to Group companies",
        "negatedLabel": "Amounts due to Group companies",
        "terseLabel": "Amounts due to related parties(including amounts of the consolidated VIEs of RMB23,102 and RMB4,669 as of December 31, 2021 and December 31, 2022, respectively)",
        "totalLabel": "Due to Related Parties, Current, Total",
        "verboseLabel": "Amounts due to related parties"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r229",
      "r260",
      "r496",
      "r497",
      "r498",
      "r502",
      "r503",
      "r504",
      "r753",
      "r973"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties.",
        "label": "Due to Related Parties",
        "terseLabel": "Amounts due to Group companies",
        "totalLabel": "Due to Related Parties, Total"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Net income per ordinary share attributable to ordinary shareholders of the Company"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r319",
      "r346",
      "r347",
      "r349",
      "r350",
      "r351",
      "r358",
      "r361",
      "r371",
      "r372",
      "r373",
      "r377",
      "r674",
      "r675",
      "r819",
      "r826",
      "r895"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic",
        "totalLabel": "Earnings Per Share, Basic, Total",
        "verboseLabel": "Net income per share attributable to ordinary shareholders\u2014basic"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareBasicAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share, Basic [Abstract]",
        "terseLabel": "Basic net income per share calculation:"
       }
      }
     },
     "localname": "EarningsPerShareBasicAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r319",
      "r346",
      "r347",
      "r349",
      "r350",
      "r351",
      "r361",
      "r371",
      "r372",
      "r373",
      "r377",
      "r674",
      "r675",
      "r819",
      "r826",
      "r895"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted",
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "verboseLabel": "Net income per share attributable to ordinary shareholders\u2014diluted"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDilutedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share, Diluted [Abstract]",
        "terseLabel": "Diluted net income per share calculation:"
       }
      }
     },
     "localname": "EarningsPerShareDilutedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r80",
      "r81"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Net Income Per Share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r374",
      "r375",
      "r376",
      "r378"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Net Income Per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "auth_ref": [
      "r1070"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies; including, but not limited to, disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations",
        "terseLabel": "Effect of exchange rate changes on cash and cash equivalents and restricted cash",
        "totalLabel": "Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations, Total",
        "verboseLabel": "Effect of exchange rate changes on cash, cash equivalents and restricted cash"
       }
      }
     },
     "localname": "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r623"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "terseLabel": "Effective tax rate",
        "totalLabel": "Effective tax rate for the Group"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Percent [Abstract]",
        "terseLabel": "Reconciliation between the statutory EIT rate and the effective tax rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r334",
      "r623",
      "r644"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "Statutory tax rate (as a percentage)",
        "verboseLabel": "Statutory EIT rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r1058",
      "r1063"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the valuation allowance for deferred tax assets.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Percent",
        "negatedLabel": "Changes in valuation allowance",
        "terseLabel": "Changes in valuation allowance"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate": {
     "auth_ref": [
      "r644",
      "r1058"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the income tax rates.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Percent",
        "negatedLabel": "Change of tax position",
        "terseLabel": "Preferential tax rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense": {
     "auth_ref": [
      "r1058",
      "r1063"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Percent",
        "negatedLabel": "Tax effect of non\u2011deductible expense",
        "terseLabel": "Effect of non-deductible expenses",
        "totalLabel": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Percent, Total"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments": {
     "auth_ref": [
      "r1058",
      "r1063"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments.",
        "label": "Effective Income Tax Rate Reconciliation, Other Adjustments, Percent",
        "terseLabel": "Tax rate difference from statutory rate in other jurisdictions and others"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationOtherAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch": {
     "auth_ref": [
      "r1058",
      "r1063"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to research tax credit.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Credit, Research, Percent",
        "negatedLabel": "Effect of research and development tax credit",
        "terseLabel": "Effect of research and development tax credit"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTaxCreditsResearch",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome": {
     "auth_ref": [
      "r1058",
      "r1063"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income (loss) exempt from income taxes.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Exempt Income, Percent",
        "terseLabel": "Tax exempt income rate (as a percent)"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTaxExemptIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationTaxHolidays": {
     "auth_ref": [
      "r1058",
      "r1063"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": -1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income exempt from income tax because of a tax holiday.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Holiday, Percent",
        "negatedLabel": "Effect of tax holidays",
        "terseLabel": "Tax exempt income rate (as a percent)"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTaxHolidays",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmployeeRelatedLiabilitiesCurrent": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Employee-related Liabilities, Current",
        "terseLabel": "Accrued payroll and welfare",
        "totalLabel": "Employee-related Liabilities, Current, Total"
       }
      }
     },
     "localname": "EmployeeRelatedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r609"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation cost to be recognized and adjusted for future changes",
        "totalLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r609"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Period over which remaining unrecognized stock-based compensation expense is recognized"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions": {
     "auth_ref": [
      "r1054"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation cost related to unvested restricted share units"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense": {
     "auth_ref": [
      "r606"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax benefit for recognition of expense of award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Expense, Tax Benefit",
        "terseLabel": "Income tax benefit"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-Based Payment Arrangement, Option [Member]",
        "terseLabel": "Stock Options"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r138",
      "r278",
      "r312",
      "r313",
      "r314",
      "r337",
      "r338",
      "r339",
      "r343",
      "r352",
      "r355",
      "r380",
      "r447",
      "r541",
      "r611",
      "r612",
      "r613",
      "r636",
      "r637",
      "r673",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r715",
      "r749",
      "r831",
      "r832",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment": {
     "auth_ref": [
      "r108"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents an other than temporary decline in value that has been recognized against an investment accounted for under the equity method of accounting. The excess of the carrying amount over the fair value of the investment represents the amount of the write down which is or was reflected in earnings. The written down value is a new cost basis with the adjusted value of the investment becoming its new carrying value subject to the equity accounting method. Evidence of a loss in value might include, but would not necessarily be limited to, absence of an ability to recover the carrying amount of the investment or inability of the investee to sustain an earnings capacity which would justify the carrying amount of the investment.",
        "label": "Equity Method Investment, Other than Temporary Impairment",
        "terseLabel": "Impairment charges"
       }
      }
     },
     "localname": "EquityMethodInvestmentOtherThanTemporaryImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r109",
      "r400",
      "r952"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "terseLabel": "Equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFVNINoncurrent": {
     "auth_ref": [
      "r688"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as noncurrent.",
        "label": "Equity Securities, FV-NI, Noncurrent",
        "periodEndLabel": "Long-term investment at the end of the year",
        "periodStartLabel": "Long-term investment at the beginning of the year"
       }
      }
     },
     "localname": "EquitySecuritiesFVNINoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureLongtermInvestmentsSummaryOfMovementOfCarryingValueOfEquityInvestmentsAccountedUsingMeasurementAlternativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent": {
     "auth_ref": [
      "r294",
      "r688"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI",
        "terseLabel": "Debt investment principle amount",
        "totalLabel": "Equity Securities, FV-NI, Total"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiUnrealizedGain": {
     "auth_ref": [
      "r437"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Unrealized Gain",
        "terseLabel": "Unrealized gains (upward adjustment)"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiUnrealizedGain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount": {
     "auth_ref": [
      "r435"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Amount",
        "terseLabel": "Carrying value of equity investments"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount": {
     "auth_ref": [
      "r436"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss from downward price adjustment on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Downward Price Adjustment, Annual Amount",
        "terseLabel": "Other downward adjustment related to investments without readily determinable fair value"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount": {
     "auth_ref": [
      "r436"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of impairment loss on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Impairment Loss, Annual Amount",
        "terseLabel": "Impairment related to investments without readily determinable fair value recognized"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r519",
      "r690",
      "r909",
      "r910"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExtinguishmentOfDebtAxis": {
     "auth_ref": [
      "r132"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information pertaining to the debt extinguished including the amount of gain (loss), the income tax effect on the gain (loss), and the amount of gain (loss), net or the related income tax, by debt instrument.",
        "label": "Extinguishment of Debt [Axis]"
       }
      }
     },
     "localname": "ExtinguishmentOfDebtAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ExtinguishmentOfDebtTypeDomain": {
     "auth_ref": [
      "r132"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of debt extinguished.",
        "label": "Extinguishment of Debt, Type [Domain]"
       }
      }
     },
     "localname": "ExtinguishmentOfDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r677",
      "r678",
      "r686"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "auth_ref": [
      "r193",
      "r194",
      "r195",
      "r199",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial instruments measured at fair value, including those classified in shareholders' equity measured on a recurring or nonrecurring basis. Disclosures include, but are not limited to, fair value measurements recorded and the reasons for the measurements, level within the fair value hierarchy in which the fair value measurements are categorized and transfers between levels 1 and 2. Nonrecurring fair value measurements are those that are required or permitted in the statement of financial position in particular circumstances.",
        "label": "Fair Value Measurements, Recurring and Nonrecurring [Table Text Block]",
        "terseLabel": "Schedule of Fair Value of Hierarchy For Assets and Liabilities Measured on Recurring Basis"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "terseLabel": "Summary of Quantitative Information About The Significant Unobservable Inputs"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]",
        "terseLabel": "Asset Class"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r197",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "terseLabel": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r197",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Summary of Activities Related to Fair Value of the Loans Acquired or Purchased"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r193",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]",
        "terseLabel": "Asset Class"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r519",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r678",
      "r765",
      "r766",
      "r767",
      "r909",
      "r910",
      "r921",
      "r922",
      "r923"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r193",
      "r202",
      "r519",
      "r909",
      "r910"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]",
        "terseLabel": "Measurement Basis"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r677",
      "r678",
      "r680",
      "r681",
      "r687"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [
      "r519",
      "r909",
      "r910"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
        "label": "Fair Value Measurement [Domain]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosureItemAmountsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r519",
      "r563",
      "r568",
      "r678",
      "r765",
      "r921",
      "r922",
      "r923"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1 Inputs"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r519",
      "r563",
      "r568",
      "r678",
      "r766",
      "r909",
      "r910",
      "r921",
      "r922",
      "r923"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2 Inputs"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r519",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r678",
      "r767",
      "r909",
      "r910",
      "r921",
      "r922",
      "r923"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3 Inputs"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r197",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of liabilities using significant unobservable inputs (level 3). Separately presenting changes during the period, attributable to: (1) total gains or losses for the period (realized and unrealized) and location reported in the statement of income (or activities); (2) purchases, sales, issuances, and settlements (net); (3) transfers in and/or out of Level 3.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "terseLabel": "Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r197",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Summary of Activities Related to Fair Value of the Guarantee Derivatives"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r198"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "terseLabel": "Fair value at inception of loans acquired/purchased"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales": {
     "auth_ref": [
      "r198"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales",
        "negatedLabel": "Disposal"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r197"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Fair value of loans acquired/purchased at end of the year (Level 3)",
        "periodStartLabel": "Fair value of loans acquired/purchased at beginning of the year (Level 3)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "auth_ref": [
      "r682"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
        "terseLabel": "Change in fair value"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r519",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r765",
      "r766",
      "r767",
      "r909",
      "r910",
      "r921",
      "r922",
      "r923"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r684",
      "r687"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Recurring Basis"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisChangeInUnrealizedGainLoss": {
     "auth_ref": [
      "r683"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) recognized in income for derivative asset (liability) after deduction of derivative liability (asset), measured at fair value using unobservable input (level 3) and still held.",
        "label": "Fair Value, Net Derivative Asset (Liability), Recurring Basis, Still Held, Unrealized Gain (Loss)",
        "negatedLabel": "Change in fair value of financial guarantee derivatives, net",
        "terseLabel": "Change in fair value of financial guarantee derivatives, net"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings": {
     "auth_ref": [
      "r682",
      "r685"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from derivative asset (liability) after deduction of derivative liability (asset), measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Inputs Reconciliation, Gain (Loss) Included in Earnings",
        "terseLabel": "Change in fair value"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationIssues": {
     "auth_ref": [
      "r198",
      "r200"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of issuances of financial instrument classified as a derivative asset (liability) after deduction of derivative liability (asset), measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Inputs Reconciliation, Issues",
        "terseLabel": "Cash collection"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements": {
     "auth_ref": [
      "r198",
      "r200"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of settlements of financial instrument classified as a derivative asset (liability) after deduction of derivative liability, measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Inputs Reconciliation, Settlements",
        "negatedLabel": "Net cash payout"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersNet": {
     "auth_ref": [
      "r1068"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of financial instrument classified as a derivative asset (liability) after deduction of derivative liability (asset) into (out of) level 3 of the fair value hierarchy.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Inputs Reconciliation, Transfers, Net",
        "negatedLabel": "Transfers of financial guarantee contracts",
        "terseLabel": "Transfers of financial guarantee contracts",
        "totalLabel": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Inputs Reconciliation, Transfers, Net, Total"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs": {
     "auth_ref": [
      "r193",
      "r200"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as derivative asset (liability) after deduction of derivative liability (asset), measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis with Unobservable Inputs",
        "negatedPeriodEndLabel": "Fair value of guarantee derivative liabilities/(assets) at end of the year (Level 3)",
        "negatedPeriodStartLabel": "Fair value of guarantee derivative liabilities/(assets) at beginning of the year (Level 3)",
        "periodEndLabel": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis with Unobservable Inputs, Ending Balance",
        "periodStartLabel": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis with Unobservable Inputs, Beginning Balance"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueOptionChangesInFairValueGainLoss1": {
     "auth_ref": [
      "r206"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For each line item in the statement of financial position, the amounts of gains and losses from fair value changes included in earnings.",
        "label": "Fair Value, Option, Changes in Fair Value, Gain (Loss)",
        "terseLabel": "Fair value, option, changes in fair value, gain (loss)",
        "verboseLabel": "Change in fair value of loans at fair value"
       }
      }
     },
     "localname": "FairValueOptionChangesInFairValueGainLoss1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleList": {
     "auth_ref": [
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement in which net income is reported that includes gain (loss) from liability measured at fair value using unobservable input (level 3).",
        "label": "Fair Value, Liability, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]"
       }
      }
     },
     "localname": "FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfLoansAcquiredOrPurchasedDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_FairValueRecurringBasisUnobservableInputReconciliationNetDerivativeAssetLiabilityGainLossStatementOfIncomeExtensibleList": {
     "auth_ref": [
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement in which net income is reported that includes gain (loss) from derivative asset (liability) after deduction of derivative liability (asset), measured at fair value using unobservable input (level 3).",
        "label": "Fair Value, Net Derivative Asset (Liability), Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]"
       }
      }
     },
     "localname": "FairValueRecurringBasisUnobservableInputReconciliationNetDerivativeAssetLiabilityGainLossStatementOfIncomeExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r332",
      "r622"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current and deferred national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Federal Income Tax Expense (Benefit), Continuing Operations",
        "negatedLabel": "Income tax expense applicable to China operations",
        "terseLabel": "Income tax expense applicable to China operations",
        "totalLabel": "Federal Income Tax Expense (Benefit), Continuing Operations, Total"
       }
      }
     },
     "localname": "FederalIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "auth_ref": [
      "r459",
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset not past due.",
        "label": "Financial Asset, Not Past Due [Member]",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "FinancialAssetNotPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "auth_ref": [
      "r459",
      "r903",
      "r992"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset past due.",
        "label": "Financial Asset, Past Due [Member]",
        "terseLabel": "Total Past Due"
       }
      }
     },
     "localname": "FinancialAssetPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r432",
      "r433",
      "r452",
      "r458",
      "r459",
      "r461",
      "r463",
      "r465",
      "r466",
      "r467",
      "r530",
      "r539",
      "r664",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768",
      "r769",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r775",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r785",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r793",
      "r794",
      "r904",
      "r996",
      "r997",
      "r998",
      "r1095",
      "r1096",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialLiabilitiesFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial obligations, including, but not limited to, debt instruments, derivative liabilities, federal funds purchased and sold under agreements to repurchase, securities loaned or sold under agreements to repurchase, financial instruments sold not yet purchased, guarantees, line of credit, loans and notes payable, servicing liability, and trading liabilities.",
        "label": "Financial Liabilities Fair Value Disclosure",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "FinancialLiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Liabilities Fair Value Disclosure [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "FinancialLiabilitiesFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialServiceMember": {
     "auth_ref": [
      "r1026"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial assistance, including, but not limited to, management and maintenance of depositor account, credit card, merchant discount, trust, investment and insurance.",
        "label": "Financial Service [Member]",
        "terseLabel": "Financing income"
       }
      }
     },
     "localname": "FinancialServiceMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "auth_ref": [
      "r93",
      "r302",
      "r451",
      "r453",
      "r457",
      "r868",
      "r870",
      "r872",
      "r1088"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement.",
        "label": "Financing Receivable, Allowance for Credit Loss",
        "negatedLabel": "Allowance for credit losses",
        "negatedPeriodEndLabel": "Ending balances",
        "negatedPeriodStartLabel": "Beginning balances",
        "periodEndLabel": "Financing Receivable, Allowance for Credit Loss, Ending Balance",
        "periodStartLabel": "Financing Receivable, Allowance for Credit Loss, Beginning Balance",
        "verboseLabel": "Credit allowance of financial receivable"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Allowance for Credit Loss [Line Items]",
        "terseLabel": "Financing Receivable Allowance For Credit Losses [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery": {
     "auth_ref": [
      "r95",
      "r456",
      "r902"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in allowance for credit loss on financing receivable from recovery.",
        "label": "Financing Receivable, Allowance for Credit Loss, Recovery",
        "negatedLabel": "Recoveries from prior charge-offs"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesRecovery",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "auth_ref": [
      "r94",
      "r455",
      "r902"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss.",
        "label": "Financing Receivable, Allowance for Credit Loss, Writeoff",
        "terseLabel": "Financing receivable, charged-off",
        "verboseLabel": "Charge-offs"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear": {
     "auth_ref": [
      "r464",
      "r902"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon": {
       "order": 4.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated in current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year One, Originated, Current Fiscal Year",
        "terseLabel": "Loans originated in 2022"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedInCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear": {
     "auth_ref": [
      "r464",
      "r902"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon": {
       "order": 3.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year Two, Originated, Fiscal Year before Current Fiscal Year",
        "terseLabel": "Loans originated in 2021"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r464",
      "r902"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon": {
       "order": 1.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year Four, Originated, Three Years before Current Fiscal Year",
        "terseLabel": "Loans originated in 2019"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear": {
     "auth_ref": [
      "r464",
      "r902"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon": {
       "order": 2.0,
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Year Three, Originated, Two Years before Current Fiscal Year",
        "terseLabel": "Loans originated in 2020"
       }
      }
     },
     "localname": "FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r452",
      "r458",
      "r866",
      "r867",
      "r871",
      "r872",
      "r899",
      "r1095",
      "r1096",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1103",
      "r1104",
      "r1105"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Axis]",
        "terseLabel": "Financing Receivable Portfolio Segment"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [
      "r866",
      "r867",
      "r871",
      "r872",
      "r1095",
      "r1096",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1103",
      "r1104",
      "r1105"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Domain]",
        "terseLabel": "Financing Receivable Portfolio Segment"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Credit Quality Indicator [Line Items]",
        "terseLabel": "Financing receivables credit quality indicator"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r99",
      "r460",
      "r869",
      "r870"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable on nonaccrual status. Excludes net investment in lease.",
        "label": "Financing Receivable, Nonaccrual",
        "terseLabel": "Financing receivables, non-accrual status"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Past Due [Line Items]",
        "terseLabel": "Aging analysis of past due financing receivables"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivables1To29DaysPastDueMember": {
     "auth_ref": [
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset fewer than 30 days past due.",
        "label": "Financial Asset, 1 to 29 Days Past Due [Member]",
        "terseLabel": "1-29 Days Past Due"
       }
      }
     },
     "localname": "FinancingReceivables1To29DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due.",
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]",
        "terseLabel": "30-59 Days Past Due"
       }
      }
     },
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due.",
        "label": "Financial Asset, 60 to 89 Days Past Due [Member]",
        "terseLabel": "60-89 Days Past Due"
       }
      }
     },
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset equal to or greater than 90 days past due.",
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]",
        "terseLabel": "90-179 Days Past Due"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r425",
      "r459",
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by period in which financial asset is past due or not past due.",
        "label": "Financial Asset, Aging [Axis]",
        "terseLabel": "Financial Asset, Period Past Due"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [
      "r425",
      "r459",
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period in which financial asset is past due or not past due. For past due, element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less than [high end numeric value] [date measure] Past Due [Member] formats.",
        "label": "Financial Asset, Aging [Domain]",
        "terseLabel": "Financial Asset, Period Past Due"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesTextBlock": {
     "auth_ref": [
      "r426",
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for financing receivable.",
        "label": "Financing Receivables [Text Block]",
        "terseLabel": "Financing Receivables, Net"
       }
      }
     },
     "localname": "FinancingReceivablesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Land use right period"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r291",
      "r482"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfLandUseRightsNetDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "negatedLabel": "Accumulated amortization",
        "terseLabel": "Accumulated amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfLandUseRightsNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for asset, excluding financial asset and goodwill, lacking physical substance with finite life expected to be recognized after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r115",
      "r802"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfLandUseRightsNetDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Gross carrying amount",
        "totalLabel": "Finite-Lived Intangible Assets, Gross, Total"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfLandUseRightsNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r115",
      "r798"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfLandUseRightsNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "netLabel": "Net carrying amount",
        "periodEndLabel": "Finite-Lived Intangible Assets, Net, Ending Balance",
        "periodStartLabel": "Finite-Lived Intangible Assets, Net, Beginning Balance",
        "terseLabel": "Net carrying amount",
        "totalLabel": "Net carrying amount"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfAmortizationExpensesForFuturePeriodsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfLandUseRightsNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinitelivedIntangibleAssetsAcquired1": {
     "auth_ref": [
      "r481"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition.",
        "label": "Finite-Lived Intangible Assets Acquired",
        "terseLabel": "Finite-lived intangible assets, cash consideration"
       }
      }
     },
     "localname": "FinitelivedIntangibleAssetsAcquired1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyExchangeRateTranslation1": {
     "auth_ref": [
      "r716",
      "r717"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign exchange rate used to translate amounts denominated in functional currency to reporting currency.",
        "label": "Foreign Currency Exchange Rate, Translation",
        "terseLabel": "Translation rate"
       }
      }
     },
     "localname": "ForeignCurrencyExchangeRateTranslation1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossBeforeTax": {
     "auth_ref": [
      "r701",
      "r703",
      "r705",
      "r707"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement.",
        "label": "Foreign Currency Transaction Gain (Loss), before Tax",
        "negatedLabel": "Foreign exchange gain",
        "totalLabel": "Foreign Currency Transaction Gain (Loss), before Tax, Total"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r718"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Functional Currency and Foreign Currency Translation"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ForeignIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r332"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred foreign income tax expense (benefit) attributable to income (loss) from continuing operations.",
        "label": "Foreign Income Tax Expense (Benefit), Continuing Operations",
        "terseLabel": "Income tax expense applicable to non-China operations",
        "totalLabel": "Foreign Income Tax Expense (Benefit), Continuing Operations, Total"
       }
      }
     },
     "localname": "ForeignIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture and Fixtures [Member]",
        "terseLabel": "Furniture and Fixtures"
       }
      }
     },
     "localname": "FurnitureAndFixturesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnInvestments": {
     "auth_ref": [
      "r53",
      "r106",
      "r947"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 11.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) on investment.",
        "label": "Gain (Loss) on Investments",
        "negatedLabel": "Investment income/(loss)",
        "terseLabel": "Investment loss",
        "totalLabel": "Gain (Loss) on Investments, Total",
        "verboseLabel": "Investment income/(loss)"
       }
      }
     },
     "localname": "GainLossOnInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfInvestments": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing activities.",
        "label": "Gain (Loss) on Sale of Investments",
        "negatedLabel": "(Gain)/loss on disposal of long-term investments",
        "totalLabel": "Gain (Loss) on Sale of Investments, Total"
       }
      }
     },
     "localname": "GainLossOnSaleOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "auth_ref": [
      "r71",
      "r236",
      "r265"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 25.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes.",
        "label": "Gain (Loss) on Sales of Loans, Net",
        "negatedLabel": "Gain on disposal of loans at fair value and financing receivables",
        "totalLabel": "Gain (Loss) on Sales of Loans, Net, Total"
       }
      }
     },
     "localname": "GainLossOnSalesOfLoansNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "negatedLabel": "General and administrative expenses",
        "totalLabel": "General and Administrative Expense, Total"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "auth_ref": [
      "r46"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing general and administrative expense.",
        "label": "General and Administrative Expense [Member]",
        "terseLabel": "General and administrative expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GeographicConcentrationRiskMember": {
     "auth_ref": [
      "r86",
      "r848"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that a specified dollar value on the balance sheet or income statement in the period from one or more specified geographic areas is to a corresponding consolidated, segment, or product line amount. Risk is the materially adverse effects of economic decline or antagonistic political actions resulting in loss of assets, sales volume, labor supply, or source of materials and supplies in a US state or a specified country, continent, or region such as EMEA (Europe, Middle East, Africa).",
        "label": "Geographic Concentration Risk [Member]",
        "terseLabel": "Geographic Concentration Risk"
       }
      }
     },
     "localname": "GeographicConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GrossProfit": {
     "auth_ref": [
      "r49",
      "r331",
      "r399",
      "r409",
      "r415",
      "r417",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r691",
      "r897",
      "r1017"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
        "label": "Gross Profit",
        "totalLabel": "Gross profit"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteeObligationsCurrentCarryingValue": {
     "auth_ref": [
      "r126"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current carrying amount of the liability for the freestanding or embedded guarantor's obligations under the guarantee or each group of similar guarantees.",
        "label": "Guarantor Obligations, Current Carrying Value",
        "negatedLabel": "Guarantee liabilities",
        "periodEndLabel": "Ending balances",
        "periodStartLabel": "Opening balances",
        "terseLabel": "Guarantee liabilities (including amounts of the consolidated VIEs of RMB1,726,368 and nil as of December 31, 2019 and 2020, respectively)",
        "verboseLabel": "Guarantee liabilities"
       }
      }
     },
     "localname": "GuaranteeObligationsCurrentCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteesFairValueDisclosure": {
     "auth_ref": [
      "r127"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_FinancialLiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of guarantee, including, but not limited to, financial standby letter of credit, fair value guarantee, guarantee of collection of scheduled contractual cash flows from financial assets, and contracts that contingently require the guarantor to make payments or perform services.",
        "label": "Guarantees, Fair Value Disclosure",
        "terseLabel": "Guarantee derivative liabilities"
       }
      }
     },
     "localname": "GuaranteesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteesMember": {
     "auth_ref": [
      "r1026"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A guaranty by which one person assumes responsibility for paying another's debts or fulfilling another's responsibilities; or a promise, pledge, assurance, especially one given in writing, that attests: (a) to the quality or durability of a product or service; (b) that something will be performed in a specified manner; or (c) that execution, completion, or existence of something is as represented or stipulated by agreement.",
        "label": "Guarantees [Member]",
        "terseLabel": "Guarantee income"
       }
      }
     },
     "localname": "GuaranteesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldToMaturitySecurities": {
     "auth_ref": [
      "r107",
      "r425",
      "r459",
      "r1004"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss",
        "terseLabel": "Loan receivable recorded at amortized cost",
        "totalLabel": "Debt Securities, Held-to-maturity, Total"
       }
      }
     },
     "localname": "HeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesNoncurrent": {
     "auth_ref": [
      "r105",
      "r994",
      "r1004"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity), classified as noncurrent.",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss, Noncurrent",
        "terseLabel": "Carrying amount of held-to-maturity debt investments"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IPOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First sale of stock by a private company to the public.",
        "label": "IPO [Member]",
        "terseLabel": "IPO"
       }
      }
     },
     "localname": "IPOMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember": {
     "auth_ref": [
      "r1074",
      "r1075"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Family member whom a principal owner or a member of management might control or influence, or by whom they might be controlled or influenced, because of the family relationship.",
        "label": "Immediate Family Member of Management or Principal Owner [Member]",
        "terseLabel": "Individual Director or Officer and his/her immediate family members under investment programs offered by the Group"
       }
      }
     },
     "localname": "ImmediateFamilyMemberOfManagementOrPrincipalOwnerMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod": {
     "auth_ref": [
      "r97"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income on financing receivables, for which there is a related allowance for credit losses, recognized on a cash-basis method of accounting that the financing receivables were impaired.",
        "label": "Impaired Financing Receivable, with Related Allowance, Interest Income, Cash Basis Method",
        "terseLabel": "Interest and late payment fees earned from non-accrual financing receivables"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOfIntangibleAssetsFinitelived": {
     "auth_ref": [
      "r967",
      "r1011"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value.",
        "label": "Impairment of Intangible Assets, Finite-Lived",
        "terseLabel": "Impairment"
       }
      }
     },
     "localname": "ImpairmentOfIntangibleAssetsFinitelived",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetScheduleOfLandUseRightsNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOfInvestments": {
     "auth_ref": [
      "r431"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount by which the fair value of an investment is less than the amortized cost basis or carrying amount of that investment at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income.",
        "label": "Other than Temporary Impairment Losses, Investments",
        "negatedLabel": "Investment-related impairment",
        "negatedTerseLabel": "Other long-term investments related impairment",
        "terseLabel": "Investment-related impairment",
        "totalLabel": "Other than Temporary Impairment Losses, Investments, Total"
       }
      }
     },
     "localname": "ImpairmentOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "auth_ref": [
      "r118",
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing and measuring the impairment of long-lived assets. An entity also may disclose its accounting policy for long-lived assets to be sold. This policy excludes goodwill and intangible assets.",
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "terseLabel": "Impairment of Long-Lived Assets"
       }
      }
     },
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic": {
     "auth_ref": [
      "r333",
      "r643"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of earnings or loss from continuing operations before income taxes that is attributable to domestic operations.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Domestic",
        "totalLabel": "Income from China operations"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r43",
      "r217",
      "r234",
      "r264",
      "r399",
      "r409",
      "r415",
      "r417",
      "r820",
      "r897"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "Income before income tax expense",
        "totalLabel": "Income before income tax expense",
        "verboseLabel": "Income/(Loss) before income tax"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign": {
     "auth_ref": [
      "r333",
      "r643"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of earnings or loss from continuing operations before income taxes that is attributable to foreign operations, which is defined as Income or Loss generated from operations located outside the entity's country of domicile.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Foreign",
        "negatedLabel": "Income/(Loss) from non-China operations",
        "terseLabel": "Income/(Loss) from non-China operations"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest [Abstract]",
        "terseLabel": "Components of (loss)/income before income tax expense"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r44",
      "r71",
      "r109",
      "r233",
      "r262",
      "r396"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
        "label": "Income (Loss) from Equity Method Investments",
        "negatedLabel": "Share of results of equity investees",
        "terseLabel": "Loss from equity method investments",
        "totalLabel": "Income (Loss) from Equity Method Investments, Total"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r483",
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r167"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r334",
      "r624",
      "r625",
      "r630",
      "r639",
      "r645",
      "r647",
      "r648",
      "r651"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Taxation"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r335",
      "r354",
      "r355",
      "r397",
      "r622",
      "r640",
      "r646",
      "r827"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationCurrentAndDeferredPortionsOfIncomeTaxBenefitExpenseDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "Income tax expense",
        "negatedTerseLabel": "Income tax (expenses)/benefits",
        "terseLabel": "Income tax expense applicable to China operations",
        "totalLabel": "Income tax expense",
        "verboseLabel": "Income tax (expenses)/benefits"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationComponentsOfIncomeBeforeIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationCurrentAndDeferredPortionsOfIncomeTaxBenefitExpenseDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Expense (Benefit), Continuing Operations [Abstract]",
        "terseLabel": "Current and deferred portion of income tax expense"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefitContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationCurrentAndDeferredPortionsOfIncomeTaxBenefitExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxHolidayAggregateDollarAmount": {
     "auth_ref": [
      "r645"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income taxes from which a reporting entity is exempt or for which it will receive a reduction in income taxes as a result of the income tax holiday granted by the taxing jurisdiction.",
        "label": "Income Tax Holiday, Aggregate Dollar Amount",
        "terseLabel": "Tax holiday effect"
       }
      }
     },
     "localname": "IncomeTaxHolidayAggregateDollarAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureTaxationEffectOfTaxHolidayRelatedToGroupDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r311",
      "r618",
      "r619",
      "r625",
      "r626",
      "r629",
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Taxation"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r75"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash paid for income tax expense",
        "totalLabel": "Income Taxes Paid, Net, Total"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 45.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accruals and other current liabilities",
        "totalLabel": "Increase (Decrease) in Accounts Payable and Accrued Liabilities, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInContractWithCustomerAsset": {
     "auth_ref": [
      "r966"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 32.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time.",
        "label": "Increase (Decrease) in Contract with Customer, Asset",
        "negatedLabel": "Contract assets and receivables"
       }
      }
     },
     "localname": "IncreaseDecreaseInContractWithCustomerAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredRevenue": {
     "auth_ref": [
      "r891"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 41.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable.",
        "label": "Increase (Decrease) in Deferred Revenue",
        "terseLabel": "Deferred guarantee income"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 30.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate increase (decrease) during the reporting period in the amount due from the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; an entity and its principal owners, management, or member of their immediate families, affiliates, or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Due from Related Parties, Current",
        "negatedLabel": "Amounts due from related parties",
        "terseLabel": "Increase (decrease) in amounts due from subsidiaries and other related parties",
        "totalLabel": "Increase (Decrease) in Due from Related Parties, Current, Total",
        "verboseLabel": "Decrease in amounts due from subsidiaries and other related parties"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 37.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of obligations to be paid to the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entities' management; an entity and its principal owners, management, or member of their immediate families, affiliates, or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Due to Related Parties, Current",
        "terseLabel": "Amounts due to related parties",
        "totalLabel": "Increase (Decrease) in Due to Related Parties, Current, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInEquitySecuritiesFvNi": {
     "auth_ref": [
      "r323",
      "r434"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Increase (Decrease) in Equity Securities, FV-NI",
        "negatedLabel": "Decrease in equity investments due to disposal of two joint ventures"
       }
      }
     },
     "localname": "IncreaseDecreaseInEquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInFinanceReceivables": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 26.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in outstanding loans including accrued interest.",
        "label": "Increase (Decrease) in Finance Receivables",
        "negatedLabel": "Financing receivables related to online direct sales"
       }
      }
     },
     "localname": "IncreaseDecreaseInFinanceReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 38.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in interest payable, which represents the amount owed to note holders, bond holders, and other parties for interest earned on loans or credit extended to the reporting entity.",
        "label": "Increase (Decrease) in Interest Payable, Net",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 34.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.",
        "label": "Increase (Decrease) in Inventories",
        "negatedLabel": "Inventories",
        "totalLabel": "Increase (Decrease) in Inventories, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInInventories",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherNoncurrentAssets": {
     "auth_ref": [
      "r966"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 35.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in noncurrent assets classified as other.",
        "label": "Increase (Decrease) in Other Noncurrent Assets",
        "negatedLabel": "Other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherNoncurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 33.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in noncurrent operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Noncurrent Liabilities",
        "terseLabel": "Other long-term liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherNoncurrentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 28.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "negatedLabel": "Prepayments and other current assets",
        "totalLabel": "Increase (Decrease) in Prepaid Expense and Other Assets, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "terseLabel": "Increase (Decrease) in Shareholders' Equity"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities": {
     "auth_ref": [
      "r367",
      "r368",
      "r373"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible debt securities using the if-converted method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Conversion of Debt Securities",
        "terseLabel": "Ordinary shares issuable upon the conversion of convertible notes using the if\u2014converted method",
        "totalLabel": "Incremental Common Shares Attributable to Conversion of Debt Securities, Total"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToConversionOfDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r362",
      "r363",
      "r364",
      "r373",
      "r575"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements",
        "terseLabel": "Ordinary shares issuable of outstanding using the treasury stock method",
        "totalLabel": "Incremental Common Shares Attributable to Share-based Payment Arrangements, Total"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InlandRevenueHongKongMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government of Hong Kong.",
        "label": "Inland Revenue, Hong Kong [Member]",
        "terseLabel": "Hong Kong"
       }
      }
     },
     "localname": "InlandRevenueHongKongMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r110",
      "r113"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 11.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Land use rights, net and right of use assets",
        "terseLabel": "Land use rights, net",
        "totalLabel": "Intangible Assets, Net (Excluding Goodwill), Total"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecuritiesHeldToMaturity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on held-to-maturity securities.",
        "label": "Interest Income, Debt Securities, Held-to-Maturity",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecuritiesHeldToMaturity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r212",
      "r238",
      "r315",
      "r393",
      "r721"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 9.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "negatedLabel": "Interest expense, net",
        "totalLabel": "Interest Expense, Total"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseBorrowings": {
     "auth_ref": [
      "r237"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_CostOfRevenue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all borrowings.",
        "label": "Interest Expense, Borrowings",
        "negatedLabel": "Funding cost",
        "totalLabel": "Interest Expense, Borrowings, Total"
       }
      }
     },
     "localname": "InterestExpenseBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebt": {
     "auth_ref": [
      "r54",
      "r525",
      "r533",
      "r911",
      "r912"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
        "label": "Interest Expense, Debt",
        "terseLabel": "Interest expense",
        "totalLabel": "Interest Expense, Debt, Total"
       }
      }
     },
     "localname": "InterestExpenseDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpensePolicyTextBlock": {
     "auth_ref": [
      "r209"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing interest expense, including the method of amortizing debt issuance costs.",
        "label": "Interest Expense, Policy [Policy Text Block]",
        "terseLabel": "Funding Cost"
       }
      }
     },
     "localname": "InterestExpensePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InterestOnConvertibleDebtNetOfTax": {
     "auth_ref": [
      "r360",
      "r366",
      "r373"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of interest recognized on convertible debt instrument excluding interest on principal required to be paid in cash.",
        "label": "Interest on Convertible Debt, Net of Tax",
        "terseLabel": "Interest expense associated with convertible notes reversed"
       }
      }
     },
     "localname": "InterestOnConvertibleDebtNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r322",
      "r326",
      "r327"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Cash paid for interest expense of borrowings and convertible notes"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrent": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 13.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued interest payable",
        "terseLabel": "Accrued interest payable (including amounts of the consolidated VIEs of RMB26,972 and RMB15,900 as of December 31, 2020 and December 31, 2021, respectively)",
        "verboseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "InterestPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r230",
      "r259"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "terseLabel": "Total interest payments",
        "totalLabel": "Total interest payments"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r955"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable",
        "verboseLabel": "Accrued interest receivable, net"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivableCurrent": {
     "auth_ref": [
      "r955"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails3": {
       "order": 0.0,
       "parentTag": "us-gaap_NontradeReceivablesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of current interest earned but not received. Also called accrued interest or accrued interest receivable. For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
        "label": "Interest Receivable, Current",
        "terseLabel": "Accrued interest receivable, net of allowance for credit losses of RMB1,681 and RMB1,367 as of December 31, 2020 and December 31, 2021, respectively",
        "verboseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "InterestReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r98",
      "r662",
      "r901",
      "r902",
      "r907",
      "r1007"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]",
        "terseLabel": "Internal Credit Assessment"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]",
        "terseLabel": "Internal Credit Assessment"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InventoriesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tangible personal property held for sale in the ordinary course of business, or in process of, or to be consumed in, production for sale.",
        "label": "Inventories [Member]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoriesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InventoryNet": {
     "auth_ref": [
      "r304",
      "r887",
      "r933"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 12.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Net",
        "terseLabel": "Inventories, net",
        "totalLabel": "Inventory, Net, Total"
       }
      }
     },
     "localname": "InventoryNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "auth_ref": [
      "r286",
      "r303",
      "r379",
      "r468",
      "r469",
      "r470",
      "r796",
      "r893"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.",
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventories, Net"
       }
      }
     },
     "localname": "InventoryPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentHoldingsTable": {
     "auth_ref": [
      "r271",
      "r273",
      "r843",
      "r1094"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The investment holdings table is used for any listing of investments. The \"Investment [Axis]\" identifies the investment for which the line items apply. The other axes are used for categorizing the investments and creating useful subtotals. These axes cover different categorizations. The appropriate axes are expected to be used. Additional axes can be added for alternative categorizations.",
        "label": "Investment Holdings [Table]",
        "terseLabel": "Investment Holdings [Table]"
       }
      }
     },
     "localname": "InvestmentHoldingsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r438",
      "r1090"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Long-Term Investments"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTextBlock": {
     "auth_ref": [
      "r995",
      "r999",
      "r1001",
      "r1002"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investment.",
        "label": "Investment [Text Block]",
        "terseLabel": "Long-Term Investments"
       }
      }
     },
     "localname": "InvestmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Investments": {
     "auth_ref": [
      "r258"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 12.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all investments.",
        "label": "Investments",
        "terseLabel": "Long-term investments",
        "totalLabel": "Investments, Total"
       }
      }
     },
     "localname": "Investments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures": {
     "auth_ref": [
      "r954"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity method investee and investment in and advance to affiliate.",
        "label": "Investments in and Advance to Affiliates, Subsidiaries, Associates, and Joint Ventures",
        "terseLabel": "Investments in subsidiaries, VIEs and VIEs\u2019 subsidiaries",
        "totalLabel": "Investments in and Advance to Affiliates, Subsidiaries, Associates, and Joint Ventures, Total",
        "verboseLabel": "Investments in subsidiaries"
       }
      }
     },
     "localname": "InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesTextBlock": {
     "auth_ref": [
      "r273"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investments in and advances to affiliates. Does not include the tabular disclosure of the disaggregation of investments in and advances to affiliates across legal entities.",
        "label": "Investments in and Advances to Affiliates [Table Text Block]",
        "terseLabel": "Schedule of Percentage of Ownership in Principal Subsidiaries, Consolidated VIEs and Subsidiaries of VIEs"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestorMember": {
     "auth_ref": [
      "r1074",
      "r1075"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business entity or individual that puts money, by purchase or expenditure, in something offering potential profitable returns, such as interest income or appreciation in value.",
        "label": "Investor [Member]",
        "terseLabel": "JD Group"
       }
      }
     },
     "localname": "InvestorMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r1071"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Schedule of Supplemental Cash Flow Information Related to Operating Leases"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeasePracticalExpedientsPackage": {
     "auth_ref": [
      "r724",
      "r725"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether practical expedients are elected for not reassessing whether any expired or existing contract is or contains lease, lease classification for expired or existing lease, and initial direct cost for any existing lease.",
        "label": "Lease, Practical Expedients, Package [true false]",
        "terseLabel": "Lease, Practical Expedients, Package"
       }
      }
     },
     "localname": "LeasePracticalExpedientsPackage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r120"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold Improvement"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "localname": "LeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LenderConcentrationRiskMember": {
     "auth_ref": [
      "r85"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that borrowings or credit lines from one or more lenders is to a specified benchmark, such as total debt, segment debt. Risk is the materially adverse effects from loss of financing arrangements with a particular lender.",
        "label": "Lender Concentration Risk [Member]",
        "terseLabel": "Lender Concentration Risk"
       }
      }
     },
     "localname": "LenderConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "auth_ref": [
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
        "label": "Lessee, Leases [Policy Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeLeasesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r1072"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Schedule of Future Minimum Lease Payments under Non Cancelable Operating Leases - ASC 842"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r742"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsAsc842Details2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "terseLabel": "Total future lease payments",
        "totalLabel": "Total future lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r742"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r742"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r742"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r742"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsAsc842Details2": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "negatedLabel": "Impact of discounting remaining lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r743"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "Land Use Rights, Net"
       }
      }
     },
     "localname": "LesseeOperatingLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r24",
      "r331",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r657",
      "r660",
      "r661",
      "r691",
      "r896",
      "r1017",
      "r1078",
      "r1079"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "negatedLabel": "TOTAL LIABILITIES",
        "terseLabel": "Total liabilities",
        "totalLabel": "TOTAL LIABILITIES"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r19",
      "r225",
      "r255",
      "r933",
      "r971",
      "r1000",
      "r1069"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "TOTAL LIABILITIES AND SHAREHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r26",
      "r285",
      "r331",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r657",
      "r660",
      "r661",
      "r691",
      "r933",
      "r1017",
      "r1078",
      "r1079"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "negatedTotalLabel": "Total current liabilities",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "Current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r7",
      "r8",
      "r331",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r657",
      "r660",
      "r661",
      "r691",
      "r1017",
      "r1078",
      "r1079"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer.",
        "label": "Liabilities, Noncurrent",
        "negatedTotalLabel": "Total non-current liabilities",
        "terseLabel": "Total non-current liabilities",
        "totalLabel": "Total non-current liabilities"
       }
      }
     },
     "localname": "LiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Noncurrent [Abstract]",
        "terseLabel": "Non-current liabilities"
       }
      }
     },
     "localname": "LiabilitiesNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanPurchaseCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitment to purchase loans from a third party.",
        "label": "Loan Purchase Commitments [Member]",
        "terseLabel": "Commitment to Purchase Delinquent Loans"
       }
      }
     },
     "localname": "LoanPurchaseCommitmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowanceForLoanLossesPolicy": {
     "auth_ref": [
      "r102"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for estimating the allowance for losses on loans and lease receivables. The disclosure may include (a) how the entity determines each element of the allowance, (b) which loans are evaluated individually and which loans are evaluated as a group, (c) how the entity determines both the allocated and unallocated portions of the allowance, (d) how the entity determines the loss factors applied to graded loans in order to develop a general allowance, and (e) what self-correcting mechanism the entity uses to reduce differences between estimated and actual losses.",
        "label": "Loans and Leases Receivable, Allowance for Loan Losses Policy [Policy Text Block]",
        "terseLabel": "Allowance for Credit Losses"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowanceForLoanLossesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansHeldForSaleFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of loans held-for-sale including, but not limited to, mortgage loans and finance receivables.",
        "label": "Loans Held-for-sale, Fair Value Disclosure",
        "terseLabel": "Loans at fair value"
       }
      }
     },
     "localname": "LoansHeldForSaleFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Contract Assets and Receivable, Net"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansPayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowing supported by a written promise to pay an obligation.",
        "label": "Loans Payable [Member]",
        "terseLabel": "Funding Debts",
        "verboseLabel": "Funding Debts Obligations"
       }
      }
     },
     "localname": "LoansPayableMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebts"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansPayableToBank": {
     "auth_ref": [
      "r7",
      "r223",
      "r244"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of loans from a bank with maturities initially due after one year or beyond the normal operating cycle if longer.",
        "label": "Loans Payable to Bank",
        "terseLabel": "Short-term borrowings",
        "totalLabel": "Loans Payable to Bank, Total",
        "verboseLabel": "Borrowings"
       }
      }
     },
     "localname": "LoansPayableToBank",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansPayableToBankCurrent": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of current portion of long-term loans payable to bank due within one year or the operating cycle if longer.",
        "label": "Loans Payable to Bank, Current",
        "negatedLabel": "Short-term borrowings",
        "terseLabel": "Short-term borrowings(including amounts of the consolidated VIEs of RMB1,735,931 and RMB1,138,046 as of December 31, 2021 and December 31, 2022, respectively)",
        "verboseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "LoansPayableToBankCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r104"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts.",
        "label": "Loans Receivable, Fair Value Disclosure",
        "terseLabel": "Loans at fair value"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r7",
      "r223",
      "r251",
      "r518",
      "r532",
      "r909",
      "r910"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Long-Term Debt",
        "terseLabel": "Long-term borrowings(including amounts of the consolidated VIEs of nill and RMB150,430 as of December 31, 2021 and December 31, 2022, respectively)",
        "totalLabel": "Long-Term Debt, Total",
        "verboseLabel": "Long-term borrowings"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Maturities of Funding Debts"
       }
      }
     },
     "localname": "LongTermDebtByMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths": {
     "auth_ref": [
      "r974"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Next Rolling 12 Months",
        "terseLabel": "1 \u2013 12 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "auth_ref": [
      "r128",
      "r336",
      "r523"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NotesPayable",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year One",
        "terseLabel": "1 - 12 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour": {
     "auth_ref": [
      "r974"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Four",
        "terseLabel": "more than 36 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree": {
     "auth_ref": [
      "r974"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Three",
        "terseLabel": "25 \u2013 36 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo": {
     "auth_ref": [
      "r974"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Two",
        "terseLabel": "13 \u2013 24 months",
        "verboseLabel": "more than 36 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "auth_ref": [
      "r128",
      "r336",
      "r523"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NotesPayable",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Two",
        "terseLabel": "13 - 24 months"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt arrangement having an initial term longer than one year or beyond the normal operating cycle, if longer.",
        "label": "Long-Term Debt [Member]",
        "terseLabel": "Long-term debt"
       }
      }
     },
     "localname": "LongTermDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebtRollingMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Rolling Maturity [Abstract]",
        "verboseLabel": "Expected repayment amount of debt obligation"
       }
      }
     },
     "localname": "LongTermDebtRollingMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermInvestments": {
     "auth_ref": [
      "r288"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).",
        "label": "Long-Term Investments",
        "terseLabel": "Long\u2011term investments",
        "totalLabel": "Long-term Investments, Total"
       }
      }
     },
     "localname": "LongTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Investments [Abstract]"
       }
      }
     },
     "localname": "LongTermInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermNotesPayable": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.",
        "label": "Notes Payable, Noncurrent",
        "negatedLabel": "Long-term Funding Debts",
        "terseLabel": "Long-term funding debts (including amounts of the consolidated VIEs of RMB696,852 and RMB1,334,105 as of December 31, 2021 and December 31, 2022, respectively)",
        "totalLabel": "Notes Payable, Noncurrent, Total",
        "verboseLabel": "Long-term funding debts"
       }
      }
     },
     "localname": "LongTermNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfGroupSOutstandingFundingDebtsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermConvertibleDebtCurrentAndNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Debt [Abstract]"
       }
      }
     },
     "localname": "LongtermConvertibleDebtCurrentAndNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-Term Debt, Type [Axis]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebts"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r28",
      "r129"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-Term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebts"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongtermDebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time.",
        "label": "Long-Term Debt, Weighted Average Interest Rate, at Point in Time",
        "terseLabel": "Weighted average interest rates of long-term borrowings"
       }
      }
     },
     "localname": "LongtermDebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_MeasurementInputDefaultRateMember": {
     "auth_ref": [
      "r1067"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using likelihood loan will not be repaid as proportion of outstanding loan.",
        "label": "Measurement Input, Default Rate [Member]",
        "terseLabel": "Cumulative Loss Rates"
       }
      }
     },
     "localname": "MeasurementInputDefaultRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r34",
      "r224",
      "r254",
      "r331",
      "r439",
      "r494",
      "r497",
      "r498",
      "r499",
      "r503",
      "r504",
      "r691"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 7.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
        "label": "Stockholders' Equity Attributable to Noncontrolling Interest",
        "periodEndLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Beginning Balance",
        "terseLabel": "Non-controlling interests",
        "totalLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders": {
     "auth_ref": [
      "r145"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders.",
        "label": "Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders",
        "negatedLabel": "Transaction with non-controlling shareholders",
        "terseLabel": "Contribution form non-controlling shareholders"
       }
      }
     },
     "localname": "MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestOwnershipPercentageByParent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The parent entity's interest in net assets of the subsidiary, expressed as a percentage.",
        "label": "Noncontrolling Interest, Ownership Percentage by Parent",
        "terseLabel": "Direct or Indirect Economic Interest in Subsidiary (as a percent)"
       }
      }
     },
     "localname": "MinorityInterestOwnershipPercentageByParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_NatureOfOperations": {
     "auth_ref": [
      "r383",
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings. For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward.",
        "label": "Nature of Operations [Text Block]",
        "terseLabel": "Organization and Principal Activities"
       }
      }
     },
     "localname": "NatureOfOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r325"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "terseLabel": "Net cash provided by financing activities",
        "totalLabel": "Net cash provided by/(used in) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r325"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "terseLabel": "Net cash provided by/(used in) investing activities",
        "totalLabel": "Net cash (used in)/ provided by investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash flows from investing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r68",
      "r69",
      "r72"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "terseLabel": "Net cash (used in) / provided by operating activities",
        "totalLabel": "Net cash (used in)/ provided by operating activities",
        "verboseLabel": "Net cash used in operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r45",
      "r72",
      "r235",
      "r263",
      "r283",
      "r307",
      "r309",
      "r314",
      "r331",
      "r342",
      "r346",
      "r347",
      "r349",
      "r350",
      "r354",
      "r355",
      "r369",
      "r399",
      "r409",
      "r415",
      "r417",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r675",
      "r691",
      "r897",
      "r1017"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net income",
        "totalLabel": "Net income/(loss)",
        "verboseLabel": "Net income/(loss)"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r180",
      "r190",
      "r307",
      "r309",
      "r354",
      "r355",
      "r960"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 2.0,
       "parentTag": "lx_ComprehensiveIncomeLossNetOfTaxAvailableToCommonShareholders",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "negatedLabel": "Less: Net income attributable to non-controlling interests",
        "terseLabel": "Less: net income attributable to non-controlling interests",
        "totalLabel": "Net Income (Loss) Attributable to Noncontrolling Interest, Total",
        "verboseLabel": "Less: net income attributable to non-controlling interests"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToParentDiluted": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent, and includes adjustments resulting from the assumption that dilutive convertible securities were converted, options or warrants were exercised, or that other shares were issued upon the satisfaction of certain conditions.",
        "label": "Net Income (Loss) Attributable to Parent, Diluted",
        "terseLabel": "Net income attributable to ordinary shareholders for calculating diluted net income per share",
        "totalLabel": "Net Income (Loss) Attributable to Parent, Diluted, Total"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToParentDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r346",
      "r347",
      "r349",
      "r350",
      "r358",
      "r359",
      "r370",
      "r373",
      "r399",
      "r409",
      "r415",
      "r417",
      "r897"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "terseLabel": "Net income attributable to ordinary shareholders",
        "totalLabel": "Net income/(loss) attributable to ordinary shareholders of the Company"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss) Available to Common Stockholders, Basic [Abstract]",
        "terseLabel": "Numerator:"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasicAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted [Abstract]",
        "terseLabel": "Numerator:"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersDilutedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems": {
     "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": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]",
        "terseLabel": "New Accounting Pronouncements Or Change In Accounting Principle [Line Items]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "auth_ref": [
      "r78",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r340",
      "r342",
      "r343",
      "r344",
      "r345",
      "r349",
      "r357",
      "r377",
      "r427",
      "r428",
      "r444",
      "r445",
      "r446",
      "r447",
      "r449",
      "r450",
      "r611",
      "r612",
      "r613",
      "r634",
      "r635",
      "r636",
      "r637",
      "r652",
      "r653",
      "r654",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r692",
      "r693",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r719",
      "r720",
      "r727",
      "r728",
      "r729",
      "r730",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r799",
      "r800",
      "r801",
      "r829",
      "r830",
      "r831",
      "r832",
      "r833",
      "r834",
      "r835",
      "r836",
      "r837",
      "r838",
      "r839",
      "r840"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of the changes in an accounting principle or a new accounting pronouncement, including the line items affected by the change and the financial effects of the change on those particular line items.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Table]",
        "terseLabel": "New Accounting Pronouncements Or Change In Accounting Principle [Table]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest": {
     "auth_ref": [
      "r146",
      "r178",
      "r181"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in noncontrolling interest from sale of a portion of the parent's controlling interest.",
        "label": "Noncontrolling Interest, Increase from Sale of Parent Equity Interest",
        "negatedLabel": "Disposal of a subsidiary",
        "terseLabel": "Disposal of a subsiduary"
       }
      }
     },
     "localname": "NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance": {
     "auth_ref": [
      "r146",
      "r178",
      "r181"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in noncontrolling interest from subsidiary issuance of equity interests to noncontrolling interest holders.",
        "label": "Noncontrolling Interest, Increase from Subsidiary Equity Issuance",
        "terseLabel": "Establishment of a partially held subsidiary"
       }
      }
     },
     "localname": "NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r175",
      "r541",
      "r975",
      "r976",
      "r977"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Non-controlling Interest"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NontradeReceivableCurrentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nontrade Receivables, Current [Abstract]",
        "terseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "NontradeReceivableCurrentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NontradeReceivablesCurrent": {
     "auth_ref": [
      "r955"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails3": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of amounts currently receivable other than from customers. For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
        "label": "Nontrade Receivables, Current",
        "terseLabel": "Accrued interest receivable, net",
        "totalLabel": "Accrued interest receivable, net"
       }
      }
     },
     "localname": "NontradeReceivablesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesAndLoansReceivableGrossCurrent": {
     "auth_ref": [
      "r300",
      "r888",
      "r898",
      "r1004"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable classified as current. Excludes net investment in lease.",
        "label": "Financing Receivable, before Allowance for Credit Loss, Current",
        "terseLabel": "Short-term financing receivables"
       }
      }
     },
     "localname": "NotesAndLoansReceivableGrossCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesAndLoansReceivableGrossNoncurrent": {
     "auth_ref": [
      "r422",
      "r1004"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NotesAndLoansReceivableNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable classified as noncurrent. Excludes net investment in lease.",
        "label": "Financing Receivable, before Allowance for Credit Loss, Noncurrent",
        "terseLabel": "Long-term financing receivables"
       }
      }
     },
     "localname": "NotesAndLoansReceivableGrossNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesAndLoansReceivableNetCurrent": {
     "auth_ref": [
      "r422",
      "r423",
      "r815"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, after allowance for credit loss, of financing receivable classified as current. Excludes net investment in lease.",
        "label": "Financing Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Short-term financing receivables,net of allowance for credit losses of RMB308,708 and RMB184,187 as of December 31, 2021 and December 31, 2022,respectively",
        "totalLabel": "Total short-term financing receivables, net",
        "verboseLabel": "Short-term financing receivables, net"
       }
      }
     },
     "localname": "NotesAndLoansReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesAndLoansReceivableNetCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, after Allowance for Credit Loss, Current [Abstract]",
        "terseLabel": "Short-term:"
       }
      }
     },
     "localname": "NotesAndLoansReceivableNetCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NotesAndLoansReceivableNetNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of financing receivable, classified as noncurrent.",
        "label": "Long-term financing receivables, net",
        "terseLabel": "Long-term financing receivables, net of allowance for credit losses of RMB19,523 and RMB13,220 as of December 31, 2021 and December 31, 2022, respectively",
        "totalLabel": "Total long-term financing receivables, net",
        "verboseLabel": "Financing receivables"
       }
      }
     },
     "localname": "NotesAndLoansReceivableNetNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesAndLoansReceivableNetNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, after Allowance for Credit Loss, Noncurrent [Abstract]",
        "terseLabel": "Long-term:"
       }
      }
     },
     "localname": "NotesAndLoansReceivableNetNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r7",
      "r223",
      "r251"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer.",
        "label": "Notes Payable",
        "terseLabel": "Funding debts",
        "totalLabel": "Total Funding Debts"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfRemainingContractualMaturityDatesOfGroupSFundingDebtsAndAssociatedInterestPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableCurrent": {
     "auth_ref": [
      "r23"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of the portions of long-term notes payable due within one year or the operating cycle if longer.",
        "label": "Short-term funding debts",
        "negatedLabel": "Short-term funding debts",
        "terseLabel": "Short-term funding debts (including amounts of the consolidated VIEs of RMB3,101,381 and RMB4,385,253 as of December 31, 2021 and December 31, 2022, respectively)",
        "totalLabel": "Notes Payable, Current, Total",
        "verboseLabel": "Short-term Funding Debts"
       }
      }
     },
     "localname": "NotesPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsSummaryOfGroupSOutstandingFundingDebtsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableToBanksMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A written promise to pay a note to a bank.",
        "label": "Borrowings Obligations",
        "terseLabel": "Short-term Borrowings",
        "verboseLabel": "Long term borrowings"
       }
      }
     },
     "localname": "NotesPayableToBanksMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r300",
      "r425",
      "r459",
      "r462",
      "r868",
      "r869",
      "r902",
      "r903",
      "r1004",
      "r1102"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "totalLabel": "Total financing receivables (excluding accrued interest receivable)"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfBalancesOfFinancingReceivablesByDueDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableNet": {
     "auth_ref": [
      "r422",
      "r462"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.",
        "label": "Financing Receivable, after Allowance for Credit Loss",
        "terseLabel": "Financing receivables, net",
        "totalLabel": "Financing Receivable, after Allowance for Credit Loss, Total"
       }
      }
     },
     "localname": "NotesReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, after Allowance for Credit Loss [Abstract]"
       }
      }
     },
     "localname": "NotesReceivableNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "negatedTerseLabel": "Total operating expenses",
        "negatedTotalLabel": "Total operating expenses",
        "terseLabel": "Operating expenses",
        "totalLabel": "Total operating expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "Operating expenses:"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r736",
      "r932"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating lease cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r732"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsAsc842Details2": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Total lease liabilities",
        "totalLabel": "Total lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r732"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 10.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsAsc842Details2": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Short-term leasing liabilities",
        "verboseLabel": "- Short-term portion"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r733"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes current operating lease liability.",
        "label": "Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating Lease, Liability, Current, Statement of Financial Position"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r732"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsAsc842Details2": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "- Long-term portion",
        "totalLabel": "Operating Lease Liability Noncurrent, Total"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r733"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes noncurrent operating lease liability.",
        "label": "Operating Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating Lease, Liability, Noncurrent, Statement of Financial Position"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r733"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes operating lease liability.",
        "label": "Operating Lease, Liability, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating Lease, Liability, Statement of Financial Position [Extensible List]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfFutureMinimumLeasePaymentsASC842Details"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r734",
      "r738"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease, Payments",
        "terseLabel": "Cash payments for operating leases"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfSupplementalCashFlowInformationRelatedToOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r731"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense": {
     "auth_ref": [
      "r967"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for right-of-use asset from operating lease.",
        "label": "Operating Lease, Right-of-Use Asset, Amortization Expense",
        "terseLabel": "Amortization of the right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetAmortizationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r733"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes operating lease right-of-use asset.",
        "label": "Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating Lease, Right-of-Use Asset, Statement of Financial Position"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r741",
      "r932"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Weighted average discount rate"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r740",
      "r932"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Weighted average remaining lease term"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLeasesRentExpenseNet": {
     "auth_ref": [
      "r275"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rental expense for the reporting period incurred under operating leases, including minimum and any contingent rent expense, net of related sublease income.",
        "label": "Operating Leases, Rent Expense, Net",
        "terseLabel": "Rental expenses under operating leases",
        "totalLabel": "Operating Leases, Rent Expense, Net, Total"
       }
      }
     },
     "localname": "OperatingLeasesRentExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r170"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Operating loss carryforwards",
        "totalLabel": "Operating Loss Carryforwards, Total"
       }
      }
     },
     "localname": "OperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwardsValuationAllowance": {
     "auth_ref": [
      "r168"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of the valuation allowance pertaining to the deferred tax asset representing potential future taxable deductions from net operating loss carryforwards for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Operating Loss Carryforwards, Valuation Allowance",
        "terseLabel": "Valuation allowance for net operating loss carryforwards",
        "totalLabel": "Operating Loss Carryforwards, Valuation Allowance, Total"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]",
        "terseLabel": "ORGANIZATION AND PRINCIPAL ACTIVITIES"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 15.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Accrued Liabilities, Current",
        "terseLabel": "Other accrued expenses"
       }
      }
     },
     "localname": "OtherAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r219",
      "r247",
      "r292"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 13.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other Assets",
        "terseLabel": "Other assets",
        "totalLabel": "Other Assets, Total"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r292"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 9.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Other assets",
        "totalLabel": "Other Assets, Noncurrent, Total"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r36",
      "r38",
      "r702",
      "r704",
      "r708"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
        "label": "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Gain (Loss) Arising During Period, Net of Tax",
        "terseLabel": "Foreign currency translation adjustments, net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationGainLossArisingDuringPeriodTax": {
     "auth_ref": [
      "r35",
      "r39",
      "r702",
      "r706",
      "r714"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit), before reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
        "label": "OCI, Foreign Currency Transaction and Translation Gain (Loss), Arising During Period, Tax",
        "terseLabel": "Foreign currency translation adjustments, tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeForeignCurrencyTranslationGainLossArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYParenthetical",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]",
        "terseLabel": "Other comprehensive income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r231"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other Liabilities",
        "terseLabel": "Other liabilities",
        "totalLabel": "Other Liabilities, Total"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r29"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other liabilities",
        "negatedLabel": "Other liabilities",
        "terseLabel": "Other long-term liabilities(including amounts of the consolidated VIEs of RMB92,256 and RMB65,788 as of December 31, 2021 and December 31, 2022, respectively)",
        "totalLabel": "Other Liabilities, Noncurrent, Total",
        "verboseLabel": "Other long-term liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 12.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income (Expense)",
        "terseLabel": "Others",
        "totalLabel": "Other Nonoperating Income (Expense), Total",
        "verboseLabel": "Others, net"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfOperationsAndComprehensiveIncomeDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r100",
      "r101",
      "r903",
      "r1006"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "terseLabel": "Summary of Aging Analysis of Past Due Financing Receivables"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PayablesAndAccrualsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payables and Accruals [Abstract]"
       }
      }
     },
     "localname": "PayablesAndAccrualsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsForProceedsFromBusinessesAndInterestInAffiliates": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash outflow or inflow associated with the acquisition or sale of a business segment during the period.",
        "label": "Payments for (Proceeds from) Businesses and Interest in Affiliates",
        "negatedLabel": "Cash received from/paid to Group companies",
        "negatedTerseLabel": "Net cash used in funds to Group companies",
        "totalLabel": "Payments for (Proceeds from) Businesses and Interest in Affiliates, Total"
       }
      }
     },
     "localname": "PaymentsForProceedsFromBusinessesAndInterestInAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments of Debt Issuance Costs",
        "negatedLabel": "Payment of debt issuance costs"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r67"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments of Stock Issuance Costs",
        "negatedLabel": "Payment of initial public offering expenses"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "auth_ref": [
      "r321"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement.",
        "label": "Payment, Tax Withholding, Share-Based Payment Arrangement",
        "terseLabel": "Withholding tax"
       }
      }
     },
     "localname": "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries": {
     "auth_ref": [
      "r59"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of noncontrolling interest during the period.",
        "label": "Payments to Acquire Additional Interest in Subsidiaries",
        "negatedLabel": "Cash paid on acquisition of subsidiaries, net of cash acquired"
       }
      }
     },
     "localname": "PaymentsToAcquireAdditionalInterestInSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireFinanceReceivables": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the purchase of amounts due from customers, clients, lessees, borrowers, or others under the terms of its agreements therewith.",
        "label": "Payments to Acquire Finance Receivables",
        "negatedLabel": "Financing receivables originated and purchased (excluding receivables related to online direct sales)"
       }
      }
     },
     "localname": "PaymentsToAcquireFinanceReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireInvestments": {
     "auth_ref": [
      "r61"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of all investments (debt, security, other) during the period.",
        "label": "Payments to Acquire Investments",
        "terseLabel": "Cash consideration",
        "totalLabel": "Payments to Acquire Investments, Total"
       }
      }
     },
     "localname": "PaymentsToAcquireInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireLoansReceivable": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 24.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the purchase of loan receivable arising from the financing of goods and services.",
        "label": "Payments to Acquire Loans Receivable",
        "negatedLabel": "Loans to third parties",
        "negatedTerseLabel": "Cash paid on loans to third parties"
       }
      }
     },
     "localname": "PaymentsToAcquireLoansReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireLongtermInvestments": {
     "auth_ref": [
      "r964"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, beyond the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the long-term.",
        "label": "Payments to Acquire Long-Term Investments",
        "negatedLabel": "Cash paid on long-term investments"
       }
      }
     },
     "localname": "PaymentsToAcquireLongtermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchases of property, equipment and software",
        "totalLabel": "Payments to Acquire Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToFundLongtermLoansToRelatedParties": {
     "auth_ref": [
      "r963",
      "r1074"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with extending a long-term loan to a related party. Alternate caption: Payments for Advances to Affiliates.",
        "label": "Payments to Fund Long-Term Loans to Related Parties",
        "terseLabel": "Funds, loan amount"
       }
      }
     },
     "localname": "PaymentsToFundLongtermLoansToRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToMinorityShareholders": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to a noncontrolling interest. Includes, but not limited to, reduction of noncontrolling interest ownership. Excludes dividends paid to the noncontrolling interest.",
        "label": "Payments to Noncontrolling Interests",
        "negatedLabel": "Purchase of non-controlling interests"
       }
      }
     },
     "localname": "PaymentsToMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1044",
      "r1045",
      "r1046",
      "r1047",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1052",
      "r1053"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1044",
      "r1045",
      "r1046",
      "r1047",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1052",
      "r1053"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r689"
     ],
     "lang": {
      "en-us": {
       "role": {
        "axisDefault": "Portion at Fair Value Measurement [Member] [Default]",
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]",
        "terseLabel": "Fair Value Disclosure Item Amounts [Default]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r957"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Current",
        "terseLabel": "Prepayments and other current assets",
        "totalLabel": "Total prepayments and other current assets",
        "verboseLabel": "Prepaid expenses and other current assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expense and Other Assets, Current [Abstract]"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProceedsFromBankDebt": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from bank borrowing during the year.",
        "label": "Proceeds from Bank Debt",
        "terseLabel": "Proceeds from borrowings"
       }
      }
     },
     "localname": "ProceedsFromBankDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromCollectionOfFinanceReceivables": {
     "auth_ref": [
      "r961"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the collection of receivables arising from the financing of goods and services.",
        "label": "Proceeds from Collection of Finance Receivables",
        "terseLabel": "Principal collection on financing receivables and recoveries (excluding receivables related to online direct sales)"
       }
      }
     },
     "localname": "ProceedsFromCollectionOfFinanceReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromContributionsFromAffiliates": {
     "auth_ref": [
      "r64"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from an entity that is affiliated with the entity by means of direct or indirect ownership.",
        "label": "Proceeds from Contributions from Affiliates",
        "terseLabel": "Borrowings under loan from Group companies"
       }
      }
     },
     "localname": "ProceedsFromContributionsFromAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromConvertibleDebt": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.",
        "label": "Proceeds from Convertible Debt",
        "terseLabel": "Proceeds from issuance of convertible notes, net of debt discount"
       }
      }
     },
     "localname": "ProceedsFromConvertibleDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries": {
     "auth_ref": [
      "r56"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the deconsolidation of a previously consolidated subsidiary or the sale of investment in consolidated subsidiaries (generally greater than 50 percent).",
        "label": "Proceeds from Divestiture of Interest in Consolidated Subsidiaries",
        "terseLabel": "Proceeds from disposal of subsidiaries"
       }
      }
     },
     "localname": "ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceInitialPublicOffering": {
     "auth_ref": [
      "r62"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from entity's first offering of stock to the public.",
        "label": "Proceeds from Issuance Initial Public Offering",
        "terseLabel": "Proceeds from initial public offering, net of issuance costs"
       }
      }
     },
     "localname": "ProceedsFromIssuanceInitialPublicOffering",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r62"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from share issuance upon the underwriters\u2019 exercise of over-allotment options, net of issuance costs"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "auth_ref": [
      "r965"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt.",
        "label": "Proceeds from Issuance of Debt",
        "terseLabel": "Net proceeds"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMinorityShareholders": {
     "auth_ref": [
      "r64"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from a noncontrolling interest. Includes, but is not limited to, purchase of additional shares or other increase in noncontrolling interest ownership.",
        "label": "Proceeds from Noncontrolling Interests",
        "terseLabel": "Proceeds from non-controlling shareholders"
       }
      }
     },
     "localname": "ProceedsFromMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromNotesPayable": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a borrowing supported by a written promise to pay an obligation.",
        "label": "Proceeds from Notes Payable",
        "negatedLabel": "Proceeds payments on funding debts",
        "terseLabel": "Aggregate amount funded from funding sources",
        "totalLabel": "Proceeds from Notes Payable, Total",
        "verboseLabel": "Proceeds from funding debts"
       }
      }
     },
     "localname": "ProceedsFromNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsLiabilitiesToIndividualInvestorsAndInstitutionalFundingPartnersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments": {
     "auth_ref": [
      "r57"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the sale, maturity and collection of all investments such as debt, security and so forth during the period.",
        "label": "Proceeds from Sale, Maturity and Collection of Investments",
        "terseLabel": "Decrease in disposal of equity investments of two joint ventures",
        "totalLabel": "Proceeds from Sale, Maturity and Collection of Investments, Total"
       }
      }
     },
     "localname": "ProceedsFromSaleMaturityAndCollectionsOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfLongtermInvestments": {
     "auth_ref": [
      "r962"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from sales of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, beyond the current operating cycle.",
        "label": "Proceeds from Sale of Long-Term Investments",
        "terseLabel": "Proceeds from disposal of long-term investments"
       }
      }
     },
     "localname": "ProceedsFromSaleOfLongtermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r62",
      "r160"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Exercise of share-based awards"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedStatementsOfCashFlowsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProductInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Product Information [Line Items]",
        "terseLabel": "Product information"
       }
      }
     },
     "localname": "ProductInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r283",
      "r307",
      "r309",
      "r324",
      "r331",
      "r342",
      "r354",
      "r355",
      "r399",
      "r409",
      "r415",
      "r417",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r655",
      "r658",
      "r659",
      "r675",
      "r691",
      "r820",
      "r897",
      "r930",
      "r931",
      "r960",
      "r1017"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income",
        "totalLabel": "Net income",
        "verboseLabel": "Net income/(loss)"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r124",
      "r850",
      "r851",
      "r852"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property, Equipment and Software, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives": {
     "auth_ref": [
      "r119"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the periods of time over which an entity anticipates to receive utility from its property, plant and equipment (that is, the periods of time over which an entity allocates the initial cost of its property, plant and equipment).",
        "label": "Property, Plant and Equipment, Estimated Useful Lives",
        "terseLabel": "Estimated Useful Lives"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentEstimatedUsefulLives",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r120",
      "r289"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "periodEndLabel": "Property, Plant and Equipment, Gross, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Gross, Beginning Balance",
        "terseLabel": "Total property, equipment and software, gross",
        "totalLabel": "Property, Plant and Equipment, Gross, Total"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]",
        "terseLabel": "Property Plant And Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r122",
      "r256",
      "r821",
      "r933"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "periodEndLabel": "Property, Plant and Equipment, Net, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Net, Beginning Balance",
        "terseLabel": "Property, equipment and software, net",
        "totalLabel": "Total property, equipment and software, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r122",
      "r850",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property, Equipment and Software, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Schedule of Property, Equipment and Software, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r120"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Estimated Useful Lives"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForDoubtfulAccounts": {
     "auth_ref": [
      "r320",
      "r454"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
        "label": "Accounts Receivable, Credit Loss Expense (Reversal)",
        "negatedLabel": "Provisions"
       }
      }
     },
     "localname": "ProvisionForDoubtfulAccounts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum amount of purchase arrangement in which the entity has agreed to expend funds to procure goods or services from a supplier.",
        "label": "Purchase Obligation",
        "terseLabel": "Total",
        "totalLabel": "Purchase Obligation, Total"
       }
      }
     },
     "localname": "PurchaseObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligationDueInFourthYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchase arrangement to be paid in fourth fiscal year following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Purchase Obligation, to be Paid, Year Four",
        "terseLabel": "37 \u2013 48 months"
       }
      }
     },
     "localname": "PurchaseObligationDueInFourthYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligationDueInNextTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchase arrangement to be paid in next fiscal year following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Purchase Obligation, to be Paid, Year One",
        "terseLabel": "1 \u2013 12 months"
       }
      }
     },
     "localname": "PurchaseObligationDueInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligationDueInSecondYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchase arrangement to be paid in second fiscal year following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Purchase Obligation, to be Paid, Year Two",
        "terseLabel": "13 \u2013 24 months"
       }
      }
     },
     "localname": "PurchaseObligationDueInSecondYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligationDueInThirdYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchase arrangement to be paid in third fiscal year following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Purchase Obligation, to be Paid, Year Three",
        "terseLabel": "25 \u2013 36 months"
       }
      }
     },
     "localname": "PurchaseObligationDueInThirdYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligationFiscalYearMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase Obligation, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Purchase obligations"
       }
      }
     },
     "localname": "PurchaseObligationFiscalYearMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReceivableTypeDomain": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
        "label": "Receivable [Domain]",
        "terseLabel": "Receivable"
       }
      }
     },
     "localname": "ReceivableTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r569",
      "r752",
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party.",
        "label": "Related Party Transaction, Purchases from Related Party",
        "terseLabel": "Purchases of goods/services from related parties",
        "verboseLabel": "Purchases of goods and services from Ji'an Aojuxun"
       }
      }
     },
     "localname": "RelatedPartyTransactionPurchasesFromRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r569",
      "r752",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r1077"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r750",
      "r751",
      "r753",
      "r755",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Party Balances and Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfBankDebt": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to settle a bank borrowing during the year.",
        "label": "Repayments of Bank Debt",
        "negatedLabel": "Principal payments on borrowings"
       }
      }
     },
     "localname": "RepaymentsOfBankDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation.",
        "label": "Repayments of Notes Payable",
        "negatedLabel": "Principal payments on funding debts"
       }
      }
     },
     "localname": "RepaymentsOfNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpense": {
     "auth_ref": [
      "r164",
      "r274",
      "r1086"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate costs incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process whether intended for sale or the entity's use, during the reporting period charged to research and development projects, including the costs of developing computer software up to the point in time of achieving technological feasibility, and costs allocated in accounting for a business combination to in-process projects deemed to have no alternative future use.",
        "label": "Research and Development Expense",
        "negatedLabel": "Research and development expenses",
        "totalLabel": "Research and Development Expense, Total"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption in which the reported facts about research and development expense have been included.",
        "label": "Research and Development Expense [Member]",
        "terseLabel": "Research and development expenses"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpensePolicy": {
     "auth_ref": [
      "r164"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for costs it has incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process.",
        "label": "Research and Development Expense, Policy [Policy Text Block]",
        "terseLabel": "Research and Development Expenses"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpensePolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestrictedCash": {
     "auth_ref": [
      "r951",
      "r968",
      "r1087",
      "r1089"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash",
        "terseLabel": "Restricted cash",
        "totalLabel": "Restricted Cash, Total"
       }
      }
     },
     "localname": "RestrictedCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r73",
      "r76",
      "r287"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash and Cash Equivalents, Current",
        "periodEndLabel": "Restricted cash at the end of the year",
        "periodStartLabel": "Restricted cash at beginning of the year",
        "terseLabel": "Restricted cash",
        "totalLabel": "Restricted Cash and Cash Equivalents, Current, Total"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashCurrent": {
     "auth_ref": [
      "r951",
      "r968"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash, Current",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCashCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashEquivalents": {
     "auth_ref": [
      "r845",
      "r847",
      "r968",
      "r1087",
      "r1089"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash equivalents restricted as to withdrawal or usage. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash Equivalents",
        "terseLabel": "Restricted term deposits",
        "totalLabel": "Restricted Cash Equivalents, Total"
       }
      }
     },
     "localname": "RestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashEquivalentsCurrent": {
     "auth_ref": [
      "r845",
      "r847",
      "r951",
      "r968"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash equivalents restricted as to withdrawal or usage, classified as current. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted term deposit",
        "terseLabel": "Restricted term deposit",
        "verboseLabel": "Restricted term deposit and short-term investments"
       }
      }
     },
     "localname": "RestrictedCashEquivalentsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashEquivalentsNoncurrent": {
     "auth_ref": [
      "r845",
      "r846",
      "r847",
      "r953",
      "r968"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash equivalents restricted as to withdrawal or usage, classified as noncurrent. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash Equivalents, Noncurrent",
        "terseLabel": "Restricted time deposits"
       }
      }
     },
     "localname": "RestrictedCashEquivalentsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashNoncurrent": {
     "auth_ref": [
      "r846",
      "r953",
      "r968"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as noncurrent. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash, Noncurrent",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCashNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedInvestmentsPercentOfNetAssets": {
     "auth_ref": [
      "r272",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percent of net assets of the aggregate value of all restricted investments.",
        "label": "Restricted Investments, Percent of Net Assets",
        "terseLabel": "Percentage of restricted net assets"
       }
      }
     },
     "localname": "RestrictedInvestmentsPercentOfNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureStatutoryReservesAndRestrictedNetAssetsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock Units (RSUs) [Member]",
        "terseLabel": "Restricted Share Units"
       }
      }
     },
     "localname": "RestrictedStockUnitsRSUMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r16",
      "r145",
      "r252",
      "r835",
      "r840",
      "r933"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "periodEndLabel": "Retained Earnings (Accumulated Deficit), Ending Balance",
        "periodStartLabel": "Retained Earnings (Accumulated Deficit), Beginning Balance",
        "terseLabel": "Retained earnings",
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total",
        "verboseLabel": "Decrease in retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAppropriatedMember": {
     "auth_ref": [
      "r14",
      "r136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is unavailable for dividend distribution. Includes also retained earnings appropriated for loss contingencies.",
        "label": "Retained Earnings, Appropriated [Member]",
        "terseLabel": "Statutory Reserves"
       }
      }
     },
     "localname": "RetainedEarningsAppropriatedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsUnappropriatedMember": {
     "auth_ref": [
      "r15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is available for dividend distribution. Earnings not paid out as dividends but instead reinvested in the core business or used to pay off debt. Unappropriated profit is part of shareholder equity. Also called cumulative distributions or earned surplus or accumulated earnings or unappropriated profit.",
        "label": "Retained Earnings, Unappropriated [Member]",
        "terseLabel": "Retained Earnings"
       }
      }
     },
     "localname": "RetainedEarningsUnappropriatedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r390",
      "r391",
      "r408",
      "r413",
      "r414",
      "r418",
      "r419",
      "r421",
      "r555",
      "r556",
      "r797"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "terseLabel": "Revenue"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueTimingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r560",
      "r894"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueFromRelatedParties": {
     "auth_ref": [
      "r48",
      "r270",
      "r496",
      "r497",
      "r498",
      "r502",
      "r503",
      "r504"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates.",
        "label": "Revenue from Related Parties",
        "terseLabel": "Sales of goods and services to related parties"
       }
      }
     },
     "localname": "RevenueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuePracticalExpedientIncrementalCostOfObtainingContract": {
     "auth_ref": [
      "r471",
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether practical expedient was elected to recognize incremental cost of obtaining contract as expense when incurred if amortization period would have been one year or less.",
        "label": "Revenue, Practical Expedient, Incremental Cost of Obtaining Contract [true false]",
        "terseLabel": "Practical expedients, amortization period"
       }
      }
     },
     "localname": "RevenuePracticalExpedientIncrementalCostOfObtainingContract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_RevenuePracticalExpedientRemainingPerformanceObligation": {
     "auth_ref": [
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether optional exemption was applied not to disclose amount of transaction price allocated to and explanation of expected timing of revenue recognition for remaining performance obligation, when contract has expected duration of one year or less or right to consideration corresponds directly to performance completed.",
        "label": "Revenue, Remaining Performance Obligation, Optional Exemption, Performance Obligation [true false]",
        "terseLabel": "Practical expedients, contract duration"
       }
      }
     },
     "localname": "RevenuePracticalExpedientRemainingPerformanceObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligation": {
     "auth_ref": [
      "r544"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transaction price allocated to performance obligation that has not been recognized as revenue.",
        "label": "Revenue, Remaining Performance Obligation, Amount",
        "terseLabel": "Transaction price allocated to remaining performance obligations related to customer contracts"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r316",
      "r331",
      "r390",
      "r391",
      "r408",
      "r413",
      "r414",
      "r418",
      "r419",
      "r421",
      "r439",
      "r494",
      "r495",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r691",
      "r820",
      "r1017"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "terseLabel": "Operating revenue",
        "totalLabel": "Revenues, Total"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "Operating revenue:"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r739",
      "r932"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
        "label": "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
        "terseLabel": "Right-of-use assets obtained in exchange for operating lease liabilities"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfSupplementalCashFlowInformationRelatedToOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale of Stock, Price Per Share",
        "terseLabel": "Price per share"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SalesRevenueNetMember": {
     "auth_ref": [
      "r421",
      "r989"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue from sale of product and rendering of service and other sources of income, when it serves as benchmark in concentration of risk calculation.",
        "label": "Revenue Benchmark [Member]",
        "terseLabel": "Revenue Concentration - Number of Borrowers Over 10% of Revenue"
       }
      }
     },
     "localname": "SalesRevenueNetMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]",
        "terseLabel": "Schedule Of Accounts Notes Loans And Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfContractAssetsAndReceivablesAndGuaranteeReceivablesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetScheduleOfFinancingReceivablesNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
        "terseLabel": "Schedule of Financing Receivables, Net"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "auth_ref": [
      "r80"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule for securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by Antidilutive Securities.",
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]",
        "terseLabel": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table]"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r172"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "terseLabel": "Schedule of Current and Deferred Portion of Income Tax Expense of Company's China Subsidiaries, VIEs, and Subsidiaries of VIEs"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Summary of the Group's Outstanding Funding Debts"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r169"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of Components of Deferred Tax Assets and Deferred Tax Liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r987"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of Computation of Basic and Diluted Net Income Per Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r166"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of Reconciliation Between Statutory EIT Rate and Effective Tax Rate for Group"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "auth_ref": [
      "r158"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allocation of amount expensed and capitalized for award under share-based payment arrangement to statement of income or comprehensive income and statement of financial position. Includes, but is not limited to, corresponding line item in financial statement.",
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block]",
        "terseLabel": "Schedule of Share-based Compensation Expenses"
       }
      }
     },
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r872",
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]",
        "terseLabel": "Schedule Of Financing Receivable Allowance For Credit Losses [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable": {
     "auth_ref": [
      "r902",
      "r1007"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about credit quality indicator for financing receivable.",
        "label": "Financing Receivable, Credit Quality Indicator [Table]",
        "terseLabel": "Schedule Of Financing Receivable Recorded Investment Credit Quality Indicator [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the annual minimum payments due from financing receivables, such as, but not limited to accounts, notes, loans, and other financing receivables.",
        "label": "Schedule of Financing Receivables, Minimum Payments [Table Text Block]",
        "terseLabel": "Summary of Balances of Financing Receivables by Due Date"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r903",
      "r1006"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table]",
        "terseLabel": "Schedule Of Financing Receivables Past Due [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesPastDueTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivableNetSummaryOfAgingAnalysisOfPastDueFinancingReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r112",
      "r114"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of Land Use Rights, Net"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock": {
     "auth_ref": [
      "r972"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of income before income tax between domestic and foreign jurisdictions.",
        "label": "Schedule of Income before Income Tax, Domestic and Foreign [Table Text Block]",
        "terseLabel": "Schedule of Components of Group's (loss)/income Before Income Tax Expense"
       }
      }
     },
     "localname": "ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r128"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "terseLabel": "Summary of the Remaining Contractual Maturity Dates of the Group's Funding Debts and Associated Interest Payments"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFundingDebtsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r78",
      "r79",
      "r82",
      "r83"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in accounting principles, including adoption of new accounting pronouncements, that describes the new methods, amount and effects on financial statement line items.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Table Text Block]",
        "terseLabel": "Schedule of Cumulative Effect of Changes on Consolidated Balance Sheet Due to Adoption of ASC 326"
       }
      }
     },
     "localname": "ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfProductInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing quantitative information concerning products or product lines by product or product line.",
        "label": "Schedule of Product Information [Table]",
        "terseLabel": "Schedule Of Product Information [Table]"
       }
      }
     },
     "localname": "ScheduleOfProductInformationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesProductInformationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]",
        "terseLabel": "Schedule Of Property Plant And Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosurePropertyEquipmentAndSoftwareNetScheduleOfPropertyEquipmentAndSoftwareNetDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r215",
      "r216"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "terseLabel": "Schedule Of Related Party Transactions By Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueFromRelatedPartiesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfAmountsDueToRelatedPartiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsScheduleOfSignificantRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Schedule of Significant Related Party Transactions"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureRelatedPartyBalancesAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationActivityTableTextBlock": {
     "auth_ref": [
      "r153",
      "r154",
      "r155"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of activity for award under share-based payment arrangement. Includes, but is not limited to, outstanding award at beginning and end of year, granted, exercised, forfeited, and weighted-average grant date fair value.",
        "label": "Share-Based Payment Arrangement, Activity [Table Text Block]",
        "terseLabel": "Summary of Number of Shares Available for Issuance"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r572",
      "r574",
      "r577",
      "r578",
      "r579",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "terseLabel": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r152",
      "r154",
      "r155"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Schedule of Activities for Stock Options"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardEmployeeStockPurchasePlanValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r157"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of employee stock purchase plans, including, but not limited to: (a) expected term, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule of Share-Based Payment Award, Employee Stock Purchase Plan, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Schedule of Estimated Fair Value of Stock Option Granted"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardEmployeeStockPurchasePlanValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShortTermDebtTable": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to borrowings under which repayment was required in less than twelve months (or normal operating cycle, if longer) after its issuance. It may include: (1) description of the short-term debt arrangement; (2) identification of the lender or type of lender; (3) repayment terms; (4) weighted average interest rate; (5) carrying amount of funds borrowed under the specified short-term debt arrangement as of the balance sheet date and measures of the maximum and average amount outstanding during the period; (6) description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet; and (7) amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation.",
        "label": "Schedule of Short-Term Debt [Table]",
        "terseLabel": "Schedule Of Short Term Debt [Table]"
       }
      }
     },
     "localname": "ScheduleOfShortTermDebtTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r134",
      "r135",
      "r137",
      "r139",
      "r140",
      "r141",
      "r142",
      "r143",
      "r144",
      "r145",
      "r295",
      "r296",
      "r297",
      "r381",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r913",
      "r948",
      "r969"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule of Stock by Class [Table]",
        "terseLabel": "Schedule Of Stock By Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the change in restricted stock units (RSUs).",
        "label": "Schedule of Unvested Restricted Stock Units Roll Forward [Table Text Block]",
        "terseLabel": "Summary of Activities for Restricted Shares Units"
       }
      }
     },
     "localname": "ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTable": {
     "auth_ref": [
      "r183",
      "r184",
      "r186",
      "r187",
      "r188",
      "r656",
      "r657",
      "r660",
      "r661",
      "r776",
      "r777",
      "r778"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of qualitative and quantitative information related to variable interests the entity holds, whether or not such variable interest entity (VIE) is included in the reporting entity's consolidated financial statements. Includes, but is not limited to, description of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a tabular comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table]",
        "terseLabel": "Schedule Of Variable Interest Entities [Table]"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTextBlock": {
     "auth_ref": [
      "r183",
      "r184",
      "r186",
      "r187",
      "r188"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table Text Block]",
        "terseLabel": "Schedule of the Assets, Liabilities, Results of Operations and Changes in Cash and Cash Equivalents and Restricted Cash of the VIEs and their Subsidiaries"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r114"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of Amortization Expenses For Future Periods"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLandUseRightsNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock": {
     "auth_ref": [
      "r84",
      "r87",
      "r88",
      "r89",
      "r203",
      "r205"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Schedules of Concentration of Risk, by Risk Factor [Table Text Block]",
        "terseLabel": "Schedule of Concentration Risk"
       }
      }
     },
     "localname": "SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r421",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r486",
      "r487",
      "r906",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segments [Domain]"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r419"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "terseLabel": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SellingAndMarketingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total amount of expenses directly related to the marketing or selling of products or services.",
        "label": "Selling and Marketing Expense",
        "negatedLabel": "Sales and marketing expenses",
        "totalLabel": "Selling and Marketing Expense, Total"
       }
      }
     },
     "localname": "SellingAndMarketingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SellingAndMarketingExpenseMember": {
     "auth_ref": [
      "r46"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing selling and marketing expense.",
        "label": "Selling and Marketing Expense [Member]",
        "terseLabel": "Sales and marketing expenses"
       }
      }
     },
     "localname": "SellingAndMarketingExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServiceMember": {
     "auth_ref": [
      "r914"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assistance, including, but not limited to, technology, license and maintenance, license and service, maintenance, oil and gas, and financial service.",
        "label": "Service [Member]",
        "terseLabel": "Online direct sales and services income"
       }
      }
     },
     "localname": "ServiceMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServiceOtherMember": {
     "auth_ref": [
      "r1026"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assistance, including, but not limited to, technology, license and maintenance, license and service, maintenance, oil and gas, financial service, and other financial service, classified as other.",
        "label": "Service, Other [Member]",
        "terseLabel": "Other Services"
       }
      }
     },
     "localname": "ServiceOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfAsc606DisaggregatedByRevenueSourcesParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueSourcesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "terseLabel": "Share-based compensation expenses",
        "totalLabel": "Share-based Payment Arrangement, Noncash Expense, Total"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Recognized Amount [Abstract]",
        "terseLabel": "Share-based compensation expenses included in:"
       }
      }
     },
     "localname": "ShareBasedCompensationAllocationAndClassificationInFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r926"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "terseLabel": "Vesting period (in years)",
        "verboseLabel": "Option granted vesting period (in years)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r594"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedLabel": "Cancelled/forfeited (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r594"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Cancelled (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Granted (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Granted (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r589",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Balance at the end of the period (in shares)",
        "periodStartLabel": "Balance at the beginning of the period (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
        "terseLabel": "Options Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r589",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Balance at the end of the period (in dollars per share)",
        "periodStartLabel": "Balance at the beginning of the period (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
        "terseLabel": "Weighted-Average Grant Date Fair Value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedLabel": "Vested (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Vested (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreed-upon price for the exchange of the underlying asset relating to the share-based payment award.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Exercise Price",
        "terseLabel": "Exercise multiples"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r603"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate",
        "terseLabel": "Expected dividend yield"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the maximum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate, Maximum",
        "terseLabel": "Expected volatility, maximum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the minimum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate, Minimum",
        "terseLabel": "Expected volatility, minimum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Maximum",
        "terseLabel": "Risk-free interest rate,maximum (per annum)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Minimum",
        "terseLabel": "Risk-free interest rate, minimum (per annum)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "SHARE-BASED COMPENSATION"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfShareBasedCompensationExpensesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of additional shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Additional Shares Authorized",
        "terseLabel": "Additions (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNumberOfSharesAvailableForIssuanceDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r928"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized",
        "terseLabel": "Maximum number of ordinary shares authorized for stock based compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r159"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant",
        "periodEndLabel": "Balance at the end of the period (in shares)",
        "periodStartLabel": "Balance at the beginning of the period (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNumberOfSharesAvailableForIssuanceDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Additional Disclosures [Abstract]",
        "terseLabel": "Weighted Average Remaining Contractual Life and Aggregate Intrinsic Value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number",
        "terseLabel": "Exercisable at the end of the period (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "terseLabel": "Exercisable at the end of the period (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "auth_ref": [
      "r596"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value",
        "verboseLabel": "Total intrinsic value of stock options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r588"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Expirations in Period",
        "negatedLabel": "Expired (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNumberOfSharesAvailableForIssuanceDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r1034"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price of options that were either forfeited or expired.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures and Expirations in Period, Weighted Average Exercise Price",
        "terseLabel": "Cancelled/forfeited (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures in Period",
        "negatedLabel": "Cancelled/forfeited (in shares)",
        "terseLabel": "Cancelled/forfeited (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNumberOfSharesAvailableForIssuanceDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross",
        "negatedLabel": "Granted (in shares)",
        "terseLabel": "Granted (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNumberOfSharesAvailableForIssuanceDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r595"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value of options granted (in CNY/dollars per share)",
        "verboseLabel": "Fair value of the underlying shares on the date of grants (US$)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r159"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r581",
      "r582"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Balance at the end of the period (in shares)",
        "periodStartLabel": "Balance at the beginning of the period (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward]",
        "terseLabel": "Options Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r581",
      "r582"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Balance at the end of the period (in dollars per share)",
        "periodStartLabel": "Balance at the beginning of the period (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]",
        "terseLabel": "Weighted Average Exercise Price"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue": {
     "auth_ref": [
      "r597"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which current fair value of underlying stock exceeds exercise price of fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Aggregate Intrinsic Value",
        "terseLabel": "Vested and expected to vest at the end of the period, Aggregate intrinsic value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber": {
     "auth_ref": [
      "r597"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of fully vested and expected to vest options outstanding that can be converted into shares under option plan. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number",
        "terseLabel": "Vested and expected to vest at the end of the period (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r597"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price",
        "terseLabel": "Vested and expected to vest at the end of the period (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r577",
      "r578",
      "r579",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfActivitiesForRestrictedSharesUnitsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Exercised (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Exercise Price"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r580",
      "r599",
      "r600",
      "r601",
      "r602",
      "r605",
      "r614",
      "r615"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-Based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Share-Based Compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by supplier.",
        "label": "Supplier [Axis]",
        "terseLabel": "Supplier"
       }
      }
     },
     "localname": "ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Specific identification or general nature of (for example, a construction contractor, a consulting firm) the party from whom the goods or services were or are to be received.",
        "label": "Supplier [Domain]",
        "terseLabel": "Supplier"
       }
      }
     },
     "localname": "ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Vested",
        "terseLabel": "Fair value and intrinsic value of restricted share units vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r927"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period",
        "terseLabel": "Expiration period (in years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r601"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Expected term (in years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r159"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Exercisable at the end of the period, Aggregate intrinsic value"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r159"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Exercisable at the end of the period, weighted average remaining contractual life"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted average remaining contractual life (in years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r597"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for fully vested and expected to vest options outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Vested and expected to vest at the end of the period, weighted average remaining contractual life"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShortTermBorrowings": {
     "auth_ref": [
      "r4",
      "r221",
      "r249",
      "r933"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
        "label": "Short-Term Debt",
        "terseLabel": "Total debt obligations",
        "totalLabel": "Short-term Debt, Total",
        "verboseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "ShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermBorrowingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt [Abstract]"
       }
      }
     },
     "localname": "ShortTermBorrowingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtLineItems": {
     "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": "Short-Term Debt [Line Items]",
        "terseLabel": "Short Term Debt [Line Items]"
       }
      }
     },
     "localname": "ShortTermDebtLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt arrangement having an initial term within one year or the normal operating cycle, if longer.",
        "label": "Short-Term Debt [Member]",
        "terseLabel": "Short-term Borrowings Obligations"
       }
      }
     },
     "localname": "ShortTermDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermDebtTextBlock": {
     "auth_ref": [
      "r133"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for short-term debt.",
        "label": "Short-Term Debt [Text Block]",
        "terseLabel": "Borrowings"
       }
      }
     },
     "localname": "ShortTermDebtTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRate": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of short-term debt outstanding calculated at point in time.",
        "label": "Short-Term Debt, Weighted Average Interest Rate, at Point in Time",
        "terseLabel": "Weighted average interest rates of short-term borrowings"
       }
      }
     },
     "localname": "ShortTermDebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShortTermInvestments": {
     "auth_ref": [
      "r226",
      "r227",
      "r246",
      "r956"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current.",
        "label": "Short-Term Investments",
        "terseLabel": "Short-term investments",
        "totalLabel": "Short-Term Investments, Total"
       }
      }
     },
     "localname": "ShortTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfHierarchyForAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermLeaseCost": {
     "auth_ref": [
      "r737",
      "r932"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of short-term lease cost, excluding expense for lease with term of one month or less.",
        "label": "Short-Term Lease, Cost",
        "terseLabel": "Short-term lease cost"
       }
      }
     },
     "localname": "ShortTermLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r77",
      "r328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SoftwareAndSoftwareDevelopmentCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchased software applications and internally developed software for sale, licensing or long-term internal use.",
        "label": "Software and Software Development Costs [Member]",
        "terseLabel": "Software"
       }
      }
     },
     "localname": "SoftwareAndSoftwareDevelopmentCostsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfEstimatedUsefulLivesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StateAdministrationOfTaxationChinaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government of China.",
        "label": "State Administration of Taxation, China [Member]",
        "terseLabel": "PRC"
       }
      }
     },
     "localname": "StateAdministrationOfTaxationChinaMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationReconciliationBetweenStatutoryEnterpriseIncomeTaxRateAndEffectiveTaxRateParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r282",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r421",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r484",
      "r486",
      "r487",
      "r906",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r295",
      "r296",
      "r297",
      "r331",
      "r361",
      "r365",
      "r371",
      "r373",
      "r381",
      "r382",
      "r439",
      "r494",
      "r497",
      "r498",
      "r499",
      "r503",
      "r504",
      "r534",
      "r535",
      "r537",
      "r538",
      "r540",
      "r691",
      "r865",
      "r948",
      "r969",
      "r986"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r32",
      "r138",
      "r278",
      "r312",
      "r313",
      "r314",
      "r337",
      "r338",
      "r339",
      "r343",
      "r352",
      "r355",
      "r380",
      "r447",
      "r541",
      "r611",
      "r612",
      "r613",
      "r636",
      "r637",
      "r673",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r715",
      "r749",
      "r831",
      "r832",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r337",
      "r338",
      "r339",
      "r380",
      "r797"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFinancingReceivablesNetTables",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfEstimatedFairValueOfStockOptionGrantedDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance": {
     "auth_ref": [
      "r253",
      "r266"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of statutory capital and surplus (stockholders' equity) as of the balance sheet date using prescribed or permitted statutory accounting practices (rather than GAAP, if different) of the state or country.",
        "label": "Statutory Accounting Practices, Statutory Capital and Surplus, Balance",
        "terseLabel": "Statutory reserves",
        "totalLabel": "Statutory Accounting Practices, Statutory Capital and Surplus, Balance, Total"
       }
      }
     },
     "localname": "StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockCompensationPlanMember": {
     "auth_ref": [
      "r988"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement in which award of equity shares are granted. Arrangement includes, but is not limited to, grantor incurring liability for product and service based on price of its shares.",
        "label": "Share-Based Payment Arrangement [Member]",
        "terseLabel": "Options to purchase ordinary shares and restricted share units"
       }
      }
     },
     "localname": "StockCompensationPlanMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StockGrantedDuringPeriodValueSharebasedCompensationGross": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value, before forfeiture, of shares granted under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).",
        "label": "Shares Granted, Value, Share-Based Payment Arrangement, before Forfeiture",
        "terseLabel": "Total share-based compensation expense recognized for stock options granted"
       }
      }
     },
     "localname": "StockGrantedDuringPeriodValueSharebasedCompensationGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r11",
      "r12",
      "r138",
      "r145"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Share issuance upon the initial public offering, net of issuance costs (in shares)",
        "verboseLabel": "Number of new shares issued (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r11",
      "r12",
      "r138",
      "r145",
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period",
        "negatedLabel": "Exercised (in shares)",
        "terseLabel": "Exercise of share-based awards (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationScheduleOfActivitiesForStockOptionsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r32",
      "r138",
      "r145"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "terseLabel": "Exercise of share-based awards"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchaseProgramAuthorizedAmount1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stock repurchase plan authorized.",
        "label": "Stock Repurchase Program, Authorized Amount",
        "terseLabel": "Share repurchase program, authorized amount"
       }
      }
     },
     "localname": "StockRepurchaseProgramAuthorizedAmount1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r12",
      "r17",
      "r18",
      "r103",
      "r933",
      "r971",
      "r1000",
      "r1069"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Stockholders' Equity Attributable to Parent, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Parent, Beginning Balance",
        "terseLabel": "Total equity attributable to owners of the company",
        "totalLabel": "Total equity attributable to owners of the company"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "SHAREHOLDERS\u2019 EQUITY:"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r175",
      "r176",
      "r189",
      "r278",
      "r279",
      "r313",
      "r337",
      "r338",
      "r339",
      "r343",
      "r352",
      "r447",
      "r541",
      "r611",
      "r612",
      "r613",
      "r636",
      "r637",
      "r673",
      "r709",
      "r710",
      "r715",
      "r749",
      "r832",
      "r833",
      "r971",
      "r1000",
      "r1069"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Balances as at end of the year",
        "periodStartLabel": "Balances as at beginning of the year",
        "totalLabel": "Total shareholders equity"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r716",
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r716",
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r716",
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r716",
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r759",
      "r761"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesReorganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SummaryOfIncomeTaxHolidayTextBlock": {
     "auth_ref": [
      "r174"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the income tax exemptions and reductions which have been granted by taxing authorities for a specified period, applicable term of the exemptions and reductions, estimated dollar value of tax benefits, and per share benefits.",
        "label": "Summary of Income Tax Holiday [Table Text Block]",
        "terseLabel": "Schedule of Effect of Tax Holiday Related to Group"
       }
      }
     },
     "localname": "SummaryOfIncomeTaxHolidayTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SummaryOfInvestmentHoldingsLineItems": {
     "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": "Summary of Investment Holdings [Line Items]",
        "terseLabel": "Summary Of Investment Holdings [Line Items]"
       }
      }
     },
     "localname": "SummaryOfInvestmentHoldingsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SummaryOfValuationAllowanceTextBlock": {
     "auth_ref": [
      "r168"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of valuation allowances to reduce deferred tax assets to net realizable value, including identification of the deferred tax asset more likely than not will not be fully realized and the corresponding amount of the valuation allowance.",
        "label": "Summary of Valuation Allowance [Table Text Block]",
        "terseLabel": "Schedule of Movement of Valuation Allowance"
       }
      }
     },
     "localname": "SummaryOfValuationAllowanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosure of cash flows information"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplierConcentrationRiskMember": {
     "auth_ref": [
      "r85"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that purchases in the period from one or more significant suppliers is to cost of goods or services, as defined by the entity, such as total cost of sales or services, product line cost of sales or services, segment cost of sales or services. Risk is the materially adverse effects of loss of a material supplier or a supplier of critically needed goods or services.",
        "label": "Supplier Concentration Risk [Member]",
        "terseLabel": "Supplier Concentration Risk"
       }
      }
     },
     "localname": "SupplierConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfConcentrationRiskDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Supplies": {
     "auth_ref": [
      "r890",
      "r905",
      "r1008"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration paid in advance for supplies that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Supplies",
        "terseLabel": "Prepayment to inventory suppliers"
       }
      }
     },
     "localname": "Supplies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxesPayableCurrent": {
     "auth_ref": [
      "r23"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for statutory income, sales, use, payroll, excise, real, property and other taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Taxes Payable, Current",
        "terseLabel": "Tax payable",
        "totalLabel": "Taxes Payable, Current, Total"
       }
      }
     },
     "localname": "TaxesPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureAccrualsAndOtherCurrentLiabilitiesScheduleOfAccrualsAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimingOfTransferOfGoodOrServiceAxis": {
     "auth_ref": [
      "r919",
      "r1025"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by timing of transfer of good or service to customer.",
        "label": "Timing of Transfer of Good or Service [Axis]",
        "terseLabel": "Timing of Transfer of Good or Service"
       }
      }
     },
     "localname": "TimingOfTransferOfGoodOrServiceAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueTimingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TimingOfTransferOfGoodOrServiceDomain": {
     "auth_ref": [
      "r919",
      "r1025"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Timing of transfer of good or service to customer. Includes, but is not limited to, at point in time or over time.",
        "label": "Timing of Transfer of Good or Service [Domain]",
        "terseLabel": "Timing of Transfer of Good or Service"
       }
      }
     },
     "localname": "TimingOfTransferOfGoodOrServiceDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueTimingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransferredAtPointInTimeMember": {
     "auth_ref": [
      "r919"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contract with customer in which good or service is transferred at point in time.",
        "label": "Transferred at Point in Time [Member]",
        "terseLabel": "At Point-in-Time"
       }
      }
     },
     "localname": "TransferredAtPointInTimeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueTimingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransferredOverTimeMember": {
     "auth_ref": [
      "r919"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contract with customer in which good or service is transferred over time.",
        "label": "Transferred over Time [Member]",
        "terseLabel": "Over Time"
       }
      }
     },
     "localname": "TransferredOverTimeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfOperatingRevenueWithinScopeOfASC606DisaggregatedByRevenueTimingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r432",
      "r433",
      "r530",
      "r539",
      "r664",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768",
      "r769",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r775",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r785",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r793",
      "r794",
      "r996",
      "r997",
      "r998",
      "r1095",
      "r1096",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesDebtObligationsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfEffectAdverseChangeInDerivativeAssetsAndLiabilitiesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfActivitiesRelatedToFairValueOfGuaranteeDerivativesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfQuantitativeInformationAboutTheSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r31",
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares of an entity that have been repurchased by the entity. This stock has no voting rights and receives no dividends. Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Treasury Stock [Member]",
        "terseLabel": "Treasury stock"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockShares": {
     "auth_ref": [
      "r31",
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date. This stock has no voting rights and receives no dividends.",
        "label": "Treasury Stock, Shares",
        "terseLabel": "Treasury stock, shares",
        "totalLabel": "Treasury Stock, Shares, Total"
       }
      }
     },
     "localname": "TreasuryStockShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockSharesAcquired": {
     "auth_ref": [
      "r12",
      "r138",
      "r145"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and are being held in treasury.",
        "label": "Treasury Stock, Shares, Acquired",
        "negatedLabel": "Treasury Repurchases (Shares)",
        "terseLabel": "Shares repurchase program, Number of shares acquired",
        "verboseLabel": "Treasury Repurchases (Shares)"
       }
      }
     },
     "localname": "TreasuryStockSharesAcquired",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockValue": {
     "auth_ref": [
      "r31",
      "r147",
      "r148"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      },
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.",
        "label": "Treasury Stock, Value",
        "negatedLabel": "Treasury stock (nill and 44,369,636 shares as of December31, 2021 and 2022, respectively)",
        "terseLabel": "Treasury stock",
        "totalLabel": "Treasury Stock, Value, Total",
        "verboseLabel": "Shares repurchase program, Share acquired amount"
       }
      }
     },
     "localname": "TreasuryStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrdinarySharesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TreasuryStockValueAcquiredCostMethod": {
     "auth_ref": [
      "r138",
      "r145",
      "r147"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method.",
        "label": "Treasury Stock, Value, Acquired, Cost Method",
        "negatedLabel": "Treasury Repurchases"
       }
      }
     },
     "localname": "TreasuryStockValueAcquiredCostMethod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r342",
      "r343",
      "r344",
      "r345",
      "r357",
      "r427",
      "r428",
      "r444",
      "r445",
      "r446",
      "r447",
      "r449",
      "r450",
      "r611",
      "r612",
      "r613",
      "r634",
      "r635",
      "r636",
      "r637",
      "r652",
      "r653",
      "r654",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r692",
      "r693",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r719",
      "r720",
      "r727",
      "r728",
      "r729",
      "r730",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r799",
      "r800",
      "r801",
      "r829",
      "r830",
      "r831",
      "r832",
      "r833",
      "r834",
      "r835",
      "r836",
      "r837",
      "r838",
      "r839",
      "r840"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment to accounting standards.",
        "label": "Accounting Standards Update [Domain]",
        "terseLabel": "Accounting Standards Update"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureContractAssetsAndReceivableNetScheduleOfActivitiesInTheAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfActivitiesInAllowanceForCreditLossesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureFinancingReceivableNetSummaryOfAmortizedCostWithinEachCreditQualityIndicatorByYearOfOriginationForFiveOriginationYearsAndBeyon",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfCumulativeEffectOfChangesOnConsolidatedBalanceSheetDueToAdoptionOfASC326ParentheticalDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithContingentGuaranteeLiabilitiesAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfObligationsAssociatedWithDeferredGuaranteeIncomeAfterAdoptionOfASC326Details",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset.",
        "label": "Unamortized Debt Issuance Expense",
        "terseLabel": "Unamortized debt discount and issuance costs"
       }
      }
     },
     "localname": "UnamortizedDebtIssuanceExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UndistributedEarningsOfForeignSubsidiaries": {
     "auth_ref": [
      "r242",
      "r267",
      "r617",
      "r649"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undistributed earnings of foreign subsidiaries intended to be permanently reinvested outside the country of domicile.",
        "label": "Undistributed Earnings of Foreign Subsidiaries",
        "terseLabel": "Undistributed profits"
       }
      }
     },
     "localname": "UndistributedEarningsOfForeignSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r90",
      "r91",
      "r92",
      "r384",
      "r385",
      "r386",
      "r387"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationAllowanceByDeferredTaxAssetAxis": {
     "auth_ref": [
      "r168"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of deferred tax consequences attributable to deductible temporary differences.",
        "label": "Valuation Allowance by Deferred Tax Asset [Axis]",
        "terseLabel": "Valuation Allowance by Deferred Tax Asset"
       }
      }
     },
     "localname": "ValuationAllowanceByDeferredTaxAssetAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValueAddedTaxReceivableCurrent": {
     "auth_ref": [
      "r955"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of value added taxes due either from customers arising from sales on credit terms, or as previously overpaid to tax authorities. For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
        "label": "Value Added Tax Receivable, Current",
        "terseLabel": "Prepaid input value-added tax"
       }
      }
     },
     "localname": "ValueAddedTaxReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsScheduleOfPrepaymentsAndOtherCurrentAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntityLineItems": {
     "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": "Variable Interest Entity [Line Items]",
        "terseLabel": "Variable Interest Entity [Line Items]",
        "verboseLabel": "Schedule of Company's principal subsidiaries, consolidated VIEs and subsidiaries of VIEs"
       }
      }
     },
     "localname": "VariableInterestEntityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityOwnershipPercentage": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the Variable Interest Entity's (VIE) voting interest owned by (or beneficial interest in) the reporting entity (directly or indirectly).",
        "label": "Variable Interest Entity, Qualitative or Quantitative Information, Ownership Percentage",
        "terseLabel": "Direct or Indirect Economic Interest in VIEs (as a percent)"
       }
      }
     },
     "localname": "VariableInterestEntityOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureOrganizationAndPrincipalActivitiesScheduleOfPercentageOfOwnershipInPrincipalSubsidiariesConsolidatedViesAndSubsidiariesOfViesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember": {
     "auth_ref": [
      "r183",
      "r656",
      "r657",
      "r660",
      "r661"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary. A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity.",
        "label": "Variable Interest Entity, Primary Beneficiary [Member]",
        "terseLabel": "VIEs"
       }
      }
     },
     "localname": "VariableInterestEntityPrimaryBeneficiaryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfTheAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCa",
      "http://ir.lexin.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesSummaryOfFinancialInformationOfTheGroupsViesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesScheduleOfAssetsLiabilitiesResultsOfOperationsAndChangesInCashAndCashEquivalentsAndRestrictedCashOfViesAndTheirSubsidiariesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationOthersDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureTaxationTaxRatesDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r360",
      "r373"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Diluted",
        "totalLabel": "Weighted average number of ordinary shares outstanding\u2014diluted"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Diluted [Abstract]",
        "terseLabel": "Weighted average number of ordinary shares outstanding",
        "verboseLabel": "Denominator:"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r358",
      "r373"
     ],
     "calculation": {
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Basic",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "verboseLabel": "Weighted average number of ordinary shares outstanding\u2014basic"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails",
      "http://ir.lexin.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Basic [Abstract]",
        "terseLabel": "Denominator:"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasicAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://ir.lexin.com/20221231/taxonomy/role/Role_DisclosureNetIncomePerShareComputationOfBasicAndDilutedNetIncomePerShareDetails"
     ],
     "xbrltype": "stringItemType"
    }
   },
   "unitCount": 11
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(24))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(25))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1000": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1001": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "https://asc.fasb.org/topic&trid=2196965",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1002": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "325",
   "URI": "https://asc.fasb.org/topic&trid=2197064",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1003": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1004": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1005": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1006": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1007": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1008": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1009": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1010": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1011": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1012": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1013": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1014": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1015": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org/topic&trid=2127136",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1016": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1017": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1018": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1019": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5144-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1020": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1021": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1022": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1023": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1024": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130533-203044",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1025": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1026": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1027": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "705",
   "URI": "https://asc.fasb.org/topic&trid=2122478",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1028": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1029": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1030": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1031": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1032": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1033": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1034": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1035": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1036": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1037": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1038": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1039": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196772",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1040": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1041": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1042": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1043": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1044": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1045": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1046": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1047": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1048": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1049": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26626-111562",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1050": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1051": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1052": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1053": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1054": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1055": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1056": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1057": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1058": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1059": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27405-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1060": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1061": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1062": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1063": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1064": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1065": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1066": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1067": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1068": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1069": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1070": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1071": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1072": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1073": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1074": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1075": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1076": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1077": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1078": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1079": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=126903467&loc=d3e32787-111569",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1080": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1081": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1082": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1083": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1084": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1085": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1086": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "730",
   "Topic": "912",
   "URI": "https://asc.fasb.org/extlink&oid=6472174&loc=d3e58812-109433",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1087": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1088": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1089": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1090": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1091": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1092": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1093": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1094": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1095": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1096": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1097": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1098": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1099": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1100": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1101": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1102": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1103": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1104": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1105": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1106": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "303",
   "Subparagraph": "(5)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1107": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1108": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1109": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1110": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226317&loc=d3e202-110218",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=126905813&loc=d3e1205-110223",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=27011434&loc=d3e125687-122742",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "https://asc.fasb.org/topic&trid=2155823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12201-110248",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466302&loc=d3e4852-112606",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=7516071&loc=d3e13374-112631",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21332-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21553-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(i))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21484-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21488-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "710",
   "URI": "https://asc.fasb.org/topic&trid=2127225",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "712",
   "URI": "https://asc.fasb.org/topic&trid=2197446",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "https://asc.fasb.org/topic&trid=2235017",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11149-113907",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11178-113907",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "730",
   "URI": "https://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568447-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568740-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569655-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5728-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5747-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6228884-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "83",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126929950&loc=d3e34841-113949",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL7498348-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(26))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14172-108612",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL75039408-165497",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=28365394&loc=d3e23770-108382",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(4))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10(3))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(3),(4))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(f))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13(h))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7,8)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "e",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "740",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=6479915&loc=d3e66715-112838",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(g))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(c))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1(h))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.3)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=6486098&loc=d3e24708-158529",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "740",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=6487024&loc=d3e29054-158556",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.1(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12.6(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "985",
   "URI": "https://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "https://asc.fasb.org/extlink&oid=123406913&loc=d3e41499-112717",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-04(Schedule I))",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=126898705&loc=d3e5864-122674",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(16))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a)(5))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(22))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(5))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3444-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(3)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31010-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1377-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a-c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1707-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1757-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1500-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2029-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "https://asc.fasb.org/topic&trid=2144383",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e543-108305",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "https://asc.fasb.org/topic&trid=2134479",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8657-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196772",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196816",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=SL6284422-111562",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=123583714&loc=SL75117360-209713",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL82887624-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL120254519-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "https://asc.fasb.org/topic&trid=2126998",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905575&loc=SL51790836-203054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1,2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(a),(d))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(c),9(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130533-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130558-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130561-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130564-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130569-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "https://asc.fasb.org/topic&trid=49130388",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4534-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126962052&loc=d3e4991-113900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(l)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2.Q6)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(b)",
   "Topic": "720",
   "URI": "https://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126928070&loc=d3e28200-109314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=121483254&loc=SL120254523-199619",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594809&loc=d3e13220-108610",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=126980362&loc=d3e28228-110885",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=126980362&loc=d3e28129-110885",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123602790&loc=d3e30226-110892",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123602790&loc=d3e30304-110892",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=125521441&loc=d3e30755-110894",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32022-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32262-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6897108&loc=SL6897125-166521",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "https://asc.fasb.org/topic&trid=2175825",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL77916155-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL77916155-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL120154346-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918631-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918666-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(2)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/subtopic&trid=77888251",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=d3e56071-112765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "330",
   "Topic": "912",
   "URI": "https://asc.fasb.org/extlink&oid=6471895&loc=d3e55923-109411",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(23))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r800": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r801": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r802": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "https://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r803": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r804": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r805": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r806": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r807": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r808": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r809": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r810": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r811": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r812": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r813": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r814": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r815": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r816": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(9))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r817": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(24))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r818": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r819": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e725-108305",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r820": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r821": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r822": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(5))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r823": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r824": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(20))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r825": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r826": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r827": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r828": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r829": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e765-108305",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r830": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r831": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r832": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r833": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r834": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r835": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r836": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r837": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r838": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r839": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r840": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r841": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r842": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Footnote 11(c)))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r843": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r844": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r845": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r846": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=120413173&loc=SL116631458-115580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r847": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=127002003&loc=SL6242269-115581",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r848": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942805&loc=d3e3115-115594",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r849": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r850": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99779-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r851": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99893-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r852": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=SL120174063-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r853": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r854": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r855": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r856": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r857": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r858": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r859": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r860": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r861": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r862": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r863": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r864": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r865": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r866": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r867": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r868": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r869": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r870": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r871": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r872": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r873": {
   "Footnote": "2",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r874": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r875": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r876": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r877": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column B",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r878": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column C",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r879": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column D",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r880": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column E",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r881": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column F",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r882": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column G",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r883": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column H",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r884": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column I",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r885": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r886": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r887": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r888": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r889": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r890": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)(7)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r891": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r892": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r893": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r894": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r895": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r896": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r897": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r898": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r899": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921830-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r900": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r901": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921842-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r902": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r903": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r904": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r905": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905020&loc=d3e5879-108316",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r906": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r907": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r908": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r909": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r910": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r911": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r912": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r913": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r914": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r915": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r916": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r917": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r918": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r919": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r920": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r921": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r922": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r923": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r924": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4587-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r925": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r926": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r927": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r928": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r929": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "38",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5504-128473",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r930": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r931": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r932": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r933": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r934": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r935": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r936": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r937": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r938": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r939": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r940": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r941": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r942": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r943": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r944": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r945": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r946": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r947": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r948": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r949": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=d3e5283-111683",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(4)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r950": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r951": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r952": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(10))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r953": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r954": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r955": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r956": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r957": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r958": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r959": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r960": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r961": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r962": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r963": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r964": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r965": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r966": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r967": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r968": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r969": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r970": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r971": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r972": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r973": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r974": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r975": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r976": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r977": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r978": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r979": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r980": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r981": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r982": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r983": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r984": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r985": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r986": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r987": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r988": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r989": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r990": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r991": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r992": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r993": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196772",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r994": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r995": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org/topic&trid=2196928",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r996": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r997": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r998": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r999": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "321",
   "URI": "https://asc.fasb.org/topic&trid=75115024",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  }
 },
 "version": "2.2"
}
