Trading Arrangements, by Individual Trading Arrangements, by Individual [Table] Trading Arrangement: Trading Arrangement [Axis] Maximum Maximum [Member] Master Services Agreement Master Services Agreement [Member] Master Services Agreement Statistical Measurement Statistical Measurement [Domain] Net of ceded premiums Ceded Premiums Earned Subsequent Event Subsequent Event [Member] Debt Securities, Available-for-Sale [Table] Debt Securities, Available-for-Sale [Table] Document Fiscal Year Focus Document Fiscal Year Focus 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 Adjustment to Compensation, Amount Adjustment to Compensation Amount Medical Records Exchange, LLC Medical Records Exchange, LLC [Member] Medical Records Exchange, LLC Financial Instrument Financial Instrument [Axis] Number of shares Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Other assets, fair value Other Assets, Fair Value Disclosure Segment Reporting [Abstract] Liability for Unpaid Claims and Claims Adjustment Expense, Activity in Liability [Abstract] Liability for Unpaid Claims and Claims Adjustment Expense, Activity in Liability [Abstract] Deposits with various states and regulatory bodies Deposits Common stock, value Common Stock, Value, Issued Accretion, net of amortization Depreciation, Amortization and Accretion, Net Accrued retrospective premiums Increase (Decrease) in Unearned Premiums Restatement Determination Date Restatement Determination Date Character Bioscience Inc. Character Biosciences Inc [Member] Character Biosciences Inc U.S. government and government agencies and authorities U.S. government and government agencies US Treasury and Government [Member] Amendment Flag Amendment Flag Current liabilities: Liabilities, Current [Abstract] Other income Revenue Not from Contract with Customer, Other Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Investment securities Securities Investment [Member] Number of additional complaints Litigation, Number Of Additional Complaints Litigation, Number Of Additional Complaints Investment income, net Net Investment Income 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 Change in fair value of warrants Change in fair value of warrants Fair Value Adjustment of Warrants Accumulated unrealized losses Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax Loss Contingencies [Table] Loss Contingencies [Table] 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 Investments Investments [Domain] Related Party Transactions Related Party Transactions Disclosure [Text Block] Short-duration Insurance Contracts, Discounted Liabilities [Table] Short-Duration Insurance Contracts, Discounted Liabilities [Table] Adjustment to Non-PEO NEO Compensation Footnote Adjustment to Non-PEO NEO Compensation Footnote [Text Block] Granted (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross PEO Total Compensation Amount PEO Total Compensation Amount Common stock, par value (in dollars per share) Common Stock, Par or Stated Value Per Share Beginning balance (in shares) Ending balance (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number Basic weighted average number of class A and class B common shares and common share equivalents outstanding (in shares) Basic weighted average number of common shares and common share equivalents outstanding (in shares) Weighted Average Number of Shares Outstanding, Basic Schedule of Share-Based Payment Arrangement Activity Share-Based Payment Arrangement, Activity [Table Text Block] Outstanding Aggregate Erroneous Compensation Amount Outstanding Aggregate Erroneous Compensation Amount Fair Value, by Balance Sheet Grouping [Table] Fair Value, by Balance Sheet Grouping [Table] Loss Contingencies [Line Items] Loss Contingencies [Line Items] Number of reportable segments Number of Reportable Segments Total current liabilities Liabilities, Current 2014 Equity Incentive Plan ("2014 Plan") Two Thousand Fourteen Equity Incentive Plan [Member] 2014 Equity Incentive Plan member. Accrued salaries and benefits Increase (Decrease) in Accrued Salaries Total held-to-maturity and available-for-sale investment securities Investments [Abstract] 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 Change in accrued interest earned Increase (Decrease) in Accrued Interest Receivable, Net 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. Granted (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period 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] Receivables [Abstract] Receivables [Abstract] Statement of Financial Position [Abstract] Statement of Financial Position [Abstract] Document Information [Line Items] Document Information [Line Items] Award Timing MNPI Disclosure Award Timing MNPI Disclosure [Text Block] Vested (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period Basis of presentation Basis of Accounting, Policy [Policy Text Block] Class of Stock Class of Stock [Axis] Peer Group Total Shareholder Return Amount Peer Group Total Shareholder Return Amount Guidehealth LLC Guidehealth LLC [Member] Guidehealth LLC Incurred related to: Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims [Abstract] Cash paid for shares withheld related to stock-based compensation Cash Paid For Shares Withheld Related To Stock-Based Compensation Cash Paid For Shares Withheld Related To Stock-Based Compensation Level 2 Fair Value, Inputs, Level 2 [Member] Total Shareholder Return Vs Peer Group Total Shareholder Return Vs Peer Group [Text Block] Non-Rule 10b5-1 Arrangement Terminated Non-Rule 10b5-1 Arrangement Terminated [Flag] Subsequent Event Type [Axis] Subsequent Event Type [Axis] Vested restricted stock units (in shares) Stock Issued During Period, Shares, Restricted Stock Award, Gross Recent accounting pronouncements New Accounting Pronouncements, Policy [Policy Text Block] Summary of Segment Reporting Segment Reporting [Table Text Block] Performance Restricted Stock Units ("PRSUs") Performance Restricted Stock Units [Member] Performance restricted stock units. Use of estimates Use of Estimates, Policy [Policy Text Block] Employer discretionary contribution amount Defined Contribution Plan, Employer Discretionary Contribution Amount Short-duration Insurance Contracts, Discounted Liabilities [Line Items] Short-Duration Insurance Contracts, Discounted Liabilities [Line Items] Related Party Related and Nonrelated Parties [Axis] Schedule of Changes in Balances of Level 3 Financial Liabilities Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block] 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 Document Period End Date Document Period End Date Changes in operating assets and liabilities: Adjustment to Reconcile Net Income to Cash Provided by (Used in) Operating Activity, Increase (Decrease) in Operating Capital [Abstract] Net cash (used in) provided by investing activities Cash Provided by (Used in) Investing Activity, Including Discontinued Operation Equity Awards Adjustments, Excluding Value Reported in Compensation Table Equity Awards Adjustments, Excluding Value Reported in the Compensation Table [Member] Unrecognized tax position Unrecognized Tax Benefits 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 Security Exchange Name Security Exchange Name Less: Treasury stock, at cost; 35,782,658 and 33,412,273 shares held at June 30, 2026 and December 31, 2025, respectively Treasury Stock, Common, Value Granted (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price Due after ten years Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 10 Accumulated other comprehensive (loss) income Accumulated Other Comprehensive Income (Loss), Net of Tax Entity Shell Company Entity Shell Company Class B Common Stock Common Class B Common Class B [Member] Consolidation Items [Domain] Consolidation Items [Domain] Second Private Capital Transaction Second Private Capital Transaction [Member] Second Private Capital Transaction 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 Shares authorized under plans (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized Earnings (Loss) per Share Earnings Per Share [Text Block] Name Outstanding Recovery, Individual Name Per share data: Earnings Per Share [Abstract] Earnings Per Share [Abstract] Award Timing, How MNPI Considered Award Timing, How MNPI Considered [Text Block] Document Fiscal Period Focus Document Fiscal Period Focus Peer Group Issuers, Footnote Peer Group Issuers, Footnote [Text Block] Due within one year Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, Year One Total liabilities Liabilities Trading Symbol Trading Symbol Debt Securities, Held-to-maturity, Maturity, Amortized Cost, Net [Abstract] Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity [Abstract] Purchases of property and equipment Payments to Acquire Property, Plant, and Equipment 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] Pension Adjustments Prior Service Cost Pension Adjustments Prior Service Cost [Member] Unvested stock options, unrecognized stock-based compensation Share-Based Payment Arrangement, Nonvested Award, Option, Cost Not yet Recognized, Amount Employer matching contribution, percent of employees' gross pay Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay Held-to-maturity debt securities, allowance for credit loss Debt Securities, Held-to-Maturity, Allowance for Credit Loss Company Selected Measure Name Company Selected Measure Name Sale of Stock Sale of Stock [Domain] Income Tax Disclosure [Abstract] Income Tax Disclosure [Abstract] Due within one year Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, Year One Net unrealized (loss) gain on available-for-sale investments Unrealized holdings (loss) gain on investment securities, available for sale OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax 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 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 Asset Class [Domain] Asset Class [Domain] Depreciation and amortization Depreciation and amortization expense Depreciation and amortization Depreciation, Depletion and Amortization, Nonproduction Related Party Transactions [Abstract] Related Party Transactions [Abstract] Cash flows from operating activities: Cash Provided by (Used in) Operating Activity, Including Discontinued Operation [Abstract] Compensation Amount Outstanding Recovery Compensation Amount Individual: Individual [Axis] Diluted weighted average number of class A and class B common shares and common share equivalents outstanding (in shares) Diluted weighted average number of class A and class B common shares and common share equivalents outstanding (in shares) Weighted Average Number of Shares Outstanding, Diluted Numerator: Income (Loss) from Continuing Operations, Net of Tax, Attributable to Parent [Abstract] Entity Emerging Growth Company Entity Emerging Growth Company Equity Valuation Assumption Difference, Footnote Equity Valuation Assumption Difference, Footnote [Text Block] Related Party Transaction [Line Items] Related Party Transaction [Line Items] Underlying Security Market Price Change Underlying Security Market Price Change, Percent Schedule of Net Investment Income Investment Income [Table Text Block] Accumulated unrealized losses Debt Securities, Held-to-Maturity, Accumulated Unrecognized Loss Thyme Care, Inc. Thyme Care, Inc. [Member] Thyme Care, Inc. Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table] 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 Award Timing Predetermined Award Timing Predetermined [Flag] Treasury Stock Treasury Stock, Common [Member] Stock options Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value Debt Securities, Available-for-Sale [Line Items] Debt Securities, Available-for-Sale [Line Items] Adjustment To PEO Compensation, Footnote Adjustment To PEO Compensation, Footnote [Text Block] Stock-based compensation APIC, Share-Based Payment Arrangement, Increase for Cost Recognition Net medical claims incurred Net medical claims incurred Policyholder Benefits and Claims Incurred, Net Level 1 Fair Value, Inputs, Level 1 [Member] 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 2022 Inducement Award Plan ("Inducement Plan") 2022 Inducement Award Plan [Member] 2022 Inducement Award Plan Healthcare receivables Receivable from Customer in Brokerage Effective tax rate (as a percent) Effective Income Tax Rate Reconciliation, Percent Investment securities, held-to-maturity (Fair value: 2026: $2,021; 2025: $1,779) Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss, Current Organization, Consolidation and Presentation of Financial Statements [Abstract] Organization, Consolidation and Presentation of Financial Statements [Abstract] Dilutive shares (in shares) Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements Investment securities, available-for-sale: Debt Securities, Available-for-Sale [Abstract] 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 Net income (loss) Net income (loss) Income (Loss) from Continuing Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest 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 All Executive Categories All Executive Categories [Member] Employer matching contribution, percent of match Defined Contribution Plan, Employer Matching Contribution, Percent of Match Pension Adjustments Service Cost Pension Adjustments Service Cost [Member] Plan Name Plan Name [Domain] Total Debt Securities, Available-for-Sale, Maturity, Allocated and Single Maturity Date, Amortized Cost 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 Investment securities, available-for sale, amortized cost noncurrent Debt Securities, Available-for-Sale, Amortized Cost, Noncurrent Accrued salaries and benefits Accrued Salaries Fair Value, Separate Account Investment [Line Items] Fair Value, Separate Account Investment [Line Items] Paid related to: Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid [Abstract] 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 Due within one year Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, Year One 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 Schedule of Basic and Diluted Earnings (Loss) Per Share Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Fair Value Disclosures [Abstract] Fair Value Disclosures [Abstract] Operating Segments Segment Reporting [Text Block] Investment Securities Investment in Debt and Equity Securities and Other Trading Assets [Text Block] Minimum Minimum [Member] Investment Type Investment Type [Axis] Expiration Date Trading Arrangement Expiration Date Fair value Investments, Fair Value Disclosure Accumulated unrealized gains Debt Securities, Held-to-Maturity, Accumulated Unrecognized Gain Non-Rule 10b5-1 Arrangement Adopted Non-Rule 10b5-1 Arrangement Adopted [Flag] 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 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] Other liabilities Other Liabilities Stock options, exercisable, number (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number Aggregate Pension Adjustments Service Cost Aggregate Pension Adjustments Service Cost [Member] GoldenScript GoldenScript [Member] GoldenScript Issuance of common stock under employee stock purchase plan, net of stock issuance costs Proceeds from Issuance of Common Stock Common stock, shares authorized (in shares) Common Stock, Shares Authorized Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Antidilutive Security, Excluded EPS Calculation [Table] 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 Schedule of Total RSU Activity Share-Based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block] Due after ten years Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10 Exercise Price Award Exercise Price Cash flows from investing activities: Cash Provided by (Used in) Investing Activity, Including Discontinued Operation [Abstract] Related Party Transaction [Axis] Related Party Transaction [Axis] Fair Value, Separate Account Investment [Table] Fair Value, Separate Account Investment [Table] Document Quarterly Report Document Quarterly Report 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] Segments [Domain] Segments [Domain] Cash and cash equivalents Cash and Cash Equivalents, at Carrying Value, Including Discontinued Operations Employee Benefit Plans Compensation and Employee Benefit Plans [Text Block] 2020 Equity Incentive Plan ("2020 Plan") 2020 Equity Incentive Plan [Member] 2020 Equity Incentive Plan [Member] Prior years Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Prior Years Private Capital Transaction Private Capital Transaction [Member] Private Capital Transaction Awards Close in Time to MNPI Disclosures, Table Awards Close in Time to MNPI Disclosures [Table Text Block] Equity Component Equity Component [Domain] Investment securities, available-for sale, amortized cost current Debt Securities, Available-for-Sale, Amortized Cost, Current Unpaid claims Assumed Liability for Unpaid Claims and Claims Adjustment Expense PEO Actually Paid Compensation Amount PEO Actually Paid Compensation Amount Debt Securities, Available-for-sale, Fair Value, Fiscal Year Maturity [Abstract] Debt Securities, Available-for-Sale, Fair Value, Fiscal Year Maturity [Abstract] Net proceeds from sale of stock Sale of Stock, Consideration Received on Transaction Adoption Date Trading Arrangement Adoption Date 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 Counterparty Name [Domain] Counterparty Name [Domain] Total stockholders' equity Beginning balance Ending balance Equity, Attributable to Parent Beginning balance Ending balance Financial Assets, Fair Value Disclosure Financial Assets, Fair Value Disclosure Assets Assets [Abstract] Title Trading Arrangement, Individual Title Forgone Recovery due to Disqualification of Tax Benefits, Amount Forgone Recovery due to Disqualification of Tax Benefits, Amount Debt Securities, Held-to-maturity, Allowance for Credit Loss [Line Items] Debt Securities, Held-to-Maturity, Allowance for Credit Loss [Line Items] Amortized cost Debt Securities, Available-for-Sale, Amortized Cost Accounting Policies [Abstract] Accounting Policies [Abstract] Restatement does not require Recovery Restatement Does Not Require Recovery [Text Block] Weighted-average risk-free interest rate Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate Insider Trading Policies and Procedures [Line Items] 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 Fair value Total Debt Securities, Held-to-Maturity, Fair Value Insider Trading Policies and Procedures Adopted Insider Trading Policies and Procedures Adopted [Flag] 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] Current year Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Current Year Total incurred Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Customer, Extent of Reliance [Table] Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Customer, Extent of Reliance [Table] Commitments and Contingencies Commitments and Contingencies Disclosure [Text Block] Compensation Actually Paid vs. Net Income Compensation Actually Paid vs. Net Income [Text Block] Total potentially dilutive shares excluded from computation of net loss per share (in shares) Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 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] Restricted Stock Units ("RSUs") RSU Restricted Stock Units (RSUs) [Member] Entity Central Index Key Entity Central Index Key Weighted-average Weighted Average [Member] Change in fair value of warrants and amortization of warrants Increase Decrease In Fair Value Adjustment Of Warrants Increase decrease in fair value adjustment of warrants. All Adjustments to Compensation All Adjustments to Compensation [Member] Stockholders' equity: Equity [Abstract] 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] Net cash provided by (used in) operating activities Cash Provided by (Used in) Operating Activity, Including Discontinued Operation 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 Prior years Prior Year Claims and Claims Adjustment Expense General and administrative expenses General and Administrative Expense, Other General and Administrative Expense, Other Income Statement [Abstract] Income Statement [Abstract] Document Transition Report Document Transition Report Ownership [Axis] Ownership [Axis] Unpaid claims Increase (Decrease) In Unpaid Claims Increase decrease in unpaid claims. Fair Value Hierarchy and NAV Fair Value Hierarchy and NAV [Axis] Investment, Name [Axis] Investment, Name [Axis] Operating expenses: Operating Expenses [Abstract] Stock Appreciation Rights (SARs) Stock Appreciation Rights (SARs) [Member] Number of stock options Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward] 2020 Management Incentive Plan ("2020 MIP") 2020 Management Incentive Plan [Member] 2020 management incentive plan member Accumulated
other
comprehensive (loss) income AOCI Attributable to Parent [Member] Document Information [Table] Document Information [Table] All Individuals All Individuals [Member] 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 Name Forgone Recovery, Individual Name Schedule of Realized Gain (Loss) on Investment Securities Realized Gain (Loss) on Investments [Table Text Block] Denominator: Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Parent [Abstract] Non-GAAP Measure Description Non-GAAP Measure Description [Text Block] 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] Employers matching contribution, vesting percentage Defined Contribution Plan, Employers Matching Contribution, Annual Vesting Percentage Statement [Line Items] Statement [Line Items] Total assets Assets Entity [Domain] Entity [Domain] Shares remaining under plans (in shares) Common Stock, Capital Shares Reserved for Future Issuance Schedule of Assumptions Used in ESPP Fair Value Determination Schedule of Share-Based Payment Award, Employee Stock Purchase Plan, Valuation Assumptions [Table Text Block] Insurance segment Insurance Segment [Member] Insurance Segment Operating segments Operating Segments [Member] Accumulated unrealized gains Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax Issuance of common stock under employee stock purchase plan Stock Issued During Period, Value, Employee Stock Purchase Plan Other assets Increase (Decrease) in Other Operating Assets PEO PEO [Member] Prepaid expenses Increase (Decrease) in Prepaid Expense Stock-based compensation expense Share-Based Payment Arrangement, Expense Andrew Toy [Member] Andrew Toy 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 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 Amortized cost Investments 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 Due within one year Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One Subsequent Event Type [Domain] Subsequent Event Type [Domain] Accumulated
deficit Retained Earnings [Member] Total operating expenses Operating Expenses 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 Erroneously Awarded Compensation Recovery Erroneously Awarded Compensation Recovery [Table] Forfeited (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures in Period Increase (Decrease) in Stockholders' Equity [Roll Forward] Increase (Decrease) in Stockholders' Equity [Roll Forward] Common stock, shares, outstanding (in shares) Beginning balance (in shares) Ending balance (in shares) Common Stock, Shares, Outstanding Award Timing Disclosures [Line Items] Corporate debt securities Corporate Debt Securities [Member] Diluted earnings (loss) per share (in dollars per share) Earnings Per Share, Diluted Entity Current Reporting Status Entity Current Reporting Status Net cash used in financing activities Cash Provided by (Used in) Financing Activity, Including Discontinued Operation Total Shareholder Return Amount Total Shareholder Return Amount Shares withheld for taxes on equity awards Share-Based Payment Arrangement, Decrease for Tax Withholding Obligation Unrealized gains (losses) Unrealized Gain (Loss) on Investments Ownership [Domain] Ownership [Domain] Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities: Adjustment to Reconcile Net Income to Cash Provided by (Used in) Operating Activity [Abstract] Share-based Payment Arrangement [Abstract] Share-Based Payment Arrangement [Abstract] Elimination of intersegment profits Revenue from Contract with Customer, Excluding Assessed Tax Cash flows from financing activities: Cash Provided by (Used in) Financing Activity, Including Discontinued Operation [Abstract] Property and equipment, net Property, Plant, and Equipment, after Accumulated Depreciation, Depletion, and Amortization 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. Debt Securities, Held-to-maturity, Allowance for Credit Loss [Table] Debt Securities, Held-to-Maturity, Allowance for Credit Loss [Table] Financial Instruments Financial Instruments [Domain] Repurchases of common stock Stock Repurchased During Period, Value Stock issuance for exercise of stock options, net of early exercise liability Stock Issued During Period, Value, Stock Options Exercised Equity Awards Adjustments, Footnote Equity Awards Adjustments, Footnote [Text Block] Underlying Securities Award Underlying Securities Amount 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 Prepaid expenses Prepaid Expense, Current Sales Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales Investment securities, held-to-maturity: Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss [Abstract] Forfeited (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price Preferred stock Preferred Stock [Member] Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Customer, Extent of Reliance [Line Items] Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Customer, Extent of Reliance [Line Items] Other Other Level One Debt Securities [Member] Other Level One Debt Securities Number of shares available for issuance (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant Schedule of Related Party Transactions, by Related Party [Table] Related Party Transaction [Table] Sale of Stock Sale of Stock [Axis] Dividend Restrictions Restrictions on Dividends, Loans and Advances [Text Block] Other assets, current Other Assets, Current Commitments and Contingencies Disclosure [Abstract] Commitments and Contingencies Disclosure [Abstract] All Trading Arrangements All Trading Arrangements [Member] Other Performance Measure, Amount Other Performance Measure, Amount Award Timing MNPI Considered Award Timing MNPI Considered [Flag] Income (loss) from operations Operating Income (Loss) Current Fiscal Year End Date Current Fiscal Year End Date Amortized cost Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss Non-PEO NEO Average Total Compensation Amount Non-PEO NEO Average Total Compensation Amount Related Party Transaction [Domain] Related Party Transaction [Domain] Investment securities, held-to-maturity, fair value current Debt Securities, Held-to-Maturity, Fair Value, Current Repurchases of common stock (in shares) Stock Repurchased During Period, Shares 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. 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] Entity File Number Entity File Number Rule 10b5-1 Arrangement Adopted Rule 10b5-1 Arrangement Adopted [Flag] Fair value of the investment Investment Owned, Fair Value 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. Schedule of Amortized Cost and Fair Value of Debt Securities Investments Classified by Contractual Maturity Date [Table 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] Schedule of Stock Option Activity Share-Based Payment Arrangement, Option, Activity [Table Text Block] Weighted-average exercise price Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract] Recovery of Erroneously Awarded Compensation Disclosure [Line Items] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Common stock, shares, issued (in shares) Common Stock, Shares, Issued Measure: Measure [Axis] Schedule of Investment Securities Reconciliation Schedule Of Investment Securities Reconciliation [Table Text Block] Schedule Of Investment Securities Reconciliation Variable Interest Entity and Equity Method of Accounting Equity Method Investments and Joint Ventures Disclosure [Text Block] Treasury stock, shares held (in shares) Beginning balance (in shares) Ending balance (in shares) Treasury Stock, Common, Shares Premiums earned, net (Net of ceded premiums of $91 and $96 for the three months ended June 30, 2026 and 2025 respectively, and $183 and $192 for the six months ended June 30, 2026 and 2025, respectively) Premiums earned, net (net of ceded premiums) Premiums Earned, Net Available-for-sale debt securities, allowance for credit loss Debt Securities, Available-for-Sale, Allowance for Credit Loss Investment securities, available-for-sale (Amortized cost: 2026: $39,950; 2025: $23,231) Debt Securities, Available-for-Sale, Current Equity Components Equity Components [Axis] Healthcare receivables Increase (Decrease) in Accounts Receivable Product and Service [Domain] Product and Service [Domain] Related party Related Party [Member] Class of Stock [Line Items] Class of Stock [Line Items] Disclosure of Restrictions on Dividends, Loans and Advances Disclosure [Abstract] Disclosure of Restrictions on Dividends, Loans and Advances Disclosure [Abstract] Class A Common Stock Common Class A Common Class A [Member] Entity Interactive Data Current Entity Interactive Data Current Compensation Actually Paid vs. Other Measure Compensation Actually Paid vs. Other Measure [Text Block] 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 Accounts payable and accrued expenses Accounts Payable and Accrued Liabilities, Current Entity Small Business Entity Small Business Comprehensive income (loss) Comprehensive Income (Loss), Net of Tax, Attributable to Parent 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 Termination Date Trading Arrangement Termination Date Shares withheld for taxes on equity awards (in shares) Share-Based Payment Arrangement, Shares Withheld for Tax Withholding Obligation Title of 12(g) Security Title of 12(g) Security Investment securities, held-to-maturity (Fair value: 2026: $10,295; 2025: $12,495) Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss, Noncurrent Compensation Actually Paid vs. Total Shareholder Return Compensation Actually Paid vs. Total Shareholder Return [Text Block] MNPI Disclosure Timed for Compensation Value MNPI Disclosure Timed for Compensation Value [Flag] Current year Current Year Claims and Claims Adjustment Expense Other liabilities, current Other Liabilities, Current Other assets, non-current Other Assets, Noncurrent Document Type Document Type Due after ten years Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10 Transfers in Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net 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 Fair Value as of Grant Date Award Grant Date Fair Value 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] Summary of Significant Accounting Policies Significant Accounting Policies [Text Block] Stock options, exercisable, intrinsic value (less than) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value Pay vs Performance Disclosure, Table Pay vs Performance [Table Text Block] Penalties accrued Income Tax Examination, Penalties Accrued Cash and cash equivalents Cash and Cash Equivalents [Member] Arrangement Duration Trading Arrangement Duration Statement of Stockholders' Equity [Abstract] Statement of Stockholders' Equity [Abstract] Consolidation Items [Axis] Consolidation Items [Axis] Entity Registrant Name Entity Registrant Name Short-term investments Other Short-Term Investments Schedule of Total Performance Restricted Stock Units Share-Based Payment Arrangement, Performance Shares, Activity [Table Text Block] Conversion from Class B common stock to Class A common stock (in shares) Conversion From Class B To Class A Common Stock, Shares Conversion From Class B To Class A Common Stock, Shares Insider Trading Policies and Procedures Not Adopted Insider Trading Policies and Procedures Not Adopted [Text Block] Commitments and Contingencies (Note 12) Commitments and Contingencies Total revenues Revenues Changed Peer Group, Footnote Changed Peer Group, Footnote [Text Block] Accounts payable and accrued expenses Increase (Decrease) in Accounts Payable and Accrued Liabilities Forgone Recovery due to Expense of Enforcement, Amount Forgone Recovery due to Expense of Enforcement, Amount Executive Category: Executive Category [Axis] Total Debt Securities, Available-for-Sale, Maturity, Allocated and Single Maturity Date, Fair Value Counterparty Name [Axis] Counterparty Name [Axis] Liabilities and Stockholders' Equity Liabilities and Equity [Abstract] Debt Securities, Available-for-sale, Amortized Cost [Abstract] Debt Securities, Available-for-Sale, Amortized Cost [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 Salaries and benefits Salaries And Benefits, Other Salaries And Benefits, Other Schedule of Fair Value Measurements for Items Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block] Award Type Award Type [Domain] Non-PEO NEO Average Compensation Actually Paid Amount Non-PEO NEO Average Compensation Actually Paid Amount Fair Value Measurements Fair Value Disclosures [Text Block] Level 3 Fair Value, Inputs, Level 3 [Member] U.S. government and government agencies and authorities US Government Agencies Debt Securities [Member] Expected term (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term PEO Name PEO Name Total paid Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid Stock Price or TSR Estimation Method Stock Price or TSR Estimation Method [Text Block] 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. Entity Tax Identification Number Entity Tax Identification Number Legal Entity [Axis] Legal Entity [Axis] Wormhole Capital Wormhole Capital [Member] Wormhole Capital Liability Class Liability Class [Axis] Investment securities, available-for-sale (Amortized cost: 2026: $190,771; 2025: $186,464) Debt Securities, Available-for-Sale, Noncurrent Exercised (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price Cash and cash equivalents, beginning of period Cash and cash equivalents, end of period Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Continuing Operation Credo Credo [Member] Credo Entity Incorporation, State or Country Code Entity Incorporation, State or Country Code Aggregate Erroneous Compensation Not Yet Determined Aggregate Erroneous Compensation Not Yet Determined [Text Block] Material Terms of Trading Arrangement Material Terms of Trading Arrangement [Text Block] Non-NEOs Non-NEOs [Member] 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] Accrued retrospective premiums Accrued Retrospective Premiums Current Accrued retrospective premiums. Organization and Operations Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block] Ownership percentage Equity Method Investment, Ownership Percentage Stock-based compensation Share-Based Payment Arrangement, Noncash Expense Salaries and benefits Labor and Related Expense Debt Securities, Held-to-maturity, Maturity, Fair Value [Abstract] Debt Securities, Held-to-Maturity, Fair Value, Maturity [Abstract] 2020 Employee Stock Purchase Plan ("ESPP") Stock Options Employee Stock [Member] Investment, Name [Domain] Investment, Name [Domain] 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 Basic earnings (loss) per share (in dollars per share) Earnings Per Share, Basic Repurchases of common stock Payments for Repurchase of Common Stock Total current assets Assets, Current Statistical Measurement Statistical Measurement [Axis] Insider Trading Arrangements [Line Items] Award Type Award Type [Axis] Named Executive Officers, Footnote Named Executive Officers, Footnote [Text Block] Accumulated deficit Retained Earnings (Accumulated Deficit) Product and Service [Axis] Product and Service [Axis] Amortization expense of deferred acquisition costs Deferred Policy Acquisition Costs, Amortization Expense Investment securities, held-to-maturity, fair value noncurrent Debt Securities, Held-to-Maturity, Fair Value, Noncurrent 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] Awards Close in Time to MNPI Disclosures Awards Close in Time to MNPI Disclosures [Table] Common Stock Common Stock [Member] Fair value Debt securities Debt Securities, Available-for-Sale Expected volatility Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate Employer maximum annual contributions per employee, percent Defined Contribution Plan, Maximum Annual Contributions Per Employee, Percent Compensation Actually Paid vs. Company Selected Measure Compensation Actually Paid vs. Company Selected Measure [Text Block] Cover [Abstract] Cover [Abstract] 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 Private equity investments Private Equity Investments [Member] Private Equity Investments Equity Awards Adjustments Equity Awards Adjustments [Member] Total liabilities and stockholders' equity Liabilities and Equity Other intangible assets Intangible Asset, Including Goodwill, after Accumulated Amortization Deferred tax assets, net Deferred Tax Assets, Net Net realized gains Realized gains Realized Investment Gains (Losses) Stock options Share-Based Payment Arrangement, Option [Member] Purchases Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] Segments [Axis] Segments [Axis] Additional 402(v) Disclosure Additional 402(v) Disclosure [Text Block] Asset Class [Axis] Asset Class [Axis] Plan Name Plan Name [Axis] Related Party Related and Nonrelated Parties [Domain] Equity interest percentage (less than) Equity Ownership Interest, Percentage Equity Ownership Interest, Percentage Tabular List, Table Tabular List [Table Text Block] Additional paid-in capital Additional Paid in Capital Other liabilities Increase (Decrease) in Other Noncurrent Liabilities Schedule of Stock-Based Compensation Cost Share-Based Payment Arrangement, Cost by Plan [Table Text Block] Unpaid Claims Liability for Future Policy Benefits and Unpaid Claims Disclosure [Text Block] Other Other Debt Obligations [Member] Short-term investments Short-Term Investments [Member] Name Awards Close in Time to MNPI Disclosures, Individual Name Purchases of short-term investments, available-for-sale, and held-to-maturity securities Payments to Acquire Investments 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 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] Stock options, outstanding, intrinsic value (less than) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value Forfeited (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period General and administrative expenses General and Administrative Expense Fair Value by Liability Class Fair Value by Liability Class [Domain] Adjustment to Compensation: Adjustment to Compensation [Axis] Class of Stock Class of Stock [Domain] Rule 10b5-1 Arrangement Terminated Rule 10b5-1 Arrangement Terminated [Flag] Aggregate Erroneous Compensation Amount Aggregate Erroneous Compensation Amount Statement of Cash Flows [Abstract] Statement of Cash Flows [Abstract] Options to purchase common stock Options To Purchase Common Stock [Member] Options To Purchase Common Stock. Issuance of common stock under employee stock purchase plan (in shares) Stock Issued During Period, Shares, Employee Stock Ownership Plan Aggregate Available Trading Arrangement, Securities Aggregate Available Amount Total assets at fair value Assets, Fair Value Disclosure Name Measure Name Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward] Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward] Income Taxes Income Tax Disclosure [Text Block] Pay vs Performance Disclosure [Line Items] Fair Value Hierarchy and NAV Fair Value Hierarchy and NAV [Domain] Pay vs Performance Disclosure Pay vs Performance Disclosure [Table] Additional paid-in capital Additional Paid-in Capital [Member] Entity Filer Category Entity Filer Category Name Trading Arrangement, Individual Name Company Selected Measure Amount Company Selected Measure Amount Healthcare Receivables Account Receivables [Text Block] Account Receivables Equity Method Investments and Joint Ventures [Abstract] Investments, Debt and Equity Securities [Abstract] Investments, Debt and Equity Securities [Abstract] Unrealized gains for assets still held, included in Net income Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss) Schedule of Stock by Class [Table] Stock, Class of Stock [Table] Current assets: Assets, Current [Abstract] 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 Non-PEO NEO Non-PEO NEO [Member] 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 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 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. Award Timing Method Award Timing Method [Text Block] Net increase (decrease) in cash and cash equivalents Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Period Increase (Decrease), Including Exchange Rate Effect and Discontinued Operation Forgone Recovery, Explanation of Impracticability Forgone Recovery, Explanation of Impracticability [Text Block] Net income (loss) Net income (loss) Segment gross profit Net Income (Loss) Attributable to Parent Erroneous Compensation Analysis Erroneous Compensation Analysis [Text Block] Statement [Table] Statement [Table] Restatement Determination Date: Restatement Determination Date [Axis] Proceeds from stock options exercised Proceeds from Stock Options Exercised Vested restricted stock units Stock Issued During Period, Value, Restricted Stock Award, Gross 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 Deferred acquisition costs Deferred Policy Acquisition Costs, Policy [Policy Text Block] PRSU Performance Based Restricted Stock Units [Member] Performance Based Restricted Stock Units Revenues: Revenues [Abstract] Pension Benefits Adjustments, Footnote Pension Benefits Adjustments, Footnote [Text Block] 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