Reinsurance Disclosures [Abstract]
Reinsurance
Reinsurance [Text Block]
Condensed Financial Information of Parent Company Only Disclosure [Abstract]
Condensed Financial Statements [Table]
Condensed Financial Statements [Table]
Consolidated Entities [Axis]
Consolidated Entities [Axis]
Consolidated Entities [Domain]
Consolidated Entities [Domain]
Subsidiaries
Subsidiaries [Member]
Condensed Financial Statements, Captions [Line Items]
Condensed Financial Statements, Captions [Line Items]
Operating underwriting and operating expenses
Operating Expenses
Investments, Debt and Equity Securities [Abstract]
Investments
Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]
Income Tax Disclosure [Abstract]
Schedule of Components of Income Taxes (Benefit)
Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]
Schedule of Effective Income Tax Rate Reconciliation
Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]
Schedule of Deferred Tax Assets and Liabilities
Schedule of Deferred Tax Assets and Liabilities [Table Text Block]
Schedule of Available-for-sale Securities [Table]
Schedule of Available-for-sale Securities [Table]
Major Types of Debt and Equity Securities [Axis]
Major Types of Debt and Equity Securities [Axis]
Major Types of Debt and Equity Securities [Domain]
Major Types of Debt and Equity Securities [Domain]
U.S. Treasury securities and obligations of U.S. government agencies
US Treasury and Government [Member]
Schedule of Available-for-sale Securities [Line Items]
Schedule of Available-for-sale Securities [Line Items]
Cash and investments held with various state insurance departments
Cash, Cash Equivalents, and Short-term Investments
Gross unrealized losses
Available-for-sale Securities, Continuous Unrealized Loss Position, Accumulated Loss
Unrealized losses for a period of 12 months or greater
Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss
Other-than-temporary impairment
Other than Temporary Impairment Losses, Investments, Portion Recognized in Earnings, Net, Available-for-sale Securities
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]
Stock Options, Outstanding [Roll Forward]
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]
Options beginning balance (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number
Options granted (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross
Options exercised (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period
Options forfeited (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period
Options expired (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Expirations in Period
Options ending balance (in shares)
Stock Options, Weighted Average Grant Date Fair Value Per Share [Roll Forward]
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Grant Date Fair Value [Roll Forward]
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Grant Date Fair Value [Roll Forward]
Options beginning balance (in dollars per share)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Weighted Average Grant Date Fair Value
Options granted (in dollars per share)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value
Options exercised (in dollars per share)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Weighted Average Grant Date Fair Value
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Weighted Average Grant Date Fair Value
Options forfeited (in dollars per share)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Weighted Average Grant Date Fair Value
Options expired (in dollars per share)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Expired, Weighted Average Grant Date Fair Value
Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Expired, Weighted Average Grant Date Fair Value
Options ending balance (in dollars per share)
Stock Options, Weighted Average Exercise Price [Roll Forward]
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]
Options beginning balance (in dollars per share)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price
Options granted (in dollars per share)
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price
Options exercised (in dollars per share)
Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price
Options forfeited (in dollars per share)
Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price
Options expired (in dollars per share)
Share-based Compensation Arrangements by Share-based Payment Award, Options, Expirations in Period, Weighted Average Exercise Price
Options beginning balance (in dollars per share)
Insurance [Abstract]
Schedule of Combined Statutory Net Loss, Statutory Surplus, Contingency Reserve and RTC Ratios
Statutory Accounting Practices Disclosure [Table Text Block]
Commitments and Contingencies Disclosure [Abstract]
2018
Operating Leases, Future Minimum Payments Due, Next Twelve Months
2019
Operating Leases, Future Minimum Payments, Due in Two Years
2020
Operating Leases, Future Minimum Payments, Due in Three Years
2021
Operating Leases, Future Minimum Payments, Due in Four Years
2022
Operating Leases, Future Minimum Payments, Due in Five Years
2023
Operating Leases, Future Minimum Payments, Due in Six Years
Operating Leases, Future Minimum Payments, Due in Six Years
Totals
Operating Leases, Future Minimum Payments Due
Debt Disclosure [Abstract]
Schedule of Future Principal Payments
Schedule of Maturities of Long-term Debt [Table Text Block]
Condensed Income Statement [Table]
Condensed Income Statement [Table]
Parent
Parent Company [Member]
Condensed Income Statements, Captions [Line Items]
Condensed Income Statements, Captions [Line Items]
Change in unrealized investment gains (losses), tax amount
Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Tax
Reclassification adjustment from AOCI for sale of securities, tax
Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax
Accounting Policies [Abstract]
Schedule of Error Corrections and Prior Period Adjustment Restatement [Table]
Schedule of Error Corrections and Prior Period Adjustment Restatement [Table]
Scenario [Axis]
Scenario [Axis]
Scenario, Unspecified [Domain]
Scenario, Unspecified [Domain]
Previously Reported
Scenario, Previously Reported [Member]
Prior Period Adjustments [Line Items]
Error Corrections and Prior Period Adjustments Restatement [Line Items]
Income Statement
Income Statement Related Disclosures [Abstract]
Net income (loss)
Net Income (Loss) Attributable to Parent
Income tax expense (benefit)
Income Tax Expense (Benefit)
Basic earnings (loss) per share (in dollars per share)
Earnings Per Share, Basic
Diluted earnings (loss) per share (in dollars per share)
Earnings Per Share, Diluted
Balance Sheet
Balance Sheet Related Disclosures [Abstract]
Deferred tax asset, net
Deferred Income Tax Assets, Net
Total assets
Assets
Accumulated deficit
Retained Earnings (Accumulated Deficit)
Total shareholders' equity
Stockholders' Equity Attributable to Parent
Statement of Cash Flows
Additional Cash Flow Elements and Supplemental Cash Flow Information [Abstract]
Deferred income taxes
Deferred Income Taxes and Tax Credits
Footnote 11. Income Taxes
Reconciliation between the statutory to effective income tax (benefit) rate:
Effective Income Tax Rate Reconciliation, Percent [Abstract]
Valuation allowance
Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Percent
Effective income tax rate
Effective Income Tax Rate Reconciliation, Percent
Components of net deferred income tax asset (liability):
Components of Deferred Tax Assets and Liabilities [Abstract]
Share-based compensation
Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Share-based Compensation Cost
Valuation allowance
Deferred Tax Assets, Valuation Allowance
Schedule of Effects of Reinsurance Agreements
Effects of Reinsurance [Table Text Block]
Property, Plant and Equipment [Abstract]
Schedule of Equipment and Software
Property, Plant and Equipment [Table Text Block]
Document and Entity Information [Abstract]
Document and Entity Information [Abstract]
Entity Registrant Name
Entity Registrant Name
Entity Central Index Key
Entity Central Index Key
Document Type
Document Type
Document Period End Date
Document Period End Date
Amendment Flag
Amendment Flag
Document Fiscal Year Focus
Document Fiscal Year Focus
Document Fiscal Period Focus
Document Fiscal Period Focus
Current Fiscal Year End Date
Current Fiscal Year End Date
Entity Well-known Seasoned Issuer
Entity Well-known Seasoned Issuer
Entity Voluntary Filers
Entity Voluntary Filers
Entity Current Reporting Status
Entity Current Reporting Status
Entity Filer Category
Entity Filer Category
Entity Public Float
Entity Public Float
Entity Common Stock, Shares Outstanding
Entity Common Stock, Shares Outstanding
Condensed Balance Sheet Statement [Table]
Condensed Balance Sheet Statement [Table]
Condensed Balance Sheet Statements, Captions [Line Items]
Condensed Balance Sheet Statements, Captions [Line Items]
Assets
Assets [Abstract]
Fixed maturities, available-for-sale, at fair value (amortized cost of $713,859 and $630,688 as of December 31, 2017 and December 31, 2016, respectively)
Available-for-sale Securities, Debt Securities
Cash and cash equivalents
Cash and Cash Equivalents, at Carrying Value
Investment in subsidiaries, at equity in net assets
Equity Method Investments
Accrued investment income
Accrued Investment Income Receivable
Prepaid expenses
Prepaid Expense
Due from affiliates, net
Due from Affiliates
Software and equipment, net
Property, Plant and Equipment, Net
Other assets
Other Assets
Total assets
Liabilities
Liabilities [Abstract]
Term loan
Long-term Debt
Accounts payable and accrued expenses
Accounts Payable and Accrued Liabilities
Warrant liability, at fair value
Warrant Liability
Warrant Liability
Total liabilities
Liabilities
Equity [Abstract]
Equity [Abstract]
Common stock - class A shares, $0.01 par value; 60,517,512 and 59,145,161 shares issued and outstanding as of December 31, 2017 and December 31, 2016, respectively (250,000,000 shares authorized)
Common Stock, Value, Outstanding
Additional paid-in capital
Additional Paid in Capital
Accumulated other comprehensive loss, net of tax
Accumulated Other Comprehensive Income (Loss), Net of Tax
Total shareholders' equity
Total liabilities and shareholders' equity
Liabilities and Equity
Fair Value Disclosures [Abstract]
Fair Value Measurements, Recurring and Nonrecurring [Table]
Fair Value Measurements, Recurring and Nonrecurring [Table]
Municipal debt securities
US States and Political Subdivisions Debt Securities [Member]
Corporate debt securities
Corporate Debt Securities [Member]
Asset-backed securities
Asset-backed Securities [Member]
Long-term investments - other
Other Debt Obligations [Member]
Measurement Frequency [Axis]
Measurement Frequency [Axis]
Fair Value, Measurement Frequency [Domain]
Fair Value, Measurement Frequency [Domain]
Fair Value, Measurements, Recurring
Fair Value, Measurements, Recurring [Member]
Fair Value, Hierarchy [Axis]
Fair Value, Hierarchy [Axis]
Fair Value Hierarchy [Domain]
Fair Value Hierarchy [Domain]
Quoted Prices in Active Markets for Identical Assets (Level 1)
Fair Value, Inputs, Level 1 [Member]
Significant Other Observable Inputs (Level 2)
Fair Value, Inputs, Level 2 [Member]
Significant Unobservable Inputs (Level 3)
Fair Value, Inputs, Level 3 [Member]
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]
Fair Value
Available-for-sale Securities
Cash, cash equivalents and short-term investments
Cash and Cash Equivalents, Fair Value Disclosure
Total assets
Assets, Fair Value Disclosure
Warrant liability
Total liabilities
Financial and Nonfinancial Liabilities, Fair Value Disclosure
Warrants issued (in shares)
Class of Warrant or Right, Number of Securities Called by Warrants or Rights
Right to purchase, number of shares per warrant
Number Of Shares, Right To Purchase Per Warrant
Number Of Shares, Right To Purchase Per Warrant
Exercise price of warrants (in dollars per warrant)
Class of Warrant or Right, Exercise Price of Warrants or Rights
Warrants value
Warrants and Rights Outstanding
Warrants exercised (in shares)
Class of Warrant or Right, Number of Warrants Exercised During Period
Class of Warrant or Right, Number of Warrants Exercised During Period
Stock issued upon exercise of warrants (in shares)
Stock Issued During Period, Shares, Conversion of Convertible Securities
Goodwill and Intangible Assets Disclosure [Abstract]
Intangible Assets and Goodwill
Intangible Assets Disclosure [Text Block]
Federal statutory income tax rate
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent
Re-measurement from change in federal statutory rate
Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Percent
Share-based and other compensation
Effective Income Tax Rate Reconciliation, Nondeductible Expense, Share-based Compensation Cost, Percent
Warrant gain/loss
Effective Income Tax Rate Reconciliation, Warrant Gain (Loss), Percent
Effective Income Tax Rate Reconciliation, Warrant Gain (Loss), Percent
Other
Effective Income Tax Rate Reconciliation, Other Adjustments, Percent
Effective income tax rate
Statement [Table]
Statement [Table]
Statement [Line Items]
Statement [Line Items]
Common stock, par value (in dollars per share)
Common Stock, Par or Stated Value Per Share
Common stock, shares issued (in shares)
Common Stock, Shares, Issued
Common stock, shares outstanding (in shares)
Common Stock, Shares, Outstanding
Common stock, shares authorized (in shares)
Common Stock, Shares Authorized
Subsequent Event [Table]
Subsequent Event [Table]
Subsequent Event Type [Axis]
Subsequent Event Type [Axis]
Subsequent Event Type [Domain]
Subsequent Event Type [Domain]
Subsequent Event
Subsequent Event [Member]
Ceded Credit Risk, Reinsurer [Axis]
Ceded Credit Risk, Reinsurer [Axis]
Ceded Credit Risk, Reinsurer [Domain]
Ceded Credit Risk, Reinsurer [Domain]
Third-Party Reinsurers
Third-Party Reinsurers [Member]
Third-Party Reinsurers [Member]
Reinsurance Policy, Type [Axis]
Reinsurance Policy, Type [Axis]
Reinsurance Policy [Domain]
Reinsurance Policy [Domain]
Eligible Policies Written in 2018
Eligible Policies, Pool Four [Member]
Eligible Policies, Pool Four [Member]
Eligible Policies Written in 2019
Eligible Policies, Pool Five [Member]
Eligible Policies, Pool Five [Member]
Range [Axis]
Range [Axis]
Range [Domain]
Range [Domain]
Minimum
Minimum [Member]
Maximum
Maximum [Member]
Subsequent Event [Line Items]
Subsequent Event [Line Items]
Percent of policies ceded under QSR Transaction
Reinsurance Retention Policy, Reinsured Risk, Percentage
Ceding commissions under QSR Transaction
Ceded Credit Risk, Commission Earned, Percentage
Ceded Credit Risk, Commission Earned, Percentage
Profit commission earned on ceded premiums under QSR Transaction
Ceded Credit Risk, Profit Commission Earned On Ceded Premiums, Percentage
Ceded Credit Risk, Profit Commission Earned On Ceded Premiums, Percentage
Liability for Claims and Claims Adjustment Expense [Table]
Liability for Claims and Claims Adjustment Expense [Table]
2016 QSR Transaction
Two Thousand Sixteen QSR Transaction [Member]
Two Thousand Sixteen QSR Transaction [Member]
Counterparty Name [Axis]
Counterparty Name [Axis]
Counterparty Name [Domain]
Counterparty Name [Domain]
Fannie Mae
Fannie Mae [Member]
Fannie Mae [Member]
Liability for Claims and Claims Adjustment Expense [Line Items]
Liability for Claims and Claims Adjustment Expense [Line Items]
IBNR default period (at least)
Liability for Unpaid Claims and Claims Adjustment Expense, Incurred but Not Reported (IBNR) Claims, Default Period
Liability for Unpaid Claims and Claims Adjustment Expense, Incurred but Not Reported (IBNR) Claims, Default Period
Reserve for insurance claims and claim expenses
Liability for Claims and Claims Adjustment Expense
Primary loans in default
Liability for Unpaid Claims and Claims Adjustment Expense, Incurred but Not Reported (IBNR) Claims, Number of Primary Loans in Default
Liability for Unpaid Claims and Claims Adjustment Expense, Incurred but Not Reported (IBNR) Claims, Number of Primary Loans in Default
Number of claims paid
Liability for Paid Claims and Claims Adjustment Expense, Number of Paid Claims
Liability for Paid Claims and Claims Adjustment Expense, Number of Paid Claims
Claims paid including amounts covered by insurance
Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid Including Amounts Covered By Insurance
Amount of payments to settle insured claims and pay costs incurred in the claims settlement process, including amount covered by insurance.
Number of covered claims included in number of claims paid
Liability for Paid Claims and Claims Adjustment Expense, Number of Covered Claims Included In Number of Paid Claims
Liability for Paid Claims and Claims Adjustment Expense, Number of Covered Claims Included In Number of Paid Claims
Component of claims paid covered under QSR Transaction
Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid Including Amounts Covered By Insurance, Amount Under QSR Transaction
Component of total amount of payments to settle insured claims and pay costs incurred in the claims settlement process, including amount covered by insurance, covered under QSR transaction.
Number of loans in pool past due 60 days or more
Loans In Pool, Past Due 60 Days Or More, Number Of Loans
Loans In Pool, Past Due 60 Days Or More, Number Of Loans
Risk-in-Force of loans in pool past due 60 days or more
Loans In Pool, Past Due 60 Days Or More, Loan Risk in Force
Loans In Pool, Past Due 60 Days Or More, Risk in Force
Loan-to-value ratio (less than)
Loans In Pool, Loan To Value Ratio
Loans In Pool, Loan To Value Ratio
Claims applied to pool deductible
Liability for Unpaid Claims and Claims Adjustment Expense, Claims Applied to Deductible
Liability for Unpaid Claims and Claims Adjustment Expense, Claims Applied to Deductible
Deductible on policy
Mortgage Pool Insurance, Claim Deductible
Mortgage Pool Insurance, Claim Deductible
Percent of pool RIF reinsured
Favorable prior year development
Prior Year Claims and Claims Adjustment Expense
Reserve for prior year insurance claims and claims expense
Liability for Prior Year Claims and Claims Adjustment Expense
Liability for Prior Year Claims and Claims Adjustment Expense
Statement of Comprehensive Income [Abstract]
Income Taxes
Income Tax Disclosure [Text Block]
Income Statement [Abstract]
Revenues
Revenues [Abstract]
Net premiums earned
Premiums Earned, Net
Net investment income
Net Investment Income
Net realized investment gains (losses)
Available-for-sale Securities, Gross Realized Gain (Loss)
Other revenues
Other Revenue, Net
Total revenues
Revenues
Expenses
Costs and Expenses [Abstract]
Insurance claims and claims expenses
Policyholder Benefits and Claims Incurred, Net, Property, Casualty and Liability
Underwriting and operating expenses
Other Cost and Expense, Operating
Total expenses
Costs and Expenses
Other expense
Other Income, Nonoperating [Abstract]
(Loss) gain from change in fair value of warrant liability
Gain (Loss) on Change in Fair Value of Warrant Liability
Gain (Loss) on Change in Fair Value of Warrant Liability
Interest expense
Interest Expense
Total other expense
Other Nonoperating Income (Expense)
Net income (loss)
Earnings (loss) per share
Earnings Per Share, Basic and Diluted [Abstract]
Earnings (loss) per share, basic (in dollars per share)
Earnings (loss) per share, diluted (in dollars per share)
Weighted average common shares outstanding
Weighted Average Number of Shares Outstanding Reconciliation [Abstract]
Weighted average common shares outstanding, basic (in shares)
Weighted Average Number of Shares Outstanding, Basic
Weighted average common shares outstanding, diluted (in shares)
Weighted Average Number of Shares Outstanding, Diluted
Other comprehensive income (loss), net of tax:
Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]
Net unrealized gains (losses) in accumulated other comprehensive income, net of tax expense of $1,234, $1,178, and $0 for each of the years in the three-year period ended December 31, 2017, respectively
Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Net of Tax
Reclassification adjustment for realized losses (gains) included in net income, net of tax expense of $73, $0, and $0 for each of the years in the three-years ended December 31, 2017, respectively
Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax
Other comprehensive income (loss), net of tax
Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent
Comprehensive income (loss)
Comprehensive Income (Loss), Net of Tax, Attributable to Parent
Schedule of Identifiable Intangible Assets and Goodwill
Schedule of Indefinite-Lived Intangible Assets [Table Text Block]
Schedule of Stock Option Activity
Share-based Compensation, Stock Options, Activity [Table Text Block]
Schedule of Stock Options Valuation Assumptions
Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]
Schedule of Restricted Stock Units Activity
Schedule of Share-based Compensation, Restricted Stock Units Award Activity [Table Text Block]
Deferred tax asset
Deferred Tax Assets, Gross [Abstract]
Net operating loss carry forwards
Deferred Tax Assets, Operating Loss Carryforwards
Unearned premium reserve
Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Unearned Premiums Reserve
Deferred ceding commissions
Deferred Tax Assets, Deferred Ceding Commissions
Deferred Tax Assets, Deferred Ceding Commissions
Capitalized start-up costs
Deferred Tax Assets, Tax Deferred Expense, Start-up Costs
Deferred Tax Assets, Tax Deferred Expense, Start-up Costs
Unrealized loss on investments
Deferred Tax Assets, Investments
Alternative minimum tax credit
Deferred Tax Assets, Tax Credit Carryforwards, Alternative Minimum Tax
Other
Deferred Tax Assets, Other
Total gross deferred tax assets
Deferred Tax Assets, Gross
Less: valuation allowance
Total deferred tax assets
Deferred Tax Assets, Net of Valuation Allowance
Deferred tax liability
Deferred Tax Liabilities, Gross [Abstract]
Deferred acquisition costs
Deferred Tax Liabilities, Deferred Expense, Deferred Policy Acquisition Cost
Capitalized software
Deferred Tax Liabilities, Deferred Expense, Capitalized Software
Unrealized gain on investments
Deferred Tax Liabilities, Investments
Intangible assets
Deferred Tax Liabilities, Intangible Assets
Other
Deferred Tax Liabilities, Other
Total deferred tax liabilities
Deferred Tax Liabilities, Gross
Net deferred tax asset
Deferred Tax Assets, Net
Summary of Investments, Other than Investments in Related Parties [Abstract]
Summary of Investments - Other than Investments in Related Parties
Summary of Investments, Other than Investments in Related Parties [Text Block]
Short-duration Insurance Contracts, Historical Claims Duration [Table]
Short-duration Insurance Contracts, Historical Claims Duration [Table]
Products and Services [Axis]
Products and Services [Axis]
Products and Services [Domain]
Products and Services [Domain]
Financial Guarantee Insurance Product Line
Financial Guarantee Insurance Product Line [Member]
Average annual percentage payout of incurred claims and allocated claims adjustment expenses by age, net of reinsurance
Short-duration Insurance Contracts, Historical Claims Duration [Line Items]
Year 1
Short-duration Insurance Contracts, Historical Claims Duration, Year One
Year 2
Short-duration Insurance Contracts, Historical Claims Duration, Year Two
Year 3
Short-duration Insurance Contracts, Historical Claims Duration, Year Three
Year 4
Short-duration Insurance Contracts, Historical Claims Duration, Year Four
Year 5
Short-duration Insurance Contracts, Historical Claims Duration, Year Five
Quarterly Financial Information Disclosure [Abstract]
Quarterly Financial Data (Unaudited)
Quarterly Financial Information [Text Block]
Reserves for Insurance Claims and Claim Expenses
Liability for Future Policy Benefits and Unpaid Claims Disclosure [Text Block]
Commitments and Contingencies
Commitments and Contingencies Disclosure [Text Block]
Capitalized costs related to software, equipment, and leaseholds
Capitalized Costs, Additions To Software, Equipment, Leasehold
Capitalized Costs, Additions To Software, Equipment, Leasehold
Depreciation and amortization
Depreciation, Depletion and Amortization
Statement of Stockholders' Equity [Abstract]
Equity Components [Axis]
Equity Components [Axis]
Equity Component [Domain]
Equity Component [Domain]
Common Stock - Class A
Common Stock [Member]
Change in unrealized investment gains/losses, tax amount
Other Comprehensive Income (Loss), Available-for-sale Securities, Tax
Common stock: class A shares issued related to warrants (in shares)
Organization, Consolidation and Presentation of Financial Statements [Abstract]
Organization and Basis of Presentation
Business Description and Basis of Presentation [Text Block]
Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]
Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]
Plan Name [Axis]
Plan Name [Axis]
Plan Name [Domain]
Plan Name [Domain]
2012 Stock Incentive Plan
The 2012 Stock Incentive Plan [Member]
The 2012 Stock Incentive Plan [Member]
2014 Omnibus Incentive Plan
NMIH 2014 Omnibus Incentive Plan [Member]
NMIH 2014 Omnibus Incentive Plan [Member]
Director Phantom Share Plan
Director Phantom Share Plan [Member]
Director Phantom Share Plan [Member]
Class of Stock [Axis]
Class of Stock [Axis]
Class of Stock [Domain]
Class of Stock [Domain]
Common Class A
Common Class A [Member]
Award Type [Axis]
Award Type [Axis]
Equity Award [Domain]
Equity Award [Domain]
Stock Options
Employee Stock Option [Member]
Restricted Stock Units (RSUs)
Restricted Stock Units (RSUs) [Member]
RSUs Subject to Service Conditions
Restricted Stock Units (RSUs), Subject to Service Conditions [Member]
Restricted Stock Units (RSUs), Subject to Service Conditions [Member]
RSUs Subject to Service and Performance Conditions
Restricted Stock Units (RSUs), Subject to Service And Performance Conditions [Member]
Restricted Stock Units (RSUs), Subject to Service And Performance Conditions [Member]
Phantom Share Units (PSUs)
Phantom Share Units (PSUs) [Member]
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Number of shares authorized to be reserved for issuance (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized
Additional shares authorized (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized
Expiration period (not more than)
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period
Award requisite service period
Share-based Compensation Arrangement by Share-based Payment Award, Award Requisite Service Period
Number of options vested (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Number
Options exercised (in shares)
Aggregate intrinsic value of options exercised
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value
Weighted average exercise price for options vested (in dollars per share)
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Exercise Price
Weighted average remaining contractual term
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Remaining Contractual Term
Options vested aggregate value
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Aggregate Intrinsic Value
Unrecognized compensation cost related to non-vested stock options
Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options
Unrecognized compensation cost, period for recognition
Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition
Restricted stock units outstanding (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number
Share-based awards vesting period (in years)
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period
Fair value of shares vested
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value
Weighted average remaining contractual life of RSUs outstanding
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Outstanding, Weighted Average Remaining Contractual Terms
Unrecognized compensation cost related to RSUs
Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Share-based Awards Other than Options
Number of non-vested RSUs modified (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Plan Modification, Number of Shares Outstanding and Unvested Affected
Share-based Compensation Arrangement by Share-based Payment Award, Plan Modification, Number of Shares Outstanding and Unvested Affected
Number of employees affected by award modification
Share-based Compensation Arrangement by Share-based Payment Award, Plan Modification, Number of Employees Affected
Incremental compensation cost related to modification
Share-based Compensation Arrangement by Share-based Payment Award, Plan Modification, Incremental Compensation Cost
Employer matching contribution, percent of match (up to)
Defined Contribution Plan, Employer Matching Contribution, Percent of Match
Employer matching contribution, percent of employees' gross pay (up to)
Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay
Contribution amount
Defined Contribution Plan, Employer Discretionary Contribution Amount
Share-based awards granted (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period
Number of independent directors granted share-based award
Share-based Compensation Arrangement by Share-based Payment Award, Number of Independent Directors
Share-based Compensation Arrangement by Share-based Payment Award, Number of Independent Directors
Grant date fair market value of share-based award
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Granted, Fair Market Value
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Granted, Fair Market Value
Cash used to settle phantom share awards
Employee Service Share-based Compensation, Cash Flow Effect, Cash Used to Settle Awards
Statutory Accounting Practices [Table]
Statutory Accounting Practices [Table]
Legal Entity [Axis]
Legal Entity [Axis]
Entity [Domain]
Entity [Domain]
NMIC and Re one Combined
NMic and Re one Combined [Member]
NMic and Re one Combined [Member]
Statutory Accounting Practices [Line Items]
Statutory Accounting Practices [Line Items]
Statutory net loss
Statutory Accounting Practices, Statutory Net Income Amount
Statutory surplus
Statutory Accounting Practices, Statutory Capital and Surplus, Balance
Contingency reserve
Statutory Accounting Practices, Contingency Reserve
Contingency reserve recorded under Statutory Accounting Principles is a liability to protect against loss during periods of extreme contraction.
Risk-to-Capital
Risk To Capital Ratio Regulatory Actual
This concept represents an entity's ratio of net risk in force (excludes risk ceded through reinsurance contracts and risk in force on defaulted loans) to the amount of statutory capital (defined as the sum of statutory policyholders' surplus plus statutory contingency reserves).
Additional Paid-in Capital
Additional Paid-in Capital [Member]
Accumulated Other Comprehensive Income (Loss)
AOCI Attributable to Parent [Member]
Accumulated Deficit
Retained Earnings [Member]
Increase (Decrease) in Stockholders' Equity [Roll Forward]
Increase (Decrease) in Stockholders' Equity [Roll Forward]
Beginning balance
Beginning balance (in shares)
Shares, Outstanding
Cumulative effect of change in accounting principle
Cumulative Effect of New Accounting Principle in Period of Adoption
Common stock: class A shares issued related to warrants
Stock Issued During Period, Value, Conversion of Convertible Securities
Common stock: class A shares issued under stock plans, net of shares withheld for employee taxes
Stock Issued During Period, Value, Employee Stock Purchase Plan, Net of Tax Withholdings
Stock Issued During Period, Value, Employee Stock Purchase Plan, Net of Tax Withholdings
Common stock: class A shares issued under stock plans, net of shares withheld for employee taxes (in shares)
Stock Issued During Period, Shares, Employee Stock Purchase Plans, Net of Shares For Tax Withholdings
Stock Issued During Period, Shares, Employee Stock Purchase Plans, Net of Shares For Tax Withholdings
Share-based compensation expense
Adjustments to Additional Paid in Capital, Share-based Compensation, Requisite Service Period Recognition
Change in unrealized investment gains/losses, net of tax expense ($1,307 in 2017; $1,178 in 2016; $0 in 2015)
Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax
Ending balance
Ending balance (in shares)
Schedule of Long-term Debt Instruments [Table]
Schedule of Long-term Debt Instruments [Table]
Long-term Debt, Type [Axis]
Long-term Debt, Type [Axis]
Long-term Debt, Type [Domain]
Long-term Debt, Type [Domain]
Senior Secured Term Loan B
Senior Secured Debt [Member]
Senior Secured Debt [Member]
Debt Instrument [Axis]
Debt Instrument [Axis]
Debt Instrument, Name [Domain]
Debt Instrument, Name [Domain]
Credit Agreement
Credit Agreement [Member]
Credit Agreement [Member]
Credit Agreement Amendment
Credit Agreement Amendment [Member]
Credit Agreement Amendment [Member]
Variable Rate [Axis]
Variable Rate [Axis]
Variable Rate [Domain]
Variable Rate [Domain]
Eurodollar
Eurodollar [Member]
Debt Instrument [Line Items]
Debt Instrument [Line Items]
Debt instrument, face amount
Debt Instrument, Face Amount
Debt instrument term
Debt Instrument, Term
Variable rate floor
Debt Instrument, Variable Interest Rate Floor
Debt Instrument, Variable Interest Rate Floor
Basis spread on variable rate
Debt Instrument, Basis Spread on Variable Rate
Interest rate during period
Debt Instrument, Interest Rate During Period
Periodic payment of principal
Debt Instrument, Periodic Payment, Principal
Term loan
Long-term Debt, Gross
Payments of Debt Issuance Costs
Debt Issuance Costs, Gross
Percentage of debt discount
Debt Discount (Premium), Percentage
Debt Discount (Premium), Percentage
Debt instrument covenant, maximum debt-to-total capitalization ratio
Debt Instrument, Covenant, Debt to Total Capitalization Ratio, Maximum
Debt Instrument, Covenant, Debt to Total Capitalization Ratio, Maximum
Debt Instrument covenant, maximum risk-to-capital ratio
Debt Instrument, Covenant, Risk to Capital Ratio, Maximum
Debt Instrument, Covenant, Risk to Capital Ratio, Maximum
Debt Instrument, Covenant, Liquidity Requirement, Minimum
Debt Instrument, Covenant, Liquidity Requirement, Minimum
Debt Instrument, Covenant, Liquidity Requirement, Minimum
Gross realized investment gains
Available-for-sale Securities, Gross Realized Gains
Gross realized investment losses
Available-for-sale Securities, Realized Losses, Excluding Other than Temporary Impairments
Net realized investment gains (losses)
Available-for-sale Securities, Gross Realized Gain (Loss), Excluding Other than Temporary Impairments
Reconciliation of Liability for Insurance Claims and Claims Expenses
Schedule of Liability for Unpaid Claims and Claims Adjustment Expense [Table Text Block]
Schedule of Claims Development Data
Short-duration Insurance Contracts, Claims Development [Table Text Block]
Schedule of Reconciliation of Claims Development to Liability
Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Table Text Block]
Schedule of Historical Claims Duration
Short-duration Insurance Contracts, Schedule of Historical Claims Duration [Table Text Block]
Statement of Cash Flows [Abstract]
Cash flows from operating activities
Net Cash Provided by (Used in) Operating Activities [Abstract]
Adjustments to reconcile net income (loss) to net cash provided by operating activities:
Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]
Net realized investment (gains) losses
Loss (gain) from change in fair value of warrant liability
Fair Value Adjustment of Warrants
Depreciation and amortization
Depreciation, Amortization and Accretion, Net
Net amortization of premium on investment securities
Accretion (Amortization) of Discounts and Premiums, Investments
Amortization of debt discount and debt issuance costs
Amortization of Debt Issuance Costs and Discounts
Share-based compensation expense
Share-based Compensation
Changes in operating assets and liabilities:
Increase (Decrease) in Other Operating Assets and Liabilities, Net [Abstract]
Accrued investment income
Increase (Decrease) in Premiums Receivable
Premiums receivable
Increase (Decrease) in Accrued Investment Income Receivable
Prepaid expenses
Increase (Decrease) in Prepaid Expense
Deferred policy acquisition costs, net
Increase (Decrease) in Deferred Policy Acquisition Costs
Other assets
Increase (Decrease) in Prepaid Expense and Other Assets
Unearned premiums
Increase (Decrease) in Unearned Premiums
Reserve for insurance claims and claim expenses
Increase (Decrease) in Liability for Claims and Claims Adjustment Expense Reserve
Reinsurance balances, net
Increase (Decrease) in Reinsurance Assets and Liabilities
Increase (Decrease) in Reinsurance Assets and Liabilities
Accounts payable and accrued expenses
Increase (Decrease) in Accounts Payable and Accrued Liabilities
Net cash provided by operating activities
Net Cash Provided by (Used in) Operating Activities
Cash flows from investing activities
Net Cash Provided by (Used in) Investing Activities [Abstract]
Purchase of short-term investments
Payments to Acquire Short-term Investments
Purchase of fixed-maturity investments, available-for-sale
Payments to Acquire Available-for-sale Securities, Debt
Proceeds from maturity of short-term investments
Proceeds from Sale of Short-term Investments
Proceeds from redemptions, maturities and sale of fixed-maturity investments, available-for-sale
Proceeds from Sale and Maturity of Available-for-sale Securities
Software and equipment
Payments to Acquire Property, Plant, and Equipment
Net cash used in provided by investing activities
Net Cash Provided by (Used in) Investing Activities
Cash flows from financing activities
Net Cash Provided by (Used in) Financing Activities [Abstract]
Taxes paid related to net share settlement of equity awards
Payments Related to Tax Withholding for Share-based Compensation
Proceeds from issuance of common stock related to employee equity plans
Proceeds from Issuance of Shares under Incentive and Share-based Compensation Plans, Including Stock Options
Proceeds from issuance of common stock related to warrants
Proceeds from Issuance of Common Stock
Proceeds from term loan, net of discount
Proceeds from Issuance of Long-term Debt
Repayments of term loan
Repayments of Long-term Debt
Payments of debt modification costs
Payments of Debt Issuance Costs
Net cash (used in) provided by financing activities
Net Cash Provided by (Used in) Financing Activities
Net decrease in cash and cash equivalents
Cash and Cash Equivalents, Period Increase (Decrease)
Cash and cash equivalents, beginning of period
Cash and cash equivalents, end of period
Supplemental disclosures of cash flow information
Supplemental Cash Flow Information [Abstract]
Interest paid
Interest Paid
Income taxes paid
Income Taxes Paid
Current
Current Income Tax Expense (Benefit)
Deferred
Deferred Income Tax Expense (Benefit)
Total income tax expense (benefit)
Ceded Credit Risk [Table]
Ceded Credit Risk [Table]
Ceded Credit Risk [Line Items]
Ceded Credit Risk [Line Items]
Ceded risk-in-force
Risk In Force, Ceded
Risk In Force, Ceded
Ceded premiums written
Ceded Premiums Written
Ceded premiums earned
Ceded Premiums Earned
Ceded claims and claims expenses
Reinsurance Ceded Claims and Claims Expenses
Reinsurance Ceded Claims and Claims Expenses
Ceding commission written
Reinsurance Ceding Commission Written
Reinsurance Ceding Commission Written
Ceding commission earned
Reinsurance Ceding Commission Earned
Reinsurance Ceding Commission Earned
Profit commission
Reinsurance Profit Commission
Reinsurance Profit Commission
Interest expense
Loss (income) per share
Earnings Per Share [Abstract]
Statement of Financial Position [Abstract]
Premiums receivable
Premiums Receivable, Net
Deferred policy acquisition costs, net
Deferred Policy Acquisition Costs
Intangible assets and goodwill
Intangible Assets, Net (Including Goodwill)
Prepaid reinsurance premiums
Prepaid Reinsurance Premiums
Unearned premiums
Unearned Premiums
Reinsurance funds withheld
Funds Held under Reinsurance Agreements, Liability
Deferred ceding commission
Deferred Revenue
Commitments and contingencies
Commitments and Contingencies
Shareholders' equity
Stockholders' Equity Attributable to Parent [Abstract]
Basis of Presentation
Basis of Accounting, Policy [Policy Text Block]
Insurance Premium Revenue Recognition
Insurance Premiums Revenue Recognition, Policy [Policy Text Block]
Use of Estimates
Use of Estimates, Policy [Policy Text Block]
Reserve for Insurance Claims and Claims Expenses
Liability Reserve Estimate, Policy [Policy Text Block]
Investments
Marketable Securities, Available-for-sale Securities, Policy [Policy Text Block]
Deferred Policy Acquisition Costs
Deferred Policy Acquisition Costs, Policy [Policy Text Block]
Premium Deficiency Reserves
Premium Deficiency Reserves Policy [Policy Text Block]
Premium Deficiency Reserves Policy [Policy Text Block]
Reinsurance
Reinsurance Accounting Policy [Policy Text Block]
Income Taxes
Income Tax, Policy [Policy Text Block]
Warrants
Warrants Policy [Policy Text Block]
Warrants Policy [Policy Text Block]
Share-based Compensation
Share-based Compensation, Option and Incentive Plans Policy [Policy Text Block]
Earnings per Share
Earnings Per Share, Policy [Policy Text Block]
Cash and Cash Equivalents
Cash and Cash Equivalents, Policy [Policy Text Block]
Software and Equipment
Property, Plant and Equipment, Policy [Policy Text Block]
Business Combinations, Goodwill and Intangible Assets
Goodwill and Intangible Assets, Policy [Policy Text Block]
Premiums Receivable
Premiums Receivable, Basis of Accounting, Policy [Policy Text Block]
Variable interest entity
Consolidation, Variable Interest Entity, Policy [Policy Text Block]
Recent Accounting Pronouncements
New Accounting Pronouncements, Policy [Policy Text Block]
Net premiums written
Premiums Written, Net [Abstract]
Direct
Direct Premiums Written
Ceded
Net premiums written
Premiums Written, Net
Net premiums earned
Premiums Earned, Net [Abstract]
Gross Amount
Direct Premiums Earned
Ceded
Net premiums earned
Schedule of Business Acquisitions, by Acquisition [Table]
Schedule of Business Acquisitions, by Acquisition [Table]
Business Acquisition [Axis]
Business Acquisition [Axis]
Business Acquisition, Acquiree [Domain]
Business Acquisition, Acquiree [Domain]
MAC Financial Holding Corporation and Subsidiaries
MAC Financial Holding Corporation and Subsidiaries [Member]
MAC Financial Holding Corporation and Subsidiaries [Member]
Sale of Stock [Axis]
Sale of Stock [Axis]
Sale of Stock [Domain]
Sale of Stock [Domain]
IPO
IPO [Member]
Business Acquisition [Line Items]
Business Acquisition [Line Items]
Common stock offered and sold (in shares)
Stock Issued During Period, Shares, New Issues
Proceeds from issuance of common stock, net of stock issuance costs
Proceeds From Issuance of Common Stock, Net of Stock Issuance Costs
Proceeds From Issuance of Common Stock, Net of Stock Issuance Costs
Cash, common stock and warrants issued for acquisition
Business Combination, Consideration Transferred, Cash and Equity Interests Issued and Issuable
Business Combination, Consideration Transferred, Cash and Equity Interests Issued and Issuable
Liabilities assumed in acquisition
Business Combination, Consideration Transferred, Liabilities Incurred
Number of states in which entity operates
Number of States in which Entity Operates
Revenues
Other operating expenses
Other Expenses
Other expense
Other Income and Expenses [Abstract]
Total other expenses
Equity in net income (loss) of subsidiaries
Income (Loss) from Equity Method Investments
Other comprehensive (loss) income, net of tax:
Other Comprehensive Income (Loss), Net of Tax [Abstract]
Equity in other comprehensive income (loss) of subsidiaries
Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Subsidiary
Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Subsidiary
Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques [Table]
Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques [Table]
Liability Class [Axis]
Liability Class [Axis]
Fair Value by Liability Class [Domain]
Fair Value by Liability Class [Domain]
Warrant Liability
Warrant Liability [Member]
Warrant Liability [Member]
Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques [Line Items]
Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques [Line Items]
Common Stock Price
Share Price
Risk free interest rate
Fair Value Assumptions, Risk Free Interest Rate
Expected life
Fair Value Assumptions, Expected Term
Expected volatility
Fair Value Assumptions, Expected Volatility Rate
Dividend yield
Fair Value Assumptions, Expected Dividend Rate
Summary of Accounting Principles
Significant Accounting Policies [Text Block]
Supplemental Schedule of Reinsurance Premiums for Insurance Companies [Abstract]
Reinsurance Premiums for Insurance Companies, by Product Segment [Table]
Reinsurance Premiums for Insurance Companies, by Product Segment [Table]
Reinsurance Premiums for Insurance Companies, by Product Segment [Line Items]
Reinsurance Premiums for Insurance Companies, by Product Segment [Line Items]
Gross Amount
Ceded to Other Companies
Assumed from Other Companies
Assumed Premiums Earned
Net Amount
Percentage of Amount Assumed to Net
Premiums, Percentage Assumed to Net
Schedule of Earnings Per Share, Basic and Diluted
Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]
Fair Value of Financial Instruments
Fair Value Disclosures [Text Block]
Condensed Cash Flow Statement [Table]
Condensed Cash Flow Statement [Table]
Condensed Cash Flow Statements, Captions [Line Items]
Condensed Cash Flow Statements, Captions [Line Items]
Net realized investment gains
Equity in net (income) loss of subsidiaries
Gain (Loss) on Disposition of Stock in Subsidiary or Equity Method Investee
Receivable from affiliates
Increase (Decrease) Due from Affiliates
Deferred income taxes
Capitalization of subsidiaries
Payments to Acquire Interest in Subsidiaries and Affiliates
Schedule of Quarterly Financial Information
Quarterly Financial Information [Table Text Block]
Schedule of Fair Values and Gross Unrealized Gains and Losses
Available-for-sale Securities [Table Text Block]
Schedule of Investments by Maturity
Investments Classified by Contractual Maturity Date [Table Text Block]
Schedule of Aging Unrealized Losses
Schedule of Unrealized Loss on Investments [Table Text Block]
Schedule of Net Investment Income
Investment Income [Table Text Block]
Schedule of Net Realized Investment Gains (Losses)
Realized Gain (Loss) on Investments [Table Text Block]
Total bonds
Bonds [Member]
Short-term investments
Short-term Investments [Member]
Amortized Cost
Available-for-sale Securities, Amortized Cost Basis
Gross Unrealized Gains
Available-for-sale Securities, Accumulated Gross Unrealized Gain, before Tax
Gross Unrealized (Losses)
Available-for-sale Securities, Accumulated Gross Unrealized Loss, before Tax
Fair Value
Amortized Cost
Available-for-sale Securities, Debt Maturities, Single Maturity Date, Amortized Cost Basis [Abstract]
Amortized Cost, Due in one year or less
Available-for-sale Securities, Debt Maturities, Next Twelve Months, Amortized Cost Basis
Amortized Cost, Due after one through five years
Available-for-sale Securities, Debt Maturities, Year Two Through Five, Amortized Cost Basis
Amortized Cost, Due after five through ten years
Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Amortized Cost Basis
Amortized Cost, Due after ten years
Available-for-sale Securities, Debt Maturities, after Ten Years, Amortized Cost Basis
Amortized Cost, Asset-backed securities
Available-for-sale Securities, Debt Maturities, without Single Maturity Date, Amortized Cost Basis
Fair Value
Available-for-sale Securities, Debt Maturities, Single Maturity Date [Abstract]
Fair Value, Due in one year or less
Available-for-sale Securities, Debt Maturities, Next Twelve Months, Fair Value
Fair Value, Due after one through five years
Available-for-sale Securities, Debt Maturities, Year Two Through Five, Fair Value
Fair Value, Due after five through ten years
Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Fair Value
Fair Value Due after ten years
Available-for-sale Securities, Debt Maturities, after Ten Years, Fair Value
Fair Value, Asset-backed securities
Available-for-sale Securities, Debt Maturities, without Single Maturity Date, Fair Value
Fair Value
Schedule of Prior Period Adjustments
Schedule of Error Corrections and Prior Period Adjustments [Table Text Block]
Financial Information of Registrant Reinsurance Parent Company Only
Supplemental Schedule of Reinsurance Premiums for Insurance Companies [Text Block]
Schedule of Finite-Lived Intangible Assets [Table]
Schedule of Finite-Lived Intangible Assets [Table]
Concentration Risk Type [Axis]
Concentration Risk Type [Axis]
Concentration Risk Type [Domain]
Concentration Risk Type [Domain]
Customer Concentration Risk
Customer Concentration Risk [Member]
Geographic Concentration Risk
Geographic Concentration Risk [Member]
Concentration Risk Benchmark [Axis]
Concentration Risk Benchmark [Axis]
Concentration Risk Benchmark [Domain]
Concentration Risk Benchmark [Domain]
Sales Revenue
Sales Revenue, Net [Member]
Risk-in-Force
Risk In Force Claims [Member]
Risk In Force Claims [Member]
Property, Plant and Equipment, Type [Axis]
Property, Plant and Equipment, Type [Axis]
Property, Plant and Equipment, Type [Domain]
Property, Plant and Equipment, Type [Domain]
Software
Software and Software Development Costs [Member]
Equipment
Equipment [Member]
Adjustments for New Accounting Pronouncements [Axis]
Adjustments for New Accounting Pronouncements [Axis]
Type of Adoption [Domain]
Type of Adoption [Domain]
ASU 2016-09
Accounting Standards Update 2016-09 [Member]
Retained Earnings
Restatement Adjustment
Restatement Adjustment [Member]
Finite-Lived Intangible Assets [Line Items]
Finite-Lived Intangible Assets [Line Items]
Concentration risk
Concentration Risk, Percentage
Amortization of deferred acquisition expense
Deferred Policy Acquisition Costs, Amortization Expense
Premium deficiency reserve expense
Premium Deficiency Reserve, Expense
Premium Deficiency Reserve, Expense
Estimated useful life
Property, Plant and Equipment, Useful Life
Schedule of Future Minimum Lease Payments
Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]
Regulatory Information
Insurance Disclosure [Text Block]
Future Principal Payments [Abstract]
Long-term Debt, Fiscal Year Maturity [Abstract]
2018
Long-term Debt, Maturities, Repayments of Principal in Next Twelve Months
2019
Long-term Debt, Maturities, Repayments of Principal in Year Two
Total
Software and Equipment
Property, Plant and Equipment Disclosure [Text Block]
NMIC
NMIC [Member]
NMIC [Member]
Maximum permitted RTC ratio
Maximum Permitted RTC Ratio
Maximum Permitted RTC Ratio
Number of states which require minimum amount of statutory capital relative to risk in force
Number of States Which Require Minimum Amount of Statutory Capital Relative to Risk In Force
Number of States Which Require Minimum Amount of Statutory Capital Relative to Risk In Force
Risk-to-capital
Risk To Capital Ratio Regulatory Maximum
Risk To Capital Ratio Regulatory Maximum
Mortgage insurance risk in force
Mortgage Insurance Risk in Force
This concept represents the risk in force (an estimate of the maximum loss exposure that an entity has at any point in time).
Mortgage insurance, percentage of indebtedness on single loan
Mortgage Insurance, Percentage of Indebtedness on Single Loan, Limit
Mortgage Insurance, Percentage of Indebtedness on Single Loan, Limit
Shareholders' equity
Ordinary dividends, restriction with regards to capital surplus
Ordinary Dividends, Restriction with Regards to Capital Surplus
This concept represents the maximum percentage of surplus as of the prior year that an insurer may pay out in ordinary dividends without prior approval of the Wisconsin Office of the Commissioner of Insurance under Wisconsin law.
Number of securities
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions [Abstract]
Number of Securities, Less than 12 Months
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Less than One Year
Number of Securities, 12 Months or Greater
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Greater than or Equal to One Year
Number of Securities, Total
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions
Fair value
Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value [Abstract]
Fair Value, Less than 12 Months
Available-for-sale Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value
Fair Value, 12 Months or Greater
Available-for-sale Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value
Fair Value, Total
Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value
Unrealized loss
Available-for-sale Securities, Continuous Unrealized Loss Position, Aggregate Loss [Abstract]
Unrealized Losses, Less than 12 Months
Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss
Unrealized Losses, 12 Months or Greater
Unrealized Losses, Total
Schedule of Indefinite-Lived Intangible Assets [Table]
Schedule of Indefinite-Lived Intangible Assets [Table]
Indefinite-lived Intangible Assets [Axis]
Indefinite-lived Intangible Assets [Axis]
Indefinite-lived Intangible Assets, Major Class Name [Domain]
Indefinite-lived Intangible Assets, Major Class Name [Domain]
State licenses
State Licenses [Member]
State Licenses [Member]
GSE applications
GSE Approvals [Member]
GSE Approvals [Member]
Indefinite-lived Intangible Assets [Line Items]
Indefinite-lived Intangible Assets [Line Items]
Goodwill
Goodwill
Intangible assets
Indefinite-Lived Intangible Assets (Excluding Goodwill)
Impairment loss related to intangible assets and goodwill
Goodwill and Intangible Asset Impairment
Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward]
Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward]
Beginning balance
Less reinsurance recoverables
Reinsurance Recoverable for Paid and Unpaid Claims and Claims Adjustments
Beginning balance, net of reinsurance recoverables
Liability for Unpaid Claims and Claims Adjustment Expense, Net
Claims and claim expenses incurred:
Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims [Abstract]
Current year
Current Year Claims and Claims Adjustment Expense
Prior years
Total claims and claims expenses incurred
Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims
Claims and claim expenses paid:
Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid [Abstract]
Current year
Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Current Year
Prior years
Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Prior Years
Total claims and claim expenses paid
Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid
Reserve at end of period, net of reinsurance recoverables
Add reinsurance recoverables
Ending balance
Financial Information of Registrant Parent Company Only
Condensed Financial Information of Parent Company Only Disclosure [Text Block]
Restricted Stock Units, Shares [Roll Forward]
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]
Non-vested restricted stock units, beginning balance (in shares)
Restricted stock units granted (in shares)
Restricted stock units vested (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period
Restricted stock units forfeited (in shares)
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period
Non-vested restricted stock units, ending balance (in shares)
Restricted Stock Units, Weighted Average Grant Date Fair Value [Abstract]
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]
Non-vested restricted stock units, beginning balance (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
Restricted Stock Units 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
Restricted Stock Units 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
Restricted Stock Units 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
Non-vested restricted stock units, ending balance (in dollars per share)
2017 ILN Notes
Two Thousand Seventeen ILN Notes [Member]
Two Thousand Seventeen ILN Notes [Member]
Oaktown Re Ltd
Oaktown Re Ltd [Member]
Oaktown Re Ltd [Member]
Secured Debt
Secured Debt [Member]
2017 ILN Transaction
Two Thousand Seventeen ILN Transaction [Member]
Two Thousand Seventeen ILN Transaction [Member]
Existing Risk Written Policies
Eligible Policies, Pool One [Member]
Eligible Policies, Pool One [Member]
Fannie Mae
Eligible Policies, Pool Two [Member]
Eligible Policies, Pool Two [Member]
Risk Written Policies from September 1, 2016 through December 31, 2017
Eligible Policies, Pool Three [Member]
Eligible Policies, Pool Three [Member]
Aggregate excess of loss reinsurance coverage
Reinsurance Retention Policy, Excess Retention, Amount Reinsured
Aggregate excess of loss reinsurance retained by company
Reinsurance Retention Policy, Amount Retained
Reinsurance coverage, term of underlying mortgage amortization (in years)
Reinsurance Retention Policy, Term Of Underlying Mortgage Amortization
Reinsurance Retention Policy, Term Of Underlying Mortgage Amortization
Proceeds from issuance of notes
Proceeds from Issuance of Debt
Anticipated payment related to annual operating expenses
Anticipated Operating Expense Payments, Annual
Amount of anticipated payments related to operating expenses of counterparty.
Risk premiums paid
Reinsurance Retention, Risk Premiums Paid
Reinsurance Retention, Risk Premiums Paid
Optional termination right, percent of reinsurance coverage threshold
Reinsurance Agreement, Optional Termination Right, Percent Of Reinsurance Coverage Threshold
Reinsurance Agreement, Optional Termination Right, Percent Of Reinsurance Coverage Threshold
Threshold for loss ratio on loans under 2016 QSR Transaction to qualify for profit commission
Ceded Credit Risk, Profit Commission, Loss Ratio On Loans Threshold
Ceded Credit Risk, Profit Commission, Loss Ratio On Loans Threshold
Reinsurance recoverable on unpaid claims
Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Table]
Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Table]
Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Line Items]
Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Line Items]
Cumulative Incurred Claims and Allocated Claims Adjustment Expenses, net of Reinsurance
Short-duration Insurance Contracts, Incurred Claims and Allocated Claim Adjustment Expense, Net
Cumulative Paid Claims and Allocated Claims Adjustment Expenses, net of Reinsurance
Short-duration Insurance Contracts, Cumulative Paid Claims and Allocated Claim Adjustment Expense, Net
Liabilities for unpaid claims and claim adjustment expenses, net of reinsurance
Short-duration Insurance Contracts, Liability for Unpaid Claims and Allocated Claim Adjustment Expense, Net
Unallocated claims adjustment expenses
Short-duration Insurance Contracts, Liability for Unpaid Claims and Claims Adjustment Expense, Accumulated Unallocated Claim Adjustment Expense
Total gross liability for unpaid claims and claim adjustment expenses
Summary of Investments, Other than Investments in Related Parties [Table]
Summary of Investments, Other than Investments in Related Parties [Table]
Investment Type [Axis]
Investment Type [Axis]
Investments [Domain]
Investments [Domain]
Corporate debt securities
Convertible Debt Securities [Member]
Long-term investments - other
Other Long-term Investments [Member]
Summary of Investments, Other than Investments in Related Parties, Reportable Data [Line Items]
Summary of Investments, Other than Investments in Related Parties, Reportable Data [Line Items]
Amortized Cost
Summary of Investments, Other than Investments in Related Parties, Cost
Fair Value
Summary of Investments, Other than Investments in Related Parties, Fair Value
Amount Reflected on Balance Sheet
Summary of Investments, Other than Investments in Related Parties, Carrying Amount
Approved insurers, required assets (equal or greater than)
Approved Insurers, Minimum Required Assets
Approved Insurers, Minimum Required Assets
Approved insurers, risked-based required assets, primary insurance floor
Approved Insurers, Risked-Based Required Assets, Primary Insurance Floor
Approved Insurers, Risked-Based Required Assets, Primary Insurance Floor
Rent expense
Operating Leases, Rent Expense, Net
Earnings (Loss) Per Share (EPS)
Earnings Per Share [Text Block]
Investment income
Investment Income, Interest and Dividend
Investment expenses
Investment Income, Investment Expense
Net investment income
Investment Income, Net
Basic EPS
Net Income (Loss) Available to Common Stockholders, Operations, Basic [Abstract]
Basic net income (loss)
Basic weighted average shares outstanding (in shares)
Diluted EPS
Net Income (Loss) Available to Common Stockholders, Operations, Diluted [Abstract]
Diluted net income (loss)
Net Income (Loss) Available to Common Stockholders, Diluted
Dilutive effect of issuable shares (in shares)
Weighted Average Number Diluted Shares Outstanding Adjustment
Dilutive weighted average shares outstanding (in shares)
Antidilutive securities excluded from computation of earnings per share (in shares)
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount
Share-Based Compensation
Disclosure of Compensation Related Costs, Share-based Payments [Text Block]
Term Loan
Debt Disclosure [Text Block]
Short-duration Insurance Contracts, Claims Development [Table]
Short-duration Insurance Contracts, Claims Development [Table]
Short-duration Insurance Contracts, Accident Year [Axis]
Short-duration Insurance Contracts, Accident Year [Axis]
Short-duration Insurance Contracts, Accident Year [Domain]
Short-duration Insurance Contracts, Accident Year [Domain]
2013
Short-duration Insurance Contracts, Accident Year 2013 [Member]
2014
Short-duration Insurance Contracts, Accident Year 2014 [Member]
2015
Short-duration Insurance Contracts, Accident Year 2015 [Member]
2016
Short-duration Insurance Contracts, Accident Year 2016 [Member]
2017
Short-duration Insurance Contracts, Accident Year 2017 [Member]
Claims Development [Line Items]
Claims Development [Line Items]
Incurred but not reported claims liability
Short-duration Insurance Contracts, Incurred but Not Reported (IBNR) Claims Liability, Net
Cumulative number of reported claims
Short-duration Insurance Contracts, Number of Reported Claims
Cumulative Paid Claims and Allocated Claims Adjustment Expenses, net of Reinsurance
Warrants
Line of Credit and Related Warrants [Text Block]
Line of Credit and Related Warrants [Text Block]
Expected life
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term
Risk free interest rate
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate
Dividend yield
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate
Expected stock price volatility
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate
Projected forfeiture rate
Share Based Compensation Arrangement By Share-based Payment Award, Fair Value Assumptions, Expected Forfeiture Rate
Share Based Compensation Arrangement By Share-based Payment Award, Fair Value Assumptions, Expected Forfeiture Rate
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]
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]
Beginning balance
Fair Value, Measurement with Unobservable Inputs Reconciliations, Recurring Basis, Liability Value
Change in fair value of warrant liability included in earnings
Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings
Ending balance
Schedule of Fair Value Measurements of Financial Instruments
Fair Value Measurements, Recurring and Nonrecurring [Table Text Block]
Roll-Forward of Level 3 Liabilities Measured at Fair Value
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]
Schedule of Key Inputs and Assumptions in Option-Pricing Model
Fair Value Measurements, Recurring and Nonrecurring, Valuation Techniques [Table Text Block]
Property, Plant and Equipment [Table]
Property, Plant and Equipment [Table]
Leasehold improvements
Leasehold Improvements [Member]
Property, Plant and Equipment [Line Items]
Property, Plant and Equipment [Line Items]
Property plant and equipment
Property, Plant and Equipment, Gross
Accumulated amortization and depreciation
Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment
Software and equipment, net
Fixed maturity, amortized cost
Available-for-sale Debt Securities, Amortized Cost Basis
Income Tax Contingency [Table]
Income Tax Contingency [Table]
Income Tax Authority [Axis]
Income Tax Authority [Axis]
Income Tax Authority [Domain]
Income Tax Authority [Domain]
Domestic Tax Authority [Member]
Domestic Tax Authority [Member]
State and Local Jurisdiction [Member]
State and Local Jurisdiction [Member]
Income Tax Authority, Name [Axis]
Income Tax Authority, Name [Axis]
Income Tax Authority, Name [Domain]
Income Tax Authority, Name [Domain]
Internal Revenue Service (IRS) [Member]
Internal Revenue Service (IRS) [Member]
Expiration Period [Axis]
Expiration Period [Axis]
Expiration Period [Axis]
Expiration Period [Domain]
Expiration Period [Domain]
[Domain] for Expiration Period [Axis]
Annual Limitation Through Year Two [Member]
Annual Limitation Through Year Two [Member]
Annual Limitation Through Year Two [Member]
Annual Limitations After Year Two [Member]
Annual Limitations After Year Two [Member]
Annual Limitations After Year Two [Member]
Income Tax Contingency [Line Items]
Income Tax Contingency [Line Items]
Income tax expense (benefit)
Provisional income tax expense related to Tax Cuts and Jobs Act of 2017
Tax Cuts and Jobs Act of 2017, Incomplete Accounting, Change in Tax Rate, Provisional Income Tax Expense (Benefit)
Tax Cuts and Jobs Act of 2017, Incomplete Accounting, Change in Tax Rate, Provisional Income Tax Expense (Benefit)
Decrease in deferred tax asset valuation allowance
Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount
Net deferred income tax asset (liability)
Net deferred tax liability
Deferred Tax Liabilities, Net
Operating loss carryforwards
Operating Loss Carryforwards
Loss carry forwards subject to expiration
Deferred Tax Assets, Operating Loss Carryforwards, Subject to Expiration
Tax benefit related to excess tax benefits for share-based compensation
Effective Income Tax Rate Reconciliation, Excess Tax Benefits, Amount
Effective Income Tax Rate Reconciliation, Excess Tax Benefits, Amount
Operating loss carryforwards related to excess share-based compensation
Operating Loss Carryforwards Related To Excess Share-Based Compensation
Operating Loss Carryforwards Related To Excess Share-Based Compensation
Valuation allowance
Unrecognized tax benefits reserve
Unrecognized Tax Benefits