Adjustments to reconcile net loss to net cash (used in) provided by operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Financial asset or liabilities transfer in and out Financial Assets Or Liabilities Transferred, Level 3 Financial asset or liabilities transfer in and out. Statistical Measurement Statistical Measurement [Domain] Related Party Transactions Related Party Transactions Disclosure [Text Block] Accumulated unrealized losses Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax Prepaid expenses Increase (Decrease) in Prepaid Expense Net realized gains on investment securities Realized Investment (Losses) Gains Realized Investment (Losses) Gains Issuance of common stock, net of early exercise liability Proceeds From Issuance Of Common Stock, Net Of Early Exercise Liability Proceeds From Issuance Of Common Stock, Net Of Early Exercise Liability Cover [Abstract] Cover [Abstract] Medical Records Exchange, LLC Medical Records Exchange, LLC [Member] Medical Records Exchange, LLC Net (decrease) increase in cash and cash equivalents Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect Other liabilities, current Other Liabilities, Current Trading Symbol Trading Symbol Ownership percentage Equity Method Investment, Ownership Percentage All Trading Arrangements All Trading Arrangements [Member] Compensation Actually Paid vs. Net Income Compensation Actually Paid vs. Net Income [Text Block] Non-NEOs Non-NEOs [Member] Schedule of Basic and Diluted Net Loss per Share Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Vesting period (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period Rule 10b5-1 Arrangement Adopted Rule 10b5-1 Arrangement Adopted [Flag] Awards Close in Time to MNPI Disclosures Awards Close in Time to MNPI Disclosures [Table] Liability for Unpaid Claims and Claims Adjustment Expense, Activity in Liability [Abstract] Liability for Unpaid Claims and Claims Adjustment Expense, Activity in Liability [Abstract] Schedule of Stock-Based Compensation Cost Share-Based Payment Arrangement, Cost by Plan [Table Text Block] Class A Common Stock Common Class A Common Class A [Member] Charter Bioscience Inc. Character Biosciences Inc [Member] Character Biosciences Inc Pay vs Performance Disclosure [Line Items] Peer Group Total Shareholder Return Amount Peer Group Total Shareholder Return Amount Short-term investments Short-Term Investments [Member] Healthcare receivables Increase (Decrease) in Accounts Receivable Debt Securities, Held-to-maturity, Maturity, Fair Value [Abstract] Debt Securities, Held-to-Maturity, Fair Value, Maturity [Abstract] Organization and Operations Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block] Other intangible assets Intangible Assets, Net (Including Goodwill) Non-Rule 10b5-1 Arrangement Adopted Non-Rule 10b5-1 Arrangement Adopted [Flag] Net loss from continuing operations Net loss from continuing operations attributable to common stockholders Income (Loss) from Continuing Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest Proceeds from maturities of short-term investments and available-for-sale securities Proceeds from maturities of investment securities Proceeds From Maturity Of Short-Term Investments And Debt Securities, Available-for-sale and Held-to-Maturity Proceeds From Maturity Of Short-Term Investments And Debt Securities, Available-for-Sale and Held-to-Maturity Conrad Wai [Member] Conrad Wai Proceeds from stock options exercised Proceeds from Stock Options Exercised Fair Value Measurements Fair Value Disclosures [Text Block] Restructuring and Related Activities [Abstract] Award Timing Disclosures [Line Items] Exercise price, percentage of fair value of common stock Share-based Compensation Arrangement by Share-based Payment Award, Exercise Price Cap, Percentage Of Fair Value Share-based Compensation Arrangement by Share-based Payment Award, Exercise Price Cap, Percentage Of Fair Value Investment, Name [Domain] Investment, Name [Domain] Insurance Operations Insurance Operations [Member] Insurance Operations Greater than 12 months, Fair Value Debt Securities Available for Sale and Held to Maturity Continuous Unrealized Loss Position 12 Months or Longer, Fair Value Debt Securities Available for Sale and Held to Maturity Continuous Unrealized Loss Position 12 Months or Longer, Fair Value Other Performance Measure, Amount Other Performance Measure, Amount Common stock, shares, outstanding (in shares) Beginning balance (in shares) Ending balance (in shares) Common Stock, Shares, Outstanding Class of Warrant or Right [Axis] Class of Warrant or Right [Axis] Number of shares available for issuance (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant Segment information Segment Reporting, Policy [Policy Text Block] Plan Name Plan Name [Domain] Capitalized software development costs - cloud computing arrangements Research, Development, and Computer Software, Policy [Policy Text Block] Other assets, non-current Other Assets, Noncurrent Entity Tax Identification Number Entity Tax Identification Number Treasury stock (in shares) Treasury Stock, Shares, Acquired Short-duration Insurance Contracts, Discounted Liabilities [Table] Short-Duration Insurance Contracts, Discounted Liabilities [Table] CarePoint Health Contract Care Point Health Contract [Member] CarePoint Health Contract Operating segments Operating Segments [Member] Insurance proceeds Litigation Settlement, Insurance Proceeds Litigation Settlement, Insurance Proceeds Net cash (used in) provided by operating activities Net Cash Provided by (Used in) Operating Activities 2014 Plan Two Thousand Fourteen Equity Incentive Plan [Member] 2014 Equity Incentive Plan member. Net proceeds from sale of stock Sale of Stock, Consideration Received on Transaction Cash flows from operating activities: Net Cash Provided by (Used in) Operating Activities [Abstract] Treasury Stock Treasury Stock, Common [Member] Insurance Segment Insurance [Member] Insurance Schedule of Weighted Average Grant Date Fair Value of Performance Restricted Stock Units Share-Based Payment Arrangement, Performance Shares, Outstanding Activity [Table Text Block] Continuing operations: Earnings Per Share Reconciliation [Abstract] Plan Name Plan Name [Axis] Prepaid expenses Prepaid Expense, Current Equity Components Equity Components [Axis] Other assets, current Other Assets, Current Award Timing Method Award Timing Method [Text Block] Greater than 12 months, Unrealized loss Debt Securities Available for Sale and Held to Maturity Continuous Unrealized Loss Position 12 Months or Longer Accumulated Loss Debt securities available for sale and held to maturity continuous unrealized loss position 12 months or longer accumulated loss. Total Debt Securities, Available-for-Sale, Maturity, Allocated and Single Maturity Date, Amortized Cost Trading Arrangements, by Individual Trading Arrangements, by Individual [Table] Fair value Debt securities Debt Securities, Available-for-Sale Amortized cost Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Insider Trading Policies and Procedures [Line Items] Use of estimates Use of Estimates, Policy [Policy Text Block] Numerator: Income (Loss) from Continuing Operations, Net of Tax, Attributable to Parent [Abstract] Adjustment to Compensation, Amount Adjustment to Compensation Amount Stock options, outstanding, intrinsic value (less than) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value Investments Investments [Domain] Compensation Amount Outstanding Recovery Compensation Amount Discontinued operations: Earnings Per Share, Diluted [Abstract] Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table [Member] Entity Small Business Entity Small Business Company Selected Measure Amount Company Selected Measure Amount Tabular List, Table Tabular List [Table Text Block] Deferred tax assets, net Deferred Tax Assets, Net Level 3 Fair Value, Inputs, Level 3 [Member] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Summary of Stock Option Activity Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items] Debt Securities, Available-for-sale, Amortized Cost [Abstract] Debt Securities, Available-for-Sale, Amortized Cost [Abstract] Weighted Average Weighted Average [Member] Repurchases of common stock Stock Repurchased During Period, Value Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table [Member] Debt Securities, Available-for-Sale [Line Items] Debt Securities, Available-for-Sale [Line Items] Total potentially dilutive shares excluded from computation of net loss per share (in shares) Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount Employee Benefit Plans Compensation and Employee Benefit Plans [Text Block] Prior years Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Prior Years Tranche one Share-Based Payment Arrangement, Tranche One [Member] Performance Restricted Stock Units Performance Restricted Stock Units [Member] Performance restricted stock units. Cash and cash equivalents, beginning of period Cash and cash equivalents, end of period Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents Unpaid claims Assumed Liability for Unpaid Claims and Claims Adjustment Expense 2020 Employee Stock Purchase Plan 2020 Employee Stock Purchase Plan [Member] 2020 Employee Stock Purchase Plan Current assets Assets, Current [Abstract] Consolidation Items [Axis] Consolidation Items [Axis] Healthcare receivables Receivable from Customer in Brokerage Treasury stock, shares held (in shares) Beginning balance (in shares) Ending balance (in shares) Treasury Stock, Common, Shares Forgone Recovery due to Disqualification of Tax Benefits, Amount Forgone Recovery due to Disqualification of Tax Benefits, Amount Product and Service [Domain] Product and Service [Domain] Employee Stock Option Share-Based Payment Arrangement, Option [Member] Debt Securities, Available-for-Sale [Table] Debt Securities, Available-for-Sale [Table] Vested (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value Fair Value Disclosures [Abstract] Fair Value Disclosures [Abstract] Prior years Prior Year Claims and Claims Adjustment Expense Outstanding stock, percentage Share-Based Compensation Arrangement by Share-Based Payment Award, Percentage of Outstanding Stock Share-Based Compensation Arrangement by Share-Based Payment Award, Percentage of Outstanding Stock Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Antidilutive Security, Excluded EPS Calculation [Table] Due after five years through ten years Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10 Comprehensive income (loss) Comprehensive Income (Loss), Net of Tax, Attributable to Parent Total unrealized losses Unrealized loss Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss) Second Private Capital Transaction Second Private Capital Transaction [Member] Second Private Capital Transaction Security Exchange Name Security Exchange Name Schedule of Amortized Cost and Fair Value of Debt Securities Investments Classified by Contractual Maturity Date [Table Text Block] Award Type Award Type [Axis] Corporate debt securities Corporate Debt Securities [Member] Exercised (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price Accounting Policies [Line Items] Accounting Policies [Line Items] Accounting Policies [Line Items] Change in accrued interest earned Increase (Decrease) in Accrued Interest Receivable, Net Number of shares Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Property and equipment, net Property, Plant and Equipment, Net Total liabilities Liabilities Dividend Restrictions Restrictions on Dividends, Loans and Advances [Text Block] Salaries and benefits Salaries and benefits Labor and Related Expense Stock options, exercisable, weighted average exercise price (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price Common stock, par value, (in dollars per share) Common Stock, Par or Stated Value Per Share Forgone Recovery, Explanation of Impracticability Forgone Recovery, Explanation of Impracticability [Text Block] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table] Net realized gains Realized Investment Gains (Losses) Expiration Date Trading Arrangement Expiration Date Cash flows from investing activities: Net Cash Provided by (Used in) Investing Activities [Abstract] Net cash (used in) provided by operating activities from continuing operations Net Cash Provided by (Used in) Operating Activities, Continuing Operations Total Shareholder Return Amount Total Shareholder Return Amount Common stock, shares, issued (in shares) Common Stock, Shares, Issued Due after ten years Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10 Entity [Domain] Entity [Domain] Equity Awards Adjustments, Footnote Equity Awards Adjustments, Footnote [Text Block] Shares Remaining Under Plans (in shares) Common Stock, Capital Shares Reserved for Future Issuance, Maximum Payouts Common Stock, Capital Shares Reserved for Future Issuance, Maximum Payouts Other income Other income Revenue Not from Contract with Customer, Other Due after one year through five years Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five Other assets, fair value Other Assets, Fair Value Disclosure Insider Trading Policies and Procedures Adopted Insider Trading Policies and Procedures Adopted [Flag] Stock issuance for exercise of stock options, net of early exercise liability (in shares) Exercised (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period Named Executive Officers, Footnote Named Executive Officers, Footnote [Text Block] Weighted-average exercise price Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract] Common stock, shares authorized (in shares) Common Stock, Shares Authorized Basis of presentation Basis of Accounting, Policy [Policy Text Block] Thyme Care, Inc. Thyme Care, Inc. [Member] Thyme Care, Inc. Net unrealized gain (loss) on available-for-sale investments Unrealized holdings gain on investment securities, available for sale OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax Diluted weighted average number of class A and class B common shares and common share equivalents outstanding (in shares) Weighted average number of common shares and common share equivalents outstanding, diluted (in shares) Weighted Average Number of Shares Outstanding, Diluted Private warrants Private Warrants [Member] Private Warrants Restructuring costs Restructuring Costs MNPI Disclosure Timed for Compensation Value MNPI Disclosure Timed for Compensation Value [Flag] Released (in shares) Share-Based Compensation Arrangement By Share-Based Payment Award, Equity Instruments Other Than Options, Released In Period Share-Based Compensation Arrangement By Share-Based Payment Award, Equity Instruments Other Than Options, Released In Period Debt Securities, Held-to-maturity, Allowance for Credit Loss [Table] Debt Securities, Held-to-Maturity, Allowance for Credit Loss [Table] Fair Value, Separate Account Investment [Table] Fair Value, Separate Account Investment [Table] Related party Related Party [Member] Due within one year Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One Maximum number of shares that may be purchased by any one participant (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Maximum Number of Shares Per Employee Granted (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross Proceeds from sales of short-term investments and available-for-sale securities Proceeds from sales of investment securities Proceeds From Sale Of Short-Term Investments And Available-For-Sale Securities Proceeds From Sale Of Short-Term Investments And Available-For-Sale Securities Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Shares Authorized Under Plans (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized Sale of Stock Sale of Stock [Domain] Pension Adjustments Prior Service Cost Pension Adjustments Prior Service Cost [Member] Document Fiscal Period Focus Document Fiscal Period Focus Penalties accrued Income Tax Examination, Penalties Accrued All Executive Categories All Executive Categories [Member] Employer matching contribution, percent of match Defined Contribution Plan, Employer Matching Contribution, Percent of Match Changed Peer Group, Footnote Changed Peer Group, Footnote [Text Block] Stock options, outstanding, weighted average remaining contractual term (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term Assets Assets [Abstract] Fair Value, by Balance Sheet Grouping [Table] Fair Value, by Balance Sheet Grouping [Table] Dividend yield Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate Investment securities, held-to-maturity Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss [Abstract] Document Type Document Type Employer maximum annual contributions per employee, percent Defined Contribution Plan, Maximum Annual Contributions Per Employee, Percent Vested restricted stock units Stock Issued During Period, Value, Restricted Stock Award, Gross Pension Benefits Adjustments, Footnote Pension Benefits Adjustments, Footnote [Text Block] Schedule of Segment Reporting Information, by Segment Schedule of Segment Reporting Information, by Segment [Table Text Block] Total Shareholder Return Vs Peer Group Total Shareholder Return Vs Peer Group [Text Block] Vested restricted stock units (in shares) Stock Issued During Period, Shares, Restricted Stock Award, Gross Less than 12 months, Number of positions Debt Securities Available for Sale and Held to Maturity Unrealized Loss Position Number of Positions Year One Debt Securities Available for Sale and Held to Maturity Unrealized Loss Position Number of Positions Year One Inducement Plan Inducement Plan [Member] Inducement Plan Debt Securities, Held-to-maturity, Maturity, Amortized Cost, Net [Abstract] Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity [Abstract] Stock options, exercisable, weighted average remaining contractual term (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term Total, Fair value Debt Securities Available for Sale and Held to Maturity Unrealized Loss Position, Fair Value Debt Securities Available for Sale and Held to Maturity Unrealized Loss Position, Fair Value Gross and net balance, beginning of period Gross and net balance, end of period Unpaid claims Liability for Unpaid Claims and Claims Adjustment Expense, Net Vested (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period Amortized cost Debt Securities, Available-for-Sale, Amortized Cost Jamie Reynoso [Member] Jamie Reynoso Accretion, net of amortization Depreciation, Amortization and Accretion, Net Risk-free interest rate Weighted-average risk-free interest rate Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate Maximum Maximum [Member] Investment securities, available-for-sale Debt Securities, Available-for-Sale [Abstract] Equity Valuation Assumption Difference, Footnote Equity Valuation Assumption Difference, Footnote [Text Block] Schedule of Activity in the Liability for Unpaid Claims and Claims Adjustment Expense Schedule of Liability for Unpaid Claims and Claims Adjustment Expense [Table Text Block] Investment Type Investment Type [Axis] Accounting Policies [Abstract] Accounting Policies [Abstract] Revenues: Revenues [Abstract] Current Fiscal Year End Date Current Fiscal Year End Date Statistical Measurement Statistical Measurement [Axis] PEO Name PEO Name Non-Rule 10b5-1 Arrangement Terminated Non-Rule 10b5-1 Arrangement Terminated [Flag] Non-PEO NEO Average Total Compensation Amount Non-PEO NEO Average Total Compensation Amount Vesting [Axis] Vesting [Axis] Deferred acquisition costs Deferred Policy Acquisition Costs, Policy [Policy Text Block] Award Type Award Type [Domain] Name Outstanding Recovery, Individual Name Investment securities, held-to-maturity (Fair value: 2025: $0; 2024: $15) Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss, Current Schedule of Antidilutive Securities Excluded from Diluted Net Loss Per Share Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block] Compensation Actually Paid vs. Company Selected Measure Compensation Actually Paid vs. Company Selected Measure [Text Block] Non-PEO NEO Non-PEO NEO [Member] Paid related to: Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid [Abstract] Fair value Investments, Fair Value Disclosure Additional paid-in capital Additional Paid-in Capital [Member] Award Timing Predetermined Award Timing Predetermined [Flag] Investment securities, held-to-maturity (Fair value: 2025: $14,011; 2024: $13,913) Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss, Noncurrent 2020 Plan 2020 Equity Incentive Plan [Member] 2020 Equity Incentive Plan [Member] Class of Stock [Line Items] Class of Stock [Line Items] Investment, Name [Axis] Investment, Name [Axis] Investment securities, available-for sale, amortized cost current Debt Securities, Available-for-Sale, Amortized Cost, Current Private Capital Transaction Private Capital Transaction [Member] Private Capital Transaction Recent accounting pronouncements New Accounting Pronouncements, Policy [Policy Text Block] Class of Stock Class of Stock [Axis] Counterparty Name [Domain] Counterparty Name [Domain] Name Measure Name Entity Interactive Data Current Entity Interactive Data Current Unpaid Claims Liability for Future Policy Benefits and Unpaid Claims Disclosure [Text Block] Restatement does not require Recovery Restatement Does Not Require Recovery [Text Block] Number of operating segments (in segments) Number of Operating Segments Number of positions eliminated as a percent Restructuring and Related Cost, Number of Positions Eliminated, Period Percent Released (in dollars per share) Share-Based Compensation Arrangement By Share-Based Payment Award, Equity Instruments Other Than Options, Released In Period, Weighted Average Grant Date Fair Value Share-Based Compensation Arrangement By Share-Based Payment Award, Equity Instruments Other Than Options, Released In Period, Weighted Average Grant Date Fair Value Net medical claims incurred Net medical claims incurred Policyholder Benefits and Claims Incurred, Net Employer matching contribution, percent of employees' gross pay Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay Schedule of Fair Value Measurements for Items Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block] Statement of Financial Position [Abstract] Statement of Financial Position [Abstract] Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Restructuring costs Restructuring and Related Activities Disclosure [Text Block] Fair Value, Separate Account Investment [Line Items] Fair Value, Separate Account Investment [Line Items] Stock-based compensation Share-Based Payment Arrangement, Noncash Expense Schedule of Share-Based Payment Arrangement Activity Share-Based Payment Arrangement, Activity [Table Text Block] Net loss Net loss Net Income (Loss), Including Portion Attributable to Noncontrolling Interest Tranche two Share-Based Payment Arrangement, Tranche Two [Member] Investment securities, available-for-sale (Amortized cost: 2025: $4,653; 2024: $27,153) Debt Securities, Available-for-Sale, Current Elimination of intersegment profits Revenue from Contract with Customer, Excluding Assessed Tax Other liabilities Increase (Decrease) in Other Noncurrent Liabilities Effective tax rate (as percent) Effective Income Tax Rate Reconciliation, Percent Net cash provided by investing activities Net Cash Provided by (Used in) Investing Activities Loss from continuing operations Operating Income (Loss) Deposits with various states and regulatory bodies Deposits Equity method of accounting and variable interest entities Equity Method Investments [Policy Text Block] Gross realized gains Short-Term Investments And Available-for-sale Securities, Gross Realized Gains Short-Term Investments And Available-for-sale Securities, Gross Realized Gains Number of reporting segments (in segments) Number of Reportable Segments Total liabilities and stockholders' equity Liabilities and Equity Rule 10b5-1 Arrangement Terminated Rule 10b5-1 Arrangement Terminated [Flag] All Adjustments to Compensation All Adjustments to Compensation [Member] Fair Value Hierarchy and NAV Fair Value Hierarchy and NAV [Axis] Ceded premiums Ceded Premiums Earned Due after one year through five years Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, after Year One through Five Additional paid-in capital Additional Paid in Capital Other general and administrative expenses General and Administrative Expense, Other General and Administrative Expense, Other Unpaid claims Increase (Decrease) In Unpaid Claims Increase decrease in unpaid claims. Commitments and Contingencies Disclosure [Abstract] Commitments and Contingencies Disclosure [Abstract] Net income from discontinued operations Net income from discontinued operations attributable to common stockholders Income (Loss) from Discontinued Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest Legal Entity [Axis] Legal Entity [Axis] Due within one year Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, Year One Investment securities Securities Investment [Member] Accrued retrospective premiums Increase (Decrease) in Unearned Premiums Underlying Security Market Price Change Underlying Security Market Price Change, Percent Individual: Individual [Axis] 2020 MIP 2020 Management Incentive Plan [Member] 2020 management incentive plan member Accumulated
other
comprehensive
loss AOCI Attributable to Parent [Member] Forfeited (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price Volume-weighted average stock closing price (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Volume-weighted Average Stock Closing price Share-based Compensation Arrangement by Share-based Payment Award, Volume-weighted Average Stock Closing price Expected term (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term U.S. government and government agencies and authorities US Government Agencies Debt Securities [Member] Basic earnings per share (in dollars per share) Basic earnings per share from discontinued operations (in dollars per share) Discontinued Operation, Income (Loss) from Discontinued Operation, Net of Tax, Per Basic Share Product and Service [Axis] Product and Service [Axis] Statement [Line Items] Statement [Line Items] Erroneous Compensation Analysis Erroneous Compensation Analysis [Text Block] Operating expenses: Operating Expenses [Abstract] Compensation Actually Paid vs. Total Shareholder Return Compensation Actually Paid vs. Total Shareholder Return [Text Block] Financial Instruments Financial Instruments [Domain] Vesting [Domain] Vesting [Domain] Outstanding at beginning of period (in dollars per share) Outstanding at end of period (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value Liabilities and Stockholders' Equity Liabilities and Equity [Abstract] Minimum Minimum [Member] Investment securities, held-to-maturity, fair value current Debt Securities, Held-to-Maturity, Fair Value, Current Restatement Determination Date Restatement Determination Date Investment income, net Net Investment Income Investment securities, available-for-sale (Amortized cost: 2025: $216,583; 2024: $203,147) Debt Securities, Available-for-Sale, Noncurrent Adoption Date Trading Arrangement Adoption Date Pay vs Performance Disclosure Pay vs Performance Disclosure [Table] Related Party Transactions [Abstract] Related Party Transactions [Abstract] Denominator: Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Parent [Abstract] Amortization expense of deferred acquisition costs Deferred Policy Acquisition Costs, Amortization Expense Outstanding at beginning of period (in dollars per share) Outstanding at end of period (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price Due after five years through ten years Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10 Erroneously Awarded Compensation Recovery Erroneously Awarded Compensation Recovery [Table] Outstanding at beginning of period (in shares) Outstanding at end of period (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number Segments [Axis] Segments [Axis] Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year [Member] Exercise Price Award Exercise Price Beginning balance Ending balance Financial Liabilities Fair Value Disclosure Net Loss per Share Earnings Per Share [Text Block] Arrangement Duration Trading Arrangement Duration Schedule of Assumptions Used in ESPP Fair Value Determination Schedule of Share-Based Payment Award, Employee Stock Purchase Plan, Valuation Assumptions [Table Text Block] Stock issuance for exercise of stock options, net of early exercise liability Stock Issued During Period, Value, Stock Options Exercised Basic loss per share (in dollars per share) Basic loss per share from continuing operations (in dollars per share) Income (Loss) from Continuing Operations, Per Basic Share Granted (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value Loss on investment Loss on investment Gain (loss) on investments Loss on investment Gain (Loss) on Investments Current year Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Current Year Amortized cost Investments Peer Group Issuers, Footnote Peer Group Issuers, Footnote [Text Block] Segments [Domain] Segments [Domain] Other Other Debt Obligations [Member] Material Terms of Trading Arrangement Material Terms of Trading Arrangement [Text Block] All Individuals All Individuals [Member] Short-duration Insurance Contracts, Discounted Liabilities [Line Items] Short-Duration Insurance Contracts, Discounted Liabilities [Line Items] Total, Unrealized Loss Debt Securities Available for Sale and Held to Maturity Unrealized Loss Position Accumulated Loss Debt securities available for sale and held to maturity unrealized loss position accumulated loss. PEO PEO [Member] Warrants Receivable Warrants Receivable [Member] Warrants Receivable Accumulated unrealized losses Debt Securities, Held-to-Maturity, Accumulated Unrecognized Loss Income Tax Disclosure [Abstract] Income Tax Disclosure [Abstract] Name Trading Arrangement, Individual Name Award fees and expenses Derivative Instruments , Award Fees and Expenses Derivative Instruments , Award Fees and Expenses Statement of Stockholders' Equity [Abstract] Statement of Stockholders' Equity [Abstract] Receivables [Abstract] Receivables [Abstract] Accumulated unrealized gains Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax Accrued salaries and benefits Increase (Decrease) in Accrued Salaries Shares Outstanding Under Plans (in shares) Share-Based Compensation Arrangement By Share-Based Payment Award, Number Of Shares Outstanding Share-Based Compensation Arrangement By Share-Based Payment Award, Number Of Shares Outstanding Investment securities, held-to-maturity, fair value noncurrent Debt Securities, Held-to-Maturity, Fair Value, Noncurrent Less: Treasury stock, at cost; 25,655,588 and 18,752,947 shares held at March 31, 2025 and December 31, 2024, respectively Treasury Stock, Common, Value Awards Close in Time to MNPI Disclosures, Table Awards Close in Time to MNPI Disclosures [Table Text Block] Incurred related to: Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims [Abstract] Other Other Level One Debt Securities [Member] Other Level One Debt Securities Maximum number of shares that may be purchased (in shares) Shares Remaining Under Plans (in shares) Common Stock, Capital Shares Reserved for Future Issuance Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year [Member] Related Party Related and Nonrelated Parties [Domain] Due after five years through ten years Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, after Year 5 through 10 Accounts payable and accrued expenses Accounts Payable and Accrued Liabilities, Current Aggregate Erroneous Compensation Amount Aggregate Erroneous Compensation Amount Diluted earnings per share (in dollars per share) Diluted earnings per share from discontinued operations (in dollars per share) Discontinued Operation, Income (Loss) from Discontinued Operation, Net of Tax, Per Diluted Share Liability Class Liability Class [Axis] Cash and cash equivalents Cash and Cash Equivalents, at Carrying Value, Including Discontinued Operations Aggregate Erroneous Compensation Not Yet Determined Aggregate Erroneous Compensation Not Yet Determined [Text Block] Held-to-maturity debt securities, allowance for credit loss Debt Securities, Held-to-Maturity, Allowance for Credit Loss Total operating expenses Operating Expenses Expected volatility Expected volatility Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate Schedule of Total RSU Activity Share-Based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block] Repurchases of common stock (in shares) Stock Repurchased During Period, Shares Other assets Increase (Decrease) in Other Operating Assets Changes in operating assets and liabilities: Increase (Decrease) in Operating Capital [Abstract] Available-for-sale debt securities, allowance for credit loss Debt Securities, Available-for-Sale, Allowance for Credit Loss Percentage of current year medical claims paid as a percent of current year net medical claims Ratio Of Current Year Medical Claims Paid As A Percent Of Current Year Net Medical Claims Ratio of current year medical claims paid as a percent of current year net medical claims. PEO Total Compensation Amount PEO Total Compensation Amount Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Total, Number of positions Debt Securities Available for Sale and Held to Maturity Unrealized Loss Position Number of Positions Debt securities available for sale and held to maturity unrealized loss position number of positions. Income Statement Location [Axis] Statement of Income Location, Balance [Axis] Schedule of Investment Securities Reconciliation Schedule Of Investment Securities Reconciliation [Table Text Block] Schedule Of Investment Securities Reconciliation Commitments and Contingencies Commitments and Contingencies Disclosure [Text Block] Common stock Common Stock [Member] Measure: Measure [Axis] Total held-to-maturity and available-for-sale investment securities Investments [Abstract] Forgone Recovery due to Expense of Enforcement, Amount Forgone Recovery due to Expense of Enforcement, Amount Schedule of Changes in Balances of Level 3 Financial Liabilities Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block] Revenue, Major Customer [Line Items] Revenue, Major Customer [Line Items] Entity Emerging Growth Company Entity Emerging Growth Company Segment Reporting [Abstract] Entity Central Index Key Entity Central Index Key General and administrative expense General and Administrative Expense [Member] Due within one year Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, Year One Equity Method Investments and Joint Ventures [Abstract] Non-GAAP Measure Description Non-GAAP Measure Description [Text Block] Gross realized losses Short-Term Investments And Available-for-sale Securities, Gross Realized Losses Short-Term Investments And Available-for-sale Securities, Gross Realized Losses Total incurred Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims Discontinued Operations and Disposal Groups [Abstract] Non-PEO NEO Average Compensation Actually Paid Amount Non-PEO NEO Average Compensation Actually Paid Amount Accounts payable and accrued expenses Increase (Decrease) in Accounts Payable and Accrued Liabilities Award Timing, How MNPI Considered Award Timing, How MNPI Considered [Text Block] Equity Component Equity Component [Domain] Financial Instrument Financial Instrument [Axis] Operating Segments Segment Reporting Disclosure [Text Block] Accounting Policies [Table] Accounting Policies [Table] Accounting Policies [Table] Treasury stock acquired Payments for Repurchase of Other Equity Less than 12 months, Unrealized loss Debt Securities Available for Sale and Held to Maturity Continuous Unrealized Loss Position Year One Accumulated Loss Debt Securities Available for Sale and Held to Maturity Continuous Unrealized Loss Position Year One Accumulated Loss Net cash used in operating activities from discontinued operations Cash Provided by (Used in) Operating Activities, Discontinued Operations Additional 402(v) Disclosure Additional 402(v) Disclosure [Text Block] Stock-based compensation APIC, Share-Based Payment Arrangement, Increase for Cost Recognition Entity Shell Company Entity Shell Company Entity Incorporation, State or Country Code Entity Incorporation, State or Country Code Contingent liabilities Loss Contingency, Loss in Period Class B Common Stock Common Class B Common Class B [Member] Title Trading Arrangement, Individual Title Statement [Table] Statement [Table] Counterparty Name [Axis] Counterparty Name [Axis] Summary of Significant Accounting Policies Significant Accounting Policies [Text Block] Unrecognized tax position Unrecognized Tax Benefits Consolidation Items [Domain] Consolidation Items [Domain] Current liabilities Liabilities, Current [Abstract] Insider Trading Policies and Procedures Not Adopted Insider Trading Policies and Procedures Not Adopted [Text Block] Level 1 Fair Value, Inputs, Level 1 [Member] Total current assets Assets, Current Statement of Cash Flows [Abstract] Statement of Cash Flows [Abstract] Preferred stock Preferred Stock [Member] Other salaries and benefits Salaries And Benefits, Other Salaries And Benefits, Other Repurchases of common stock Payments for Repurchase of Common Stock Stock options, exercisable, number (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number Schedule of Net Investment Income Investment Income [Table Text Block] Document Information [Line Items] Document Information [Line Items] Weighted-average grant date fair value per share Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract] Due after five years through ten years Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10 Total paid Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid Income Taxes Income Tax Disclosure [Text Block] Per share data: Earnings Per Share [Abstract] Earnings Per Share [Abstract] Stockholders' equity Equity [Abstract] Debt Securities, Available-for-sale, Fair Value, Fiscal Year Maturity [Abstract] Debt Securities, Available-for-Sale, Fair Value, Fiscal Year Maturity [Abstract] Accumulated deficit Retained Earnings (Accumulated Deficit) Due after ten years Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, after Year 10 Class of Stock Class of Stock [Domain] Related Party Transaction [Line Items] Related Party Transaction [Line Items] Accumulated unrealized gains Available for Sale Securities and Held to Maturity Securities Accumulated Gross Unrealized Gain Before Tax Available for sale securities and held to maturity securities accumulated gross unrealized gain before tax. General and administrative expenses General and administrative expenses General and Administrative Expense Organization, Consolidation and Presentation of Financial Statements [Abstract] Organization, Consolidation and Presentation of Financial Statements [Abstract] Aggregate Available Trading Arrangement, Securities Aggregate Available Amount Equity Awards Adjustments Equity Awards Adjustments [Member] Net cash used in financing activities Net Cash Provided by (Used in) Financing Activities Underlying Securities Award Underlying Securities Amount Investment Securities Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] Amendment Flag Amendment Flag Accrued retrospective premiums Accrued Retrospective Premiums Current Accrued retrospective premiums. Entity Registrant Name Entity Registrant Name Adjustment to Non-PEO NEO Compensation Footnote Adjustment to Non-PEO NEO Compensation Footnote [Text Block] Stock Appreciation Rights (SARs) Stock Appreciation Rights (SARs) [Member] Fair Value as of Grant Date Award Grant Date Fair Value Number of shares purchased (in shares) Sale of stock, number of shares issued in transaction (in shares) Sale of Stock, Number of Shares Issued in Transaction Level 2 Fair Value, Inputs, Level 2 [Member] Due within one year Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, Year One Fair Value Hierarchy and NAV Fair Value Hierarchy and NAV [Domain] Recovery of Erroneously Awarded Compensation Disclosure [Line Items] Restatement Determination Date: Restatement Determination Date [Axis] Common stock, value Common Stock, Value, Issued Share-based Payment Arrangement [Abstract] Share-Based Payment Arrangement [Abstract] Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward] Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward] Investment securities, available-for sale, amortized cost noncurrent Debt Securities, Available-for-Sale, Amortized Cost, Noncurrent Due after ten years Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10 Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested [Member] Employers matching contribution, vesting percentage Defined Contribution Plan, Employers Matching Contribution, Annual Vesting Percentage Forfeited (in dollars per share) Forfeited (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value Eligibility for vesting period (in days) Share-based Compensation Arrangement by Share-based Payment Award, Eligibility For Vesting Period Share-based Compensation Arrangement by Share-based Payment Award, Eligibility For Vesting Period Fair Value by Liability Class Fair Value by Liability Class [Domain] Cash flows from financing activities: Net Cash Provided by (Used in) Financing Activities [Abstract] Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested [Member] Number of stock options Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward] Employee Stock Employee Stock [Member] Depreciation and amortization Depreciation and amortization expense Depreciation, Depletion and Amortization, Nonproduction Cash and cash equivalents Cash and Cash Equivalents [Member] Adjustment To PEO Compensation, Footnote Adjustment To PEO Compensation, Footnote [Text Block] Award Timing MNPI Disclosure Award Timing MNPI Disclosure [Text Block] Expiration period (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period 2020 Equity and Management Incentive Plan Two Thousand Twenty Equity And Management Incentive Plan [Member] Two thousand twenty equity and management incentive plan. Equity interest percentage (less than) Equity Ownership Interest, Percentage Equity Ownership Interest, Percentage Aggregate Pension Adjustments Service Cost Aggregate Pension Adjustments Service Cost [Member] Compensation Actually Paid vs. Other Measure Compensation Actually Paid vs. Other Measure [Text Block] Maximum common stock reserved, threshold percentage Common Stock, Capital Shares Reserved For Future Issuance, Threshold Percentage Common Stock, Capital Shares Reserved For Future Issuance, Threshold Percentage Schedule of Gross Unrealized Losses and Fair Value for Fixed Maturities in a Continuous Unrealized Loss Position Debt Securities, Available-for-Sale, Unrealized Loss Position, Fair Value [Table Text Block] Schedule of Stock by Class [Table] Stock, Class of Stock [Table] Total current liabilities Liabilities, Current Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year [Member] Unvested stock options, unrecognized stock-based compensation Share-Based Payment Arrangement, Nonvested Award, Option, Cost Not yet Recognized, Amount Total assets Total Assets Assets Granted (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period U.S. government and government agencies and authorities U.S. government and government agencies US Treasury and Government [Member] Purchases of property and equipment Payments to Acquire Property, Plant, and Equipment Other liabilities, non-current Other Liabilities, Noncurrent Forgone Recovery due to Violation of Home Country Law, Amount Forgone Recovery due to Violation of Home Country Law, Amount Fair value Total Debt Securities, Held-to-Maturity, Fair Value Commitments and Contingencies (Note 12) Commitments and Contingencies Variable Interest Entity and Equity Method of Accounting Equity Method Investments and Joint Ventures Disclosure [Text Block] Termination Date Trading Arrangement Termination Date Title of 12(g) Security Title of 12(g) Security Class of Warrant or Right [Domain] Class of Warrant or Right [Domain] Schedule of Related Party Transactions, by Related Party [Table] Related Party Transaction [Table] Total revenues Revenues Other liabilities Other Liabilities Debt Securities, Held-to-maturity, Allowance for Credit Loss [Line Items] Debt Securities, Held-to-Maturity, Allowance for Credit Loss [Line Items] Disclosure of Restrictions on Dividends, Loans and Advances Disclosure [Abstract] Disclosure of Restrictions on Dividends, Loans and Advances Disclosure [Abstract] Due after one year through five years Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five Schedule of Stock Option Activity Share-Based Payment Arrangement, Option, Activity [Table Text Block] Options to purchase common stock Options To Purchase Common Stock [Member] Options To Purchase Common Stock. Employee discount percentage Defined Contribution Plan, Employee Discount, Percent Defined Contribution Plan, Employee Discount, Percent Stock options Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value Share-Based Payment Arrangement, Expense Share-Based Payment Arrangement, Expense Discontinued Operations Disposal Groups, Including Discontinued Operations, Disclosure [Text Block] Net loss Net Income (Loss) Attributable to Parent Trading Arrangement: Trading Arrangement [Axis] Investments, Debt and Equity Securities [Abstract] Investments, Debt and Equity Securities [Abstract] Granted (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price Pay vs Performance Disclosure, Table Pay vs Performance [Table Text Block] Employer discretionary contribution amount Defined Contribution Plan, Employer Discretionary Contribution Amount Forfeited (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period Accumulated unrealized gains Debt Securities, Held-to-Maturity, Accumulated Unrecognized Gain Equity Awards Adjustments, Excluding Value Reported in Compensation Table Equity Awards Adjustments, Excluding Value Reported in the Compensation Table [Member] Due after ten years Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 10 Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year [Member] Entity File Number Entity File Number Schedule of Realized Gain (Loss) on Investment Securities Realized Gain (Loss) on Investments [Table Text Block] Document Fiscal Year Focus Document Fiscal Year Focus Total Debt Securities, Available-for-Sale, Maturity, Allocated and Single Maturity Date, Fair Value Income Statement [Abstract] Income Statement [Abstract] Treasury stock Treasury Stock, Value, Acquired, Cost Method Total assets at fair value Assets, Fair Value Disclosure Name Forgone Recovery, Individual Name Stock options, exercisable, intrinsic value (less than) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value Document Period End Date Document Period End Date Sale of Stock Sale of Stock [Axis] Award Timing MNPI Considered Award Timing MNPI Considered [Flag] Healthcare Receivables Account Receivables [Text Block] Account Receivables Beginning balance (in shares) Ending balance (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number Insider Trading Arrangements [Line Items] Schedule of Total Performance Restricted Stock Units Share-Based Payment Arrangement, Performance Shares, Activity [Table Text Block] Outstanding Aggregate Erroneous Compensation Amount Outstanding Aggregate Erroneous Compensation Amount Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] PEO Actually Paid Compensation Amount PEO Actually Paid Compensation Amount Greater than 12 months, Number of positions Debt Securities Available for Sale and Held to Maturity Unrealized Loss Position Number of Positions 12 Months Or Longer Debt Securities Available for Sale and Held to Maturity Unrealized Loss Position Number of Positions 12 Months Or Longer Diluted loss per share (in dollars per share) Diluted loss per share from continuing operations (in dollars per share) Income (Loss) from Continuing Operations, Per Diluted Share Less than 12 months, Fair value Debt Securities Available for Sale and Held to Maturity Continuous Unrealized Loss Position Year One, Fair Value Debt Securities Available for Sale and Held to Maturity Continuous Unrealized Loss Position Year One, Fair Value Warrants receivable Warrants and Rights Outstanding Adjustment to Compensation: Adjustment to Compensation [Axis] Reclassifications Reclassification, Comparability Adjustment [Policy Text Block] Document Transition Report Document Transition Report Schedule of Revenue by Major Customers, by Reporting Segments [Table] Schedule of Revenue by Major Customers, by Reporting Segments [Table] Document Quarterly Report Document Quarterly Report Current year Current Year Claims and Claims Adjustment Expense Accumulated unrealized losses Available for sale Securities and Held to Maturity Securities Accumulated Gross Unrealized Loss before Tax Available for sale securities and held to maturity securities accumulated gross unrealized loss before tax. Due after one year through five years Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year One Through Five Accumulated other comprehensive loss Accumulated Other Comprehensive Income (Loss), Net of Tax Entity Current Reporting Status Entity Current Reporting Status Accumulated
deficit Retained Earnings [Member] Pension Adjustments Service Cost Pension Adjustments Service Cost [Member] Related Party Related and Nonrelated Parties [Axis] Basic weighted average number of class A and class B common shares and common share equivalents outstanding (in shares) Weighted average number of common shares and common share equivalents outstanding, basic (in shares) Weighted Average Number of Shares Outstanding, Basic Stock Price or TSR Estimation Method Stock Price or TSR Estimation Method [Text Block] Premiums earned, net (Net of ceded premiums of $95 and $101 for the three months ended March 31, 2025 and 2024 respectively) Premiums earned, net (net of ceded premiums) Premiums Earned, Net Document Information [Table] Document Information [Table] Total stockholders' equity Beginning balance Ending balance Equity, Including Portion Attributable to Noncontrolling Interest (RSUs) Restricted Stock Units (RSUs) [Member] Increase (Decrease) in Stockholders' Equity [Roll Forward] Increase (Decrease) in Stockholders' Equity [Roll Forward] Executive Category: Executive Category [Axis] Purchases of short-term investments, available-for-sale, and held-to-maturity securities Payments to Acquire Investments Name Awards Close in Time to MNPI Disclosures, Individual Name Forfeited (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures in Period Litigation settlement, amount awarded from other party Litigation Settlement, Amount Awarded from Other Party Entity Filer Category Entity Filer Category Income Statement Location [Domain] Statement of Income Location, Balance [Domain] Accrued salaries and benefits Accrued Salaries Company Selected Measure Name Company Selected Measure Name