XML 110 R91.htm IDEA: XBRL DOCUMENT
v3.26.1

Stockholders' Equity / Member's Equity (Details) $ / shares in Units, $ in Thousands |  |  |  | 4 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | ---
Feb. 25, 2026 USD ($) shares | Jan. 08, 2026 shares | Dec. 16, 2025 $ / shares shares | Dec. 31, 2025 vote $ / shares shares | Dec. 31, 2025 vote $ / shares shares | Dec. 31, 2024 USD ($) | Dec. 31, 2023 USD ($) | Sep. 12, 2025 shares
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Conversion ratio |  |  |  |  | 1 |  |  |
Preferred stock, shares authorized (in shares) |  |  | 50,000,000 | 50,000,000 | 50,000,000 |  |  |
Preferred stock, par value (in usd per share) | $ / shares |  |  | $ 0.01 | $ 0.01 | $ 0.01 |  |  |
Preferred stock, shares issued (in shares) |  |  |  | 0 | 0 |  |  |
Preferred stock, shares outstanding (in shares) |  |  |  | 0 | 0 |  |  |
Tax distributions | $ |  |  |  |  |  | $ 1,400 | $ 0 |
Capital distributions | $ |  |  |  |  |  | 300,200 | $ 1,500 |
Capital distribution, return to holders | $ |  |  |  |  |  | $ 400 |  |
Subsequent Event | Employee Stock |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Common stock reservation of shares (in shares) | 1,580,053 |  |  |  |  |  |  |
Eligible employees contribution percentage | 15.00% |  |  |  |  |  |  |
Maximum annual cash payments | $ | $ 25 |  |  |  |  |  |  |
Purchase price of common stock, percent | 90.00% |  |  |  |  |  |  |
LGN A Units |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Conversion ratio |  |  |  |  | 1 |  |  |
Common stock, shares outstanding (in shares) |  |  |  | 63,856,975 | 63,856,975 |  |  |
LGN B Units |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Conversion ratio |  |  |  |  | 1 |  |  |
LGN B Units | Legence Parent |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Common stock, shares outstanding (in shares) |  |  |  | 41,479,954 | 41,479,954 |  |  |
Common Class A |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Conversion ratio |  |  |  |  | 1 |  |  |
Common stock, shares outstanding (in shares) |  |  |  | 63,856,975 | 63,856,975 |  |  |
Common stock, shares authorized (in shares) |  |  | 1,000,000,000 | 1,000,000,000 | 1,000,000,000 |  |  |
Common stock, par value (in dollars per share) | $ / shares |  |  | $ 0.01 | $ 0.01 | $ 0.01 |  |  |
Number of votes | vote |  |  |  | 1 | 1 |  |  |
Common Class A | Common Stock |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Exchange of Class B Common Stock to Class A Common Stock (in shares) |  |  | 5,200,808 |  | 5,200,808 |  |  |
Common stock, shares outstanding (in shares) |  |  |  | 63,856,975 | 63,856,975 |  |  |
Common Class A | Subsequent Event |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Exchanged shares (in shares) |  | 780,121 |  |  |  |  |  |
Common Class A | Secondary Offering |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Number of shares issued (in shares) |  |  | 8,402,178 |  |  |  |  |
Sale of stock, price (in usd per share) | $ / shares |  |  | $ 45.00 |  |  |  |  |
Common Class A | Over-Allotment Option |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Number of shares issued (in shares) |  |  | 1,260,326 |  |  |  |  |
Sale of stock option period |  |  | 30 days |  |  |  |  |
Common Class A | Over-Allotment Option | Subsequent Event |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Number of shares issued (in shares) |  | 1,260,326 |  |  |  |  |  |
Common Class B |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Common stock, shares outstanding (in shares) |  |  |  | 41,479,954 | 41,479,954 |  |  |
Common stock, shares authorized (in shares) |  |  | 200,000,000 | 200,000,000 | 200,000,000 |  |  |
Common stock, par value (in dollars per share) | $ / shares |  |  | $ 0.01 | $ 0.01 | $ 0.01 |  |  |
Number of votes | vote |  |  |  | 1 | 1 |  |  |
Common Class B | Common Stock |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Exchange of Class B Common Stock to Class A Common Stock (in shares) |  |  |  |  | (5,200,808) |  |  |
Common stock, shares outstanding (in shares) |  |  |  | 41,479,954 | 41,479,954 |  |  |
Legence Holdings LLC |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Ownership (as percent) |  |  |  | 100.00% | 100.00% |  |  | 100.00%
Common stock, shares outstanding (in shares) |  |  |  | 105,336,929 | 105,336,929 |  |  | 105,191,329
Exchange of Class B Common Stock to Class A Common Stock (in shares) |  |  |  | 0 |  |  |  |
Legence Holdings LLC | LGN A Units |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Ownership (as percent) |  |  |  | 60.60% | 60.60% |  |  | 55.60%
Common stock, shares outstanding (in shares) |  |  |  | 63,856,975 | 63,856,975 |  |  | 58,510,567
Exchange of Class B Common Stock to Class A Common Stock (in shares) |  |  |  | 5,200,808 |  |  |  |
Legence Holdings LLC | LGN B Units |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Common stock, shares outstanding (in shares) |  |  |  | 41,479,954 | 41,479,954 |  |  | 46,680,762
Exchange of Class B Common Stock to Class A Common Stock (in shares) |  |  |  | (5,200,808) |  |  |  |
Legence Holdings LLC | LGN B Units | Legence Parent |  |  |  |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |
Common stock, shares outstanding (in shares) |  |  |  | 41,479,954 | 41,479,954 |  |  |

