Debt Securities, Available-for-sale, Amortized Cost [Abstract] Debt Securities, Available-for-Sale, Amortized Cost [Abstract] Business Acquisition Business Acquisition [Axis] Due within one year Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One Revision of Prior Period [Axis] Revision of Prior Period [Axis] Increase (Decrease) in Stockholders' Equity [Roll Forward] Increase (Decrease) in Stockholders' Equity [Roll Forward] Net loss Net Income (Loss), Including Portion Attributable to Noncontrolling Interest Related Party Transactions [Abstract] Related Party Transactions [Abstract] Other liabilities Increase (Decrease) in Other Noncurrent Liabilities Net medical claims incurred Policyholder Benefits and Claims Incurred, Net 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] Net realized losses on investment securities Realized Investment (Losses) Gains Realized Investment (Losses) Gains Due after ten years Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10 Deferred revenue Revenue Recognition, Deferred Revenue [Policy Text Block] Debt Securities, Held-to-maturity, Allowance for Credit Loss [Table] Debt Securities, Held-to-Maturity, Allowance for Credit Loss [Table] 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 Entity Address, Postal Zip Code Entity Address, Postal Zip Code Medical Records Exchange, LLC Medical Records Exchange, LLC [Member] Medical Records Exchange, LLC Accumulated unrealized gains Debt Securities, Held-to-Maturity, Accumulated Unrecognized Gain Preferred stock, shares outstanding (in shares) Preferred Stock, Shares Outstanding 2024 Long-Term Debt, Maturity, Year Two 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] Loss (gain) on investment Gain on investment Loss (gain) on investment Gain (Loss) on Investments Fair value Investments, Fair Value Disclosure Non-Insurance Non-Insurance [Member] Non-Insurance Aggregate amount Line of Credit Facility, Maximum Borrowing Capacity Investment securities, held-to-maturity Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss [Abstract] Income Tax Disclosure [Abstract] Income Tax Disclosure [Abstract] Rogue Trading Rogue Trading [Member] Rogue Trading Seek Seek Insurance Services [Member] Seek insurance services member Additional paid-in capital Additional Paid in Capital 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 Premium deficiency reserve (benefit) expense Premium deficiency reserve Premium Deficiency Testing Expense (Benefit), Long-Duration Contract, Amount Premium Deficiency Testing Expense (Benefit), Long-Duration Contract, Amount Financial Instruments Financial Instruments [Domain] Letter of Credit Short-Term Debt [Text Block] Dividend Restrictions Restrictions on Dividends, Loans and Advances [Text Block] Statistical Measurement Statistical Measurement [Domain] 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 Deferred tax assets, net Deferred Tax Assets, Net Proceeds from maturities of short-term investments, available-for-sale, and held-to-maturity 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 Charter Bioscience Inc. Charter Bioscience Inc. [Member] Charter Bioscience Inc. Short-term Debt, Type Short-Term Debt, Type [Axis] Interest rate Debt Instrument, Interest Rate, Stated Percentage Share-based Payment Arrangement [Abstract] Share-Based Payment Arrangement [Abstract] 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 Convertible debt conversion and other issuances Stock Issued During Period, Value, Conversion of Convertible Securities 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 Acquisition of public and private warrants Acquisition of Public and Private Warrants Acquisition of Public and Private Warrants Beginning balance (in shares) Ending balance (in shares) Temporary Equity, Shares Outstanding Treasury stock acquired Treasury Stock, Value, Acquired, Cost Method Net loss Net loss Net Income (Loss) Attributable to Parent Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Assumptions Used in ESPP Fair Value Determination Schedule of Share-Based Payment Award, Employee Stock Purchase Plan, Valuation Assumptions [Table Text Block] Total anti-dilutive shares excluded from computation of net loss per share Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 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 Information [Line Items] Document Information [Line Items] Schedule of Maturities of Long-term Debt Schedule of Maturities of Long-Term Debt [Table Text Block] Subsequent Event Type [Axis] Subsequent Event Type [Axis] Investment income, net Net Investment Income Equity Component Equity Component [Domain] Subsequent Event Type [Domain] Subsequent Event Type [Domain] CarePoint Health Contract Care Point Health Contract [Member] CarePoint Health Contract Weighted average number of common shares outstanding Earnings Per Share Reconciliation [Abstract] Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward] Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward] Total assets at fair value Assets, Fair Value Disclosure Short-duration Insurance Contracts, Discounted Liabilities [Table] Short-Duration Insurance Contracts, Discounted Liabilities [Table] Investment, Name [Domain] Investment, Name [Domain] 2014 Plan Two Thousand Fourteen Equity Incentive Plan [Member] 2014 Equity Incentive Plan member. Insurance Insurance [Member] Insurance Related Party Related Party [Domain] Less: Treasury stock, at cost; 2,041,948 and 14,730 shares held as of September 30, 2022, and December 31, 2021, respectively Treasury Stock, Common, Value Plan Name Plan Name [Axis] Title of 12(g) Security Title of 12(g) Security Fair value Debt securities Debt Securities, Available-for-Sale Capitalized software development costs - cloud computing arrangements Research, Development, and Computer Software, Policy [Policy 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. Supplemental cash flow disclosures Supplemental Cash Flow Information [Abstract] Forfeited (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price Plan Name Plan Name [Domain] Statement of Cash Flows [Abstract] Statement of Cash Flows [Abstract] Entity Address, State or Province Entity Address, State or Province Level 1 Fair Value, Inputs, Level 1 [Member] ESPP Employee Stock [Member] Recognition of equity method investments and preferred stock Transfer to Investments Stock options, outstanding, weighted average remaining contractual term Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term Fair Value, Separate Account Investment [Line Items] Fair Value, Separate Account Investment [Line Items] Award Type Award Type [Axis] Net cash provided by (used in) operating activities Net Cash Provided by (Used in) Operating Activities Operating lease liabilities Operating Lease, Liability, Current Accrued salaries and benefits Increase (Decrease) in Accrued Salaries Settlements Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements Non-Insurance payable Non-Insurance Payable, Current Non-Insurance Payable, Current Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Employer maximum annual contributions per employee, percent Defined Contribution Plan, Maximum Annual Contributions Per Employee, Percent Forfeited (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures in Period Receivables [Abstract] Receivables [Abstract] Performance year receivable Performance Year Receivable Performance Year Receivable Penalties accrued Income Tax Examination, Penalties Accrued PRSUs Performance Restricted Stock Units [Member] Performance restricted stock units. Short-term investments Other Short-Term Investments Legal Entity [Axis] Legal Entity [Axis] Liability Class Liability Class [Axis] Interest rate Line of Credit Facility, Interest Rate During Period Notes and securities payable, net of discounts and deferred issuance costs Long-Term Debt, Excluding Current Maturities Estimated fair value and carrying value of convertible securities Convertible Debt Fair Value and Carrying Value Disclosures Convertible debt fair value and carrying value disclosures. Total liabilities Liabilities Accrued retrospective premiums Increase (Decrease) in Unearned Premiums 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] Cash flows from investing activities: Net Cash Provided by (Used in) Investing Activities [Abstract] Prior years Incurred claims paid Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Prior Years Increase (Decrease) in Temporary Equity [Roll Forward] Increase (Decrease) in Temporary Equity [Roll Forward] Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Short-duration Insurance Contracts, Claims Development [Table] Short-Duration Insurance Contracts, Claims Development [Table] Fair Value Hierarchy and NAV Fair Value Hierarchy and NAV [Domain] Investment securities, available-for sale, Amortized cost current Debt Securities, Available-for-Sale, Amortized Cost, Current Deposits with various states and regulatory bodies Deposits Investment securities, available-for-sale (Amortized cost: 2022: $179,774; 2021: $21,142) Debt Securities, Available-for-Sale, Current Preferred stock, shares issued (in shares) Preferred Stock, Shares Issued Document Type Document Type Seek Convertible Note Seek Convertible Note [Member] Seek Convertible Note Weighted-average exercise price Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract] Number of shares Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Accumulated unrealized losses Debt Securities, Held-to-Maturity, Accumulated Unrecognized Loss Amortization of the Non-Insurance performance year receivable Non-Insurance, Performance Year Receivable, Amortization Non-Insurance, Performance Year Receivable, Amortization Segments [Axis] Segments [Axis] 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 Notes and Securities Payable Debt Disclosure [Text Block] Preferred stock conversion Stock Issued During Period, Value, Conversion of Units Employee Benefit Plans Compensation and Employee Benefit Plans [Text Block] Product and Service [Domain] Product and Service [Domain] Entity Shell Company Entity Shell Company Common Class B Common Class B [Member] Total investment securities Investments [Abstract] Schedule of Net Investment Income Investment Income [Table Text Block] Liability for Unpaid Claims and Claims Adjustment Expense, Activity in Liability [Abstract] Liability for Unpaid Claims and Claims Adjustment Expense, Activity in Liability [Abstract] Accounting Policies [Line Items] Accounting Policies [Line Items] Accounting Policies [Line Items] Financial Instrument Financial Instrument [Axis] Proceeds received for the exercise of public and private warrants Proceeds from Warrant Exercises 2025 Long-Term Debt, Maturity, Year Three Due within one year Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, Year One 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 Consolidation Items [Domain] Consolidation Items [Domain] Subsequent Event Subsequent Event [Member] Marketing expense Marketing Expense Document Period End Date Document Period End Date Tranche One Share-Based Payment Arrangement, Tranche One [Member] Acquisition of public and private placement warrants Acquisition of Public and Private Placement Warrants Acquisition of public and private placement warrants. Debt Securities, Available-for-Sale [Table] Debt Securities, Available-for-Sale [Table] Deferred acquisition costs Deferred Policy Acquisition Costs, Policy [Policy Text Block] Non-Insurance performance year receivable Non-Insurance, Performance Year Receivable, Current Non-Insurance, Performance Year Receivable, Current Preferred stock conversion (in shares) Temporary Equity, Shares, Conversion Of Convertible Securities Temporary Equity, Shares, Conversion Of Convertible Securities Total assets Total assets Assets Total paid Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid Gross proceeds from sale of stock Sale of Stock, Consideration Received Per Transaction Debt Disclosure [Abstract] Debt Disclosure [Abstract] Per share data: Earnings Per Share [Abstract] Income Statement Location [Axis] Income Statement Location [Axis] Financial asset or liabilities transfer in and out Financial Asset Or Liabilities Transfer In And Out Financial asset or liabilities transfer in and out. 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 Exercised (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price Net cash (used in) provided by financing activities Net Cash Provided by (Used in) Financing Activities Non-Insurance performance year obligation, current Non-Insurance, performance year obligation Non-Insurance, Performance Year Obligation, Current Non-Insurance, Performance Year Obligation, Current Accounting Policies [Abstract] Accounting Policies [Abstract] Amortization of debt issuance costs and interest expense Interest Expense, Debt Beginning balance Ending balance Temporary Equity, Carrying Amount, Attributable to Parent Segments [Domain] Segments [Domain] Amortized cost Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss Common stock, number of voting rights per share Common Stock, Number Of Voting Rights Common Stock, Number Of Voting Rights Amortization of notes and securities discounts Amortization of notes and securities discounts and debt issuance costs Amortization of Debt Issuance Costs and Discounts Net Loss Per Share Earnings Per Share [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 Schedule of Assumptions to Estimate Fair Value of Stock Options on Weighted Average Basis Schedule of Share-Based Payment Award, Stock Options, Valuation Assumptions [Table Text Block] Thyme Care, Inc. Thyme Care, Inc. [Member] Thyme Care, Inc. Initial offering period Share-Based Compensation Arrangement By Share-Based Payment Award, Initial Offering Period Share-Based Compensation Arrangement By Share-Based Payment Award, Initial Offering Period Operating lease liabilities Increase (Decrease) in Operating Lease Liability Related Party Transaction [Line Items] Related Party Transaction [Line Items] Short-term investments Short-Term Investments [Member] Award Type Award Type [Domain] Warrants issued to purchase common stock shares (in shares) Class of Warrant or Right, Number of Securities Called by Warrants or Rights Cost not yet recognized, period for recognition Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition Stock options, exercisable, weighted average remaining contractual term Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term 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 Gross profit (loss) Gross profit (loss) Gross Profit Entity Registrant Name Entity Registrant Name 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 Expected dividend yield Dividend yield Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate Entity Address, City or Town Entity Address, City or Town 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 Public and private placement warrants Public And Private Placement Warrants [Member] Public And Private Placement Warrants [Member] Derecognition of noncontrolling interest Derecognition of noncontrolling interest Noncontrolling Interest, Decrease from Deconsolidation Operating expenses: Operating Expenses [Abstract] Total stockholders' equity Beginning balance Ending balance Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest Intersegment Eliminations Intersegment Eliminations [Member] Non-Insurance revenue Revenue Not from Contract with Customer Noncontrolling interest Stockholders' Equity Attributable to Noncontrolling Interest Due within one year Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, Year One Statement of Financial Position [Abstract] Statement of Financial Position [Abstract] Entity Emerging Growth Company Entity Emerging Growth Company Common stock, par value, (in dollars per share) Common Stock, Par or Stated Value Per Share Claims Development [Line Items] Claims Development [Line Items] Commitments and Contingencies Disclosure [Abstract] Commitments and Contingencies Disclosure [Abstract] Treasury Stock Treasury Stock, Common [Member] Investment, Name [Axis] Investment, Name [Axis] Fair Value Measurements Fair Value Disclosures [Text Block] 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 Trading Symbol Trading Symbol Entity File Number Entity File Number Inducement Plan Inducement Plan [Member] Inducement Plan 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 Treasury stock, shares held (in shares) Beginning balance (in shares) Ending balance (in shares) Treasury Stock, Common, Shares Issuance of common stock related to exercises of warrants Stock Issued During Period, Value, Warrants Exercised Stock issued during period value warrants exercised. Fair Value by Liability Class Fair Value by Liability Class [Domain] Granted (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period RSUs Restricted Stock Units (RSUs) [Member] Effective tax rate Effective Income Tax Rate Reconciliation, Percent Use of estimates Use of Estimates, Policy [Policy Text Block] Equity Method Investments and Joint Ventures [Abstract] Total revenues Intersegment revenues Revenues Investment securities, held-to-maturity, Fair value noncurrent Debt Securities, Held-to-Maturity, Fair Value, Noncurrent Investment Securities Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] Accounts payable and accrued expenses Increase (Decrease) in Accounts Payable and Accrued Liabilities Schedule of Realized Gain (Loss) on Investment Securities Realized Gain (Loss) on Investments [Table Text Block] Income Taxes Income Tax Disclosure [Text Block] Due to related parties Due to Related Parties Debt Securities, Held-to-maturity, Maturity, Fair Value [Abstract] Debt Securities, Held-to-Maturity, Fair Value, Maturity [Abstract] Fair value Debt Securities, Available-for-Sale, Maturity, Allocated and Single Maturity Date, Fair Value Due within one year Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, Year One Exercise price of warrants (in dollars per share) Class of Warrant or Right, Exercise Price of Warrants or Rights Net loss per share attributable to Class A and Class B common stockholders - basic (in dollars per share) Net loss per share attributable to Common Stockholders—basic (in dollars per share) Earnings Per Share, Basic 2020 Plan 2020 Equity Incentive Plan [Member] 2020 Equity Incentive Plan [Member] Other Assets Other Assets [Member] Corporate/Other Corporate, Non-Segment [Member] Private Capital Transaction Private Capital Transaction [Member] Private Capital Transaction Investment securities, held-to-maturity (Fair value: 2022: $0; 2021: $307) Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss, Current Counterparty Name [Domain] Counterparty Name [Domain] Clover stockholders' equity Stockholders' Equity Attributable to Parent Prepaid expenses Prepaid Expense, Current 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 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 Vesting [Domain] Vesting [Domain] Available-for-sale debt securities, allowance for credit loss Debt Securities, Available-for-Sale, Allowance for Credit Loss Line of Credit Facility [Line Items] Line of Credit Facility [Line Items] Transfers in Fair Value, Measurement with Unobservable Inputs Reconciliation, Liability, Transfers Into Level 3 Entity Interactive Data Current Entity Interactive Data Current 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 Sale of stock, number of shares issued in transaction (in shares) Sale of Stock, Number of Shares Issued in Transaction Fair Value, by Balance Sheet Grouping [Table] Fair Value, by Balance Sheet Grouping [Table] Non-Insurance Non-Insurance Disclosure [Text Block] Non-Insurance Disclosure Ceded premiums Ceded Premiums Earned Changes in operating assets and liabilities: Increase (Decrease) in Operating Capital [Abstract] Conversion from Class B Common Stock to Class A Common Stock Conversion From Class B To Class A Common Stock, Amount Conversion From Class B To Class A Common Stock, Amount Schedule of Changes in Balances of Level 3 Financial Liabilities Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block] 2027 Long-Term Debt, Maturity, Year Five Accumulated
deficit Retained Earnings [Member] Unvested stock options, unrecognized stock-based compensation Share-Based Payment Arrangement, Nonvested Award, Option, Cost Not yet Recognized, Amount Common Stock Common Stock [Member] Number of reporting segments Number of reportable segments Number of Reportable Segments Treasury stock acquired Payments for Repurchase of Common Stock Number of shares available for issuance Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant Class of Stock Class of Stock [Axis] Statement [Table] Statement [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 Schedule of Performance Guarantees Schedule Of Performance Guarantees [Table Text Block] Schedule Of Performance Guarantees Document Quarterly Report Document Quarterly Report Letter of Credit Agreement Letter of Credit [Member] Debt Securities, Held-to-maturity, Allowance for Credit Loss [Line Items] Debt Securities, Held-to-Maturity, Allowance for Credit Loss [Line Items] Current assets Assets, Current [Abstract] Long-term operating lease liabilities Operating Lease, Liability, Noncurrent Statistical Measurement Statistical Measurement [Axis] Treasury stock acquired (in shares) Treasury Stock, Shares, Acquired Accumulated deficit Retained Earnings (Accumulated Deficit) Change in fair value of warrants payable and amortization of warrants Increase Decrease In Fair Value Adjustment Of Warrants Increase decrease in fair value adjustment of warrants. Due after ten years Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 10 Non-Insurance payable Increase (Decrease) In Non-Insurance Payable Increase (Decrease) In Non-Insurance Payable Estimated fair value of convertible securities Convertible Debt, Fair Value Disclosures U.S. government and government agencies US Treasury and Government [Member] Equity Components Equity Components [Axis] 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 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 exercise price (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price Related Party Transactions Related Party Transactions Disclosure [Text Block] Segment information Segment Reporting, Policy [Policy Text Block] Unpaid claims Increase (Decrease) In Unpaid Claims Increase decrease in unpaid claims. Revision of Prior Period [Domain] Revision of Prior Period [Domain] Document Fiscal Year Focus Document Fiscal Year Focus Conversion of Character Biosciences, Inc. convertible note to preferred stock Conversion of Convertible Note to Preferred Stock Conversion of Convertible Note to Preferred Stock Cash flows from operating activities: Net Cash Provided by (Used in) Operating Activities [Abstract] COVID-19 Risks And Uncertainties Policy [Policy Text Block] Risks and uncertainties. Performance year obligation Increase (Decrease) In Performance Year Obligation Increase (Decrease) In Performance Year Obligation Statement [Line Items] Statement [Line Items] Derivative liabilities Derivative Financial Instruments, Liabilities [Member] Beginning balance (in shares) Ending balance (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number Investment securities, held-to-maturity, Fair value current Debt Securities, Held-to-Maturity, Fair Value, Current Fair Value Hierarchy and NAV Fair Value Hierarchy and NAV [Axis] Short-duration Insurance Contracts, Discounted Liabilities [Line Items] Short-Duration Insurance Contracts, Discounted Liabilities [Line Items] 2020 MIP 2020 Management Incentive Plan [Member] 2020 management incentive plan member Accumulated unrealized losses Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax Operating lease right-of-use assets Operating Lease, Right-of-Use Asset Accumulated
other
comprehensive
income (loss) AOCI Attributable to Parent [Member] Transfers out Fair Value, Measurement with Unobservable Inputs Reconciliation, Liability, Transfers out of Level 3 Issuance of common stock related to warrants exercised Issuance Of Common Stock Related To Warrants Exercised Issuance Of Common Stock Related To Warrants Exercised Document Transition Report Document Transition Report Local Phone Number Local Phone Number Summary of Stock Option Activity Share-Based Payment Arrangement, Option, Activity [Table Text Block] Issuance of common stock related to convertible debt Debt Conversion, Converted Instrument, Amount Loss from operations Operating Income (Loss) 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 Share-Based Payment Arrangement, Activity Share-Based Payment Arrangement, Activity [Table Text Block] Recent accounting pronouncements New Accounting Pronouncements, Policy [Policy Text Block] Surety bonds and deposits Increase (Decrease) in Deposit Assets Proceeds from reverse recapitalization, net of transaction costs Proceeds From Reverse Capitalization Net of Transaction Costs Proceeds from reverse capitalization, net of transaction costs. Document Information [Table] Document Information [Table] Common stock, shares, outstanding (in shares) Beginning balance (in shares) Ending balance (in shares) Common Stock, Shares, Outstanding Capitalized debt issuance cost Debt Issuance Costs, Current, Net Adjustments to reconcile net loss to net cash provided by (used in) operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Prepaid expenses Increase (Decrease) in Prepaid Expense Preferred stock par value, (in dollars per share) Preferred Stock, Par or Stated Value Per Share Income Statement [Abstract] Income Statement [Abstract] Schedule of Revenue by Major Customers, by Reporting Segments [Table] Schedule of Revenue by Major Customers, by Reporting Segments [Table] Granted (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross Additional paid-in capital Additional Paid-in Capital [Member] Balance Sheet Location [Domain] Balance Sheet Location [Domain] Document Fiscal Period Focus Document Fiscal Period Focus Stock options Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value Diluted weighted average number of Class A and Class B common shares and common share equivalents outstanding (in shares) Diluted weighted average number of common shares and common share equivalents outstanding (in shares) Weighted Average Number of Shares Outstanding, Diluted Expected term (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term Maximum number of shares that may be purchased by any one participant Share-Based Compensation Arrangement by Share-Based Payment Award, Maximum Number of Shares Per Employee Conversion from Class A Common Stock to Class B Common Stock Conversion From Class A To Class B Common Stock Conversion From Class A To Class B Common Stock Equity interest at fair value Equity Securities, FV-NI Employers matching contribution, vesting percentage Defined Contribution Plan, Employers Matching Contribution, Annual Vesting Percentage Debt Securities, Available-for-Sale [Line Items] Debt Securities, Available-for-Sale [Line Items] Accounts payable and accrued expenses Accounts Payable and Accrued Liabilities, Current Amortized cost Investments Issuance of common stock under Employee Stock Purchase Plan (in shares) Stock Issued During Period, Shares, Employee Stock Ownership Plan Common stock, value Common Stock, Value, Issued Business Acquisition, Acquiree Business Acquisition, Acquiree [Domain] Preferred Stock Preferred Stock [Member] Accrued salaries and benefits Accrued Salaries 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 Vested restricted stock units (in shares) Stock Issued During Period, Shares, Restricted Stock Award, Gross Net realized losses Realized Investment Gains (Losses) 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] Summary of Fair Value Measurements for Items Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block] Operating Segments Operating Segments [Member] Convertible Debt Convertible Debt [Member] Healthcare receivable Receivables from Customers Stock options, exercisable, intrinsic value Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value Preferred stock, shares authorized (in shares) Preferred Stock, Shares Authorized 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. Performance year obligation Performance Year Obligation, Non-Cash Activities Performance Year Obligation, Non-Cash Activities Direct Contracting, shared savings and losses, percent Direct Contracting, Shared Savings and Losses, Percent Direct Contracting, Shared Savings and Losses, Percent Cash and cash equivalents, beginning of period Cash and cash equivalents, end of period Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents Investment securities Securities Investment [Member] Issuance of common stock in connection with Business Combination and PIPE offering Stock Issued During Period, Value, Business Combination and Offering Stock issued during period, value, business combination and offering. Commitments and Contingencies Commitments and Contingencies Disclosure [Text Block] Current liabilities Liabilities, Current [Abstract] Net loss attributable to Common Stockholders Net Income (Loss) Available to Common Stockholders, Basic Proceeds from stock options exercised Proceeds from Stock Options Exercised Summary of Weighted Average Grant Date Fair Value of Performance Restricted Stock Units Share-Based Payment Arrangement, Performance Shares, Outstanding Activity [Table Text Block] Common stock, shares, issued (in shares) Number of common stock purchased or distributed (in shares) Common Stock, Shares, Issued Equity method investment Equity Method Investments Deferred revenue Contract with Customer, Liability, Current Employer matching contribution, percent of employees' gross pay Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay Shares Outstanding Under Plans 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 Warrants outstanding Warrants and Rights Outstanding Income Statement Location [Domain] Income Statement Location [Domain] Amendment Flag Amendment Flag Net cash provided by (used in) investing activities Net Cash Provided by (Used in) Investing Activities Principal amount Debt Instrument, Face Amount Investment Type Investment Type [Axis] Corporate/Other Corporate and Other [Member] Comprehensive loss Comprehensive Income (Loss), Net of Tax, Attributable to Parent Equity And Temporary Equity [Abstract] Equity And Temporary Equity Schedule of Segment Reporting Information, by Segment Schedule of Segment Reporting Information, by Segment [Table Text Block] Accumulated unrealized gains Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax Entity Current Reporting Status Entity Current Reporting Status Other liabilities, current Other Liabilities, Current Other assets, non-current Other Assets, Noncurrent Stock options, exercisable, number (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number Issuance of Common Stock in connection with Business Combination and PIPE offering (in shares) Stock Issued During Period, Shares, Business Combination and Offering Stock issued during period shares business combination and offering. Paid related to: Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid [Abstract] Payment of notes payable principal Repayments of Notes Payable Counterparty Name [Axis] Counterparty Name [Axis] Effects of DCE Reinsurance [Abstract] Non-Insurance [Abstract] Non-Insurance [Abstract] 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 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. 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 Stock by Class [Table] Schedule of Stock by Class [Table] Goodwill and other intangible assets Intangible Assets, Net (Including Goodwill) Entity Incorporation, State or Country Code Entity Incorporation, State or Country Code Basis of presentation Basis of Accounting, Policy [Policy Text Block] Property and equipment, net Property, Plant and Equipment, Net Schedule of Investment Securities Reconciliation Schedule Of Investment Securities Reconciliation [Table Text Block] Schedule Of Investment Securities Reconciliation Right-of-use assets obtained in exchange for lease liabilities Lease Obligation Incurred Accretion, net of amortization Depreciation, Amortization and Accretion, Net Salaries and benefits Labor and Related Expense Operating lease right-of-use assets Increase (Decrease) In Operating Lease Right Of Use Assets Increase decrease in operating lease right of use assets. Stock options Share-Based Payment Arrangement, Option [Member] Expected volatility Expected volatility Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate Conversion from Class A Common Stock to Class B Common Stock (in shares) Conversion From Class A To Class B Common Stock, Shares Conversion From Class A To Class B Common Stock, Shares Stock issuance for exercise of stock options, net of early exercise liability Stock Issued During Period, Value, Stock Options Exercised Forfeited (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period Debt, carrying amount Total Long-Term Debt Balance Sheet Location [Axis] Balance Sheet Location [Axis] Net unrealized loss on available-for-sale investments Unrealized holdings gain (loss) on investment securities, available-for-sale OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax Sale of stock, price per share (in dollars per share) Sale of Stock, Price Per Share Common stock, shares authorized (in shares) Common Stock, Shares Authorized Schedule of Related Party Transactions, by Related Party [Table] Schedule of Related Party Transactions, by Related Party [Table] Class of Warrant or Right [Axis] Class of Warrant or Right [Axis] Total operating expenses Operating Expenses Accumulated other comprehensive loss Accumulated Other Comprehensive Income (Loss), Net of Tax 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 Common Class A Common Class A [Member] Cash and cash equivalents Cash and Cash Equivalents, at Carrying Value Deferred revenue Increase (Decrease) in Contract with Customer, Liability Total current assets Assets, Current Accounting Policies [Table] Accounting Policies [Table] Accounting Policies [Table] Entity Small Business Entity Small Business 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 Revenues: Revenues [Abstract] Premium deficiency reserve Liability for Future Policy Benefit, before Reinsurance Line of Credit Facility [Table] Line of Credit Facility [Table] Summary of Significant Accounting Policies Significant Accounting Policies [Text Block] Premiums earned, net (Net of ceded premiums of $116 and $120 for the three months ended September 30, 2022 and 2021, respectively; net of ceded premiums of $354 and $370 for the nine months ended September 30, 2022 and 2021, respectively) Premiums earned, net (Net of ceded premiums) Premiums Earned, Net Number of options Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward] Surety bonds and deposits Deposits Assets, Current Summary of Total Performance Restricted Stock Units Share-Based Payment Arrangement, Performance Shares, Activity [Table Text Block] Performance guarantees Minimum Guarantees, Policy [Policy Text Block] Stock options, outstanding, intrinsic value Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value 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 Healthcare receivables Increase (Decrease) in Accounts Receivable Organization and Operations Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block] 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 Stock issued upon conversion (in shares) Conversion of Stock, Shares Issued Conversion of preferred stock to common stock Conversion of Stock, Amount Converted Debt Instrument [Line Items] Debt Instrument [Line Items] Class of Stock [Line Items] Class of Stock [Line Items] U.S. government and government agencies and authorities US Government Agencies Debt Securities [Member] Non-Insurance Non-Insurance Operations [Member] Non-Insurance Operations Operating Segments Segment Reporting Disclosure [Text Block] Investments, Debt and Equity Securities [Abstract] Investments, Debt and Equity Securities [Abstract] Payment for the redemptions of public warrants Payments for Repurchase of Warrants Other receivables Other Receivables Previously Reported Previously Reported [Member] Liabilities and Stockholders' Equity Liabilities and Equity [Abstract] Granted (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price Amortized cost Debt Securities, Available-for-Sale, Amortized Cost Current year Current Year Claims and Claims Adjustment Expense Net proceeds from sale of stock Sale of Stock, Consideration Received on Transaction 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. Other assets Increase (Decrease) in Other Operating Assets Held-to-maturity debt securities, allowance for credit loss Debt Securities, Held-to-Maturity, Allowance for Credit Loss Other receivables Increase (Decrease) in Other Receivables 2026 Long-Term Debt, Maturity, Year Four Schedule of Amortized Cost and Fair Value of Debt Securities Investments Classified by Contractual Maturity Date [Table Text Block] Entity Filer Category Entity Filer Category 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 Prior years Unfavorable (favorable) development Prior Year Claims and Claims Adjustment Expense Accrued retrospective premiums Accrued Retrospective Premiums Current Accrued retrospective premiums. Ownership percentage Equity Method Investment, Ownership Percentage Stock compensation expense recognized Total compensation cost recognized for stock-based compensation plans Share-Based Payment Arrangement, Expense Supplemental disclosure of non-cash activities Noncash Investing and Financing Items [Abstract] Commitments and Contingencies (Note 15) Commitments and Contingencies Security Exchange Name Security Exchange Name 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 Class of Warrant or Right [Domain] Class of Warrant or Right [Domain] Amortization expense of deferred acquisition costs Deferred Policy Acquisition Costs, Amortization Expense Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] Reconciliation of Revenue from Segments to Consolidated Reconciliation of Revenue from Segments to Consolidated [Table Text Block] Fair Value, Separate Account Investment [Table] Fair Value, Separate Account Investment [Table] Short-term Debt, Type Short-Term Debt, Type [Domain] General and Administrative Expense General and Administrative Expense [Member] Convertible debt conversion and other issuances (in shares) Stock Issued During Period, Shares, Conversion of Convertible Securities Employer matching contribution, percent of match Defined Contribution Plan, Employer Matching Contribution, Percent of Match Maximum number of shares that may be purchased Shares Remaining Under Plans Common Stock, Capital Shares Reserved for Future Issuance Cash and cash equivalents Cash and Cash Equivalents [Member] Cover [Abstract] Cover [Abstract] Schedule of Long-term Debt Instruments [Table] Schedule of Long-Term Debt Instruments [Table] Level 3 Fair Value, Inputs, Level 3 [Member] Depreciation and amortization Depreciation and amortization expense Depreciation, Depletion and Amortization, Nonproduction Investment securities, available-for-sale (Amortized cost: 2022: $76,339; 2021: $177,527) Debt Securities, Available-for-Sale, Noncurrent Summary of Stock-Based Compensation Cost Share-Based Payment Arrangement, Cost by Plan [Table Text Block] Fair value Fair value Debt Securities, Held-to-Maturity, Fair Value Segment Reporting [Abstract] Investment securities, held-to-maturity (Fair value: 2022: $596; 2021: $364) Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss, Noncurrent Incurred related to: Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims [Abstract] Investments Investments [Domain] Noncontrolling
interest Noncontrolling Interest [Member] Weighted-average risk-free interest rate Risk-free interest rate Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate Total liabilities and stockholders' equity Liabilities and Equity Current year Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Current Year Disclosure of Restrictions on Dividends, Loans and Advances Disclosure [Abstract] Disclosure of Restrictions on Dividends, Loans and Advances Disclosure [Abstract] Eligibility for vesting period 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 Long-term Debt, Type Long-Term Debt, Type [Axis] Related Party Related Party [Axis] Capital contribution for extinguishment of debt Extinguishment of Debt, Amount Convertible securities Convertible Securities [Member] Convertible securities member. Organization, Consolidation and Presentation of Financial Statements [Abstract] Organization, Consolidation and Presentation of Financial Statements [Abstract] Issuances Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Issuances Level 2 Fair Value, Inputs, Level 2 [Member] Purchases of short-term investments, available-for-sale, and held-to-maturity securities Payments to Acquire Investments Current Fiscal Year End Date Current Fiscal Year End Date Amortization of the Non-Insurance performance year obligation Non-Insurance, Performance Year Obligation, Amortization Non-Insurance, Performance Year Obligation, Amortization Vesting [Axis] Vesting [Axis] Net loss per share attributable to Class A and Class B common stockholders - diluted (in dollars per share) Net loss per share attributable to Common Stockholders—diluted (in dollars per share) Earnings Per Share, Diluted Sale of Stock Sale of Stock [Domain] Tranche Two Share-Based Payment Arrangement, Tranche Two [Member] 2020 Equity and Management Incentive Plan Two Thousand Twenty Equity And Management Incentive Plan [Member] Two thousand twenty equity and management incentive plan. Preferred stock conversion Temporary Equity, Value, Conversion Of Convertible Securities Temporary Equity, Value, Conversion Of Convertible Securities Vesting period Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period Investment securities, available-for sale, Amortized cost noncurrent Debt Securities, Available-for-Sale, Amortized Cost, Noncurrent Public Stock Offering Public Stock Offering [Member] Public Stock Offering Stock-based compensation APIC, Share-Based Payment Arrangement, Increase for Cost Recognition Consolidation Items [Axis] Consolidation Items [Axis] Change in fair value of warrants payable Fair Value Adjustment of Warrants 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 Total current liabilities Liabilities, Current Legacy warrants Legacy Warrants [Member] Legacy Warrants Other assets, current Other Assets, Current Due after ten years Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10 Unrecognized tax position Unrecognized Tax Benefits Other expense Other General Expense 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 Summary of Total RSU activity Share-Based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block] Expiration period Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period Corporate debt securities Corporate Debt Securities [Member] Entity Address, Address Line Two Entity Address, Address Line Two Entity Address, Address Line One Entity Address, Address Line One Stockholders' Equity and Convertible Preferred Stock Stockholders' Equity And Temporary Equity [Text Block] Stockholders' Equity And Temporary Equity Product and Service [Axis] Product and Service [Axis] Class of Stock Class of Stock [Domain] Fair Value Disclosures [Abstract] Fair Value Disclosures [Abstract] Unused balance Line of Credit Facility, Remaining Borrowing Capacity Total incurred Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims Interest expense Interest Expense Options to purchase common stock Options To Purchase Common Stock [Member] Options To Purchase Common Stock. Investment securities, available-for-sale Debt Securities, Available-for-Sale [Abstract] Equity method of accounting and variable interest entities Equity Method Investments [Policy Text Block] Employer discretionary contribution amount Defined Contribution Plan, Employer Discretionary Contribution Amount Stockholders' equity Equity [Abstract] Vested (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period Entity Tax Identification Number Entity Tax Identification Number Shares authorized under plans (in shares) Shares Authorized Under Plans Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized Unamortized debt issuance costs Unamortized Debt Issuance Expense Discount rate Share-Based Compensation Arrangement by Share-Based Payment Award, Discount from Market Price, Purchase Date Unpaid Claims Liability for Future Policy Benefits and Unpaid Claims Disclosure [Text Block] Warrants payable Warrants Payable [Member] Warrants payable. Other income Revenue Not from Contract with Customer, Other Effective interest rate Debt Instrument, Interest Rate During Period 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] Net increase in cash and cash equivalents Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect Amortized cost Debt Securities, Available-for-Sale, Maturity, Allocated and Single Maturity Date, Amortized Cost Healthcare Receivables Account Receivables [Text Block] Account Receivables Entity Central Index Key Entity Central Index Key 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] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table] Preferred stock conversion (in shares) Stock Issued During Period, Shares, Conversion of Units 12 Months or Longer, 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 Capital contribution for extinguishment of debt Capital Contribution for Extinguishment of Debt Capital contribution for extinguishment of debt. 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 Entity [Domain] Entity [Domain] Unpaid claims Assumed Liability for Unpaid Claims and Claims Adjustment Expense City Area Code City Area Code General and administrative expenses General and Administrative Expense Assets Assets [Abstract] Long-term Debt, Type Long-Term Debt, Type [Domain] Total realized losses (gains) Fair Value, Asset (Liability), Recurring Basis, Still Held, Unrealized Gain (Loss) 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. Statement of Stockholders' Equity [Abstract] Statement of Stockholders' Equity [Abstract] Sale of Stock Sale of Stock [Axis] Revenue, Major Customer [Line Items] Revenue, Major Customer [Line Items] Cash flows from financing activities: Net Cash Provided by (Used in) Financing Activities [Abstract] Due to related parties, net Due to Related Parties, Current Beginning balance Ending balance Financial Liabilities Fair Value Disclosure 2023 Long-Term Debt, Maturity, Year One Stock-based compensation expense Share-Based Payment Arrangement, Noncash Expense Stock options, grants in period, weighted average grant date fair value (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value Other liabilities, non-current Other Liabilities, Noncurrent Variable Interest Entity and Equity Method of Accounting Equity Method Investments and Joint Ventures Disclosure [Text Block] Debt Securities, Available-for-sale, Fair Value, Fiscal Year Maturity [Abstract] Debt Securities, Available-for-Sale, Fair Value, Fiscal Year Maturity [Abstract] Purchases of property and equipment Payments to Acquire Property, Plant, and Equipment Weighted Average Weighted Average [Member] Schedule of Basic and Diluted Loss Per Share Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Issuance of common stock related to exercises of warrants (in shares) Stock Issued During Period, Shares, Warrants Exercised Stock issued during period shares warrants exercised. Unused lines of Credit Unused lines of Credit [Member] Calculation of maximum number of ESPP, percentage of total number of shares outstanding Common Stock, Percentage Of Total Shares Outstanding Common Stock, Percentage Of Total Shares Outstanding Acquisition of Character Biosciences, Inc. Series A preferred shares Payments to Acquire Interest in Subsidiaries and Affiliates