X
- Definition Capital Distribution, Return To Holders + References No definition available. + Details
Name: | lgn_CapitalDistributionReturnToHolders
Namespace Prefix: | lgn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Common Stock, Voting Rights, Votes + References No definition available. + Details
Name: | lgn_CommonStockVotingRightsVotes
Namespace Prefix: | lgn_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Limited Partners Capital, Unit Conversion Ratio + References No definition available. + Details
Name: | lgn_LimitedPartnersCapitalUnitConversionRatio
Namespace Prefix: | lgn_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Payments For Tax Distributions + References No definition available. + Details
Name: | lgn_PaymentsForTaxDistributions
Namespace Prefix: | lgn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sale Of Stock, Number Of Shares Issued In Transaction, Exchanged Shares + References No definition available. + Details
Name: | lgn_SaleOfStockNumberOfSharesIssuedInTransactionExchangedShares
Namespace Prefix: | lgn_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sale Of Stock Option Period + References No definition available. + Details
Name: | lgn_SaleOfStockOptionPeriod
Namespace Prefix: | lgn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement By Share-based Payment Award, Maximum Purchase Value During Offering Period, Per Employee + References No definition available. + Details
Name: | lgn_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumPurchaseValueDuringOfferingPeriodPerEmployee
Namespace Prefix: | lgn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate number of common shares reserved for future issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of common units of ownership outstanding of a limited liability company (LLC). + References No definition available. + Details
Name: | us-gaap_CommonUnitOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByParent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Cash outflow to owners or shareholders, excluding ordinary dividends. Includes special dividends. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_PaymentsOfCapitalDistribution
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares issued for nonredeemable preferred shares and preferred shares redeemable solely at option of issuer. Includes, but is not limited to, preferred shares issued, repurchased, and held as treasury shares. Excludes preferred shares classified as debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 + Details
Name: | us-gaap_PreferredStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 + Details
Name: | us-gaap_PreferredStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-28 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 + Details
Name: | us-gaap_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The highest percentage of annual salary that an employee is permitted to utilize with respect to the plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Purchase price of common stock expressed as a percentage of its fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-4 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of the conversion of convertible securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=lgn_LGNAUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=lgn_LGNBUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=lgn_LegenceParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=lgn_SecondaryOfferingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_OverAllotmentOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=lgn_LegenceHoldingsLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |