Disclosure of Compensation Related Costs, Share-based Payments [Abstract] Share-Based Compensation Disclosure of Compensation Related Costs, Share-based Payments [Text Block] Commitments and Contingencies Disclosure [Abstract] Schedule of Compliance with Regulatory Capital Requirements for Mortgage Companies [Table] Schedule of Compliance with Regulatory Capital Requirements for Mortgage Companies [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 [Member] Senior Secured Debt [Member] Senior Secured Debt [Member] Debt Instrument [Axis] Debt Instrument [Axis] Debt Instrument, Name [Domain] Debt Instrument, Name [Domain] Credit Agreement [Member] Credit Agreement [Member] Credit Agreement [Member] Compliance with Regulatory Capital Requirements for Mortgage Companies [Line Items] Compliance with Regulatory Capital Requirements for Mortgage Companies [Line Items] 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 Debt instrument, face amount Debt Instrument, Face Amount Rent expense Operating Leases, Rent Expense, Net Fair Value Disclosures [Abstract] Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table] Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table] Fair Value, Hierarchy [Axis] Fair Value, Hierarchy [Axis] Fair Value Hierarchy [Domain] Fair Value Hierarchy [Domain] Significant Unobservable Inputs (Level 3) [Member] Fair Value, Inputs, Level 3 [Member] Liability Class [Axis] Liability Class [Axis] Fair Value by Liability Class [Domain] Fair Value by Liability Class [Domain] Warrant Liability [Member] Warrant Liability [Member] Warrant Liability [Member] 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 Gain on settlement of warrants Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements Issuance of common stock on warrant exercise Warrant Liability, Reduction, Transferred to Equity Warrant Liability, Reduction, Transferred to Equity Ending balance 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] The 2012 Stock Incentive Plan [Member] The 2012 Stock Incentive Plan [Member] The 2012 Stock Incentive Plan [Member] Award Type [Axis] Award Type [Axis] Equity Award [Domain] Equity Award [Domain] Restricted Stock Units [Member] Restricted Stock Units (RSUs) [Member] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] 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 Organization, Consolidation and Presentation of Financial Statements [Abstract] Schedule of Business Acquisitions, by Acquisition [Table] Schedule of Business Acquisitions, by Acquisition [Table] Class of Stock [Axis] Class of Stock [Axis] Class of Stock [Domain] Class of Stock [Domain] Common Class A [Member] Common Class A [Member] Business Acquisition [Axis] Business Acquisition [Axis] Business Acquisition, Acquiree [Domain] Business Acquisition, Acquiree [Domain] MAC Financial Holding Corporation and Subsidiaries [Member] 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 [Member] 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 Range [Axis] Range [Axis] Range [Domain] Range [Domain] Minimum [Member] Minimum [Member] Maximum [Member] Maximum [Member] Stock Options [Member] Employee Stock Option [Member] Investments, Debt and Equity Securities [Abstract] 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 [Member] US Treasury and Government [Member] Municipal debt securities [Member] US States and Political Subdivisions Debt Securities [Member] Corporate debt securities [Member] Corporate Debt Securities [Member] Asset-backed securities [Member] Asset-backed Securities [Member] Schedule of Available-for-sale Securities [Line Items] Schedule of Available-for-sale Securities [Line Items] 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 Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss Unrealized Losses, Total Available-for-sale Securities, Continuous Unrealized Loss Position, Accumulated Loss Condensed Financial Information of Parent Company Only Disclosure [Abstract] Condensed Balance Sheet Statement [Table] Condensed Balance Sheet Statement [Table] Legal Entity [Axis] Legal Entity [Axis] Entity [Domain] Entity [Domain] Parent Parent Company [Member] 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 Investments 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 Deferred tax asset, net Deferred Income Tax Assets, Net Other assets Other Assets Total assets 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; 59,145,161 and 58,807,825 shares issued and outstanding as of December 31, 2016 and December 31, 2015, 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 Accumulated deficit Retained Earnings (Accumulated Deficit) Total shareholders' equity Stockholders' Equity Attributable to Parent Total liabilities and shareholders' equity Liabilities and Equity Condensed Financial Statements [Table] Condensed Financial Statements [Table] Subsidiaries [Member] Subsidiaries [Member] Condensed Financial Statements, Captions [Line Items] Condensed Financial Statements, Captions [Line Items] Other underwriting and operating expenses Operating Expenses Debt Disclosure [Abstract] Schedule of Long-term Debt Instruments [Table] Schedule of Long-term Debt Instruments [Table] Variable Rate [Axis] Variable Rate [Axis] Variable Rate [Domain] Variable Rate [Domain] Eurodollar [Member] Eurodollar [Member] Initial Eurodollar Annual Margin [Member] Initial Eurodollar Annual Margin [Member] Initial Eurodollar Annual Margin [Member] Debt Instrument [Line Items] Debt Instrument [Line Items] 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 Periodic payment of principal Debt Instrument, Periodic Payment, Principal Term loan Long-term Debt, Gross Debt issuance cost Debt Issuance Costs, Gross Percentage of debt discount Debt Discount (Premium), Percentage Debt Discount (Premium), Percentage Interest expense Interest Expense 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, minimum liquidity requirement Debt Instrument, Covenant, Liquidity Requirement, Minimum Debt Instrument, Covenant, Liquidity Requirement, Minimum Reinsurance Disclosures [Abstract] Effects of Reinsurance Effects of Reinsurance [Table Text Block] Insurance [Abstract] Liability for Claims and Claims Adjustment Expense [Table] Liability for Claims and Claims Adjustment Expense [Table] 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] Reserve for insurance claims and claim expenses Liability for 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 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, prior years Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid 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 Deductible on policy Mortgage Pool Insurance, Claim Deductible Mortgage Pool Insurance, Claim Deductible Less than, LTV ratio (less than) Loans In Pool, Loan To Value Ratio Loans In Pool, Loan To Value Ratio Liability for unpaid claims and claims adjustment expense, claims applied to 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 Prior year claims and claims adjustment expense Prior Year Claims and Claims Adjustment Expense Liability for prior year claims and claims adjustment expense Liability for Prior Year Claims and Claims Adjustment Expense Liability for Prior Year Claims and Claims Adjustment Expense Income Tax Disclosure [Abstract] Income Tax Contingency [Table] Income Tax Contingency [Table] Income Statement Location [Axis] Income Statement Location [Axis] Income Statement Location [Domain] Income Statement Location [Domain] Income Tax Benefit [Member] Income Tax Benefit [Member] Income Tax Benefit [Member] Other Comprehensive Income Location [Axis] Other Comprehensive Income Location [Axis] Other Comprehensive Income Location [Domain] Other Comprehensive Income Location [Domain] Other Comprehensive Income (Loss) [Member] Other Comprehensive Income (Loss) [Member] 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) Income Tax Expense (Benefit) Income tax expense (benefit), intraperiod tax allocation Income Tax Expense (Benefit), Intraperiod Tax Allocation Net deferred income tax asset (liability) Deferred Tax Assets, Net Net deferred tax liability Deferred Tax Liabilities, Net Net operating loss carry forwards Deferred Tax Assets, Operating Loss Carryforwards Taxes paid related to net share settlement of equity awards Adjustments to Additional Paid in Capital, Income Tax Benefit from Share-based Compensation Operating loss carryforwards Operating Loss Carryforwards Loss carry forwards subject to expiration Deferred Tax Assets, Operating Loss Carryforwards, Subject to Expiration Decrease in deferred tax asset valuation allowance Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount Valuation allowance Deferred Tax Assets, Valuation Allowance Unrecognized tax benefits reserve Unrecognized Tax Benefits Property, Plant and Equipment [Abstract] Schedule of Equipment and Software Property, Plant and Equipment [Table Text Block] Organization and Basis of Presentation Business Description and Basis of Presentation [Text Block] 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 Reserve at end of period, net of reinsurance recoverables Add reinsurance recoverables Balance, December 31 Accounting Policies [Abstract] Schedule of Finite-Lived Intangible Assets [Table] Schedule of Finite-Lived Intangible Assets [Table] Antidilutive Securities [Axis] Antidilutive Securities [Axis] Antidilutive Securities, Name [Domain] Antidilutive Securities, Name [Domain] Stock Compensation Plan and Warrant [Member] Stock Compensation Plan and Warrant [Member] Stock Compensation Plan and Warrant [Member] Concentration Risk Type [Axis] Concentration Risk Type [Axis] Concentration Risk Type [Domain] Concentration Risk Type [Domain] Geographic Concentration Risk [Member] Geographic Concentration Risk [Member] Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Domain] Concentration Risk Benchmark [Domain] Sales Revenue, Net [Member] Sales Revenue, Net [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 [Member] Software and Software Development Costs [Member] Equipment [Member] Equipment [Member] Subsequent Event Type [Axis] Subsequent Event Type [Axis] Subsequent Event Type [Domain] Subsequent Event Type [Domain] Subsequent Event [Member] Subsequent Event [Member] Base Rate [Member] Base Rate [Member] Finite-Lived Intangible Assets [Line Items] Finite-Lived Intangible Assets [Line Items] Number of customers Number of Insured Number of Insured Concentration risk Concentration Risk, Percentage Amortization of deferred acquisition expense Deferred Policy Acquisition Cost, Amortization Expense Dilutive effect of non-vested shares (in shares) Incremental Common Shares Attributable to Dilutive Effect of Nonvested Shares with Forfeitable Dividends Antidilutive securities excluded from computation of earnings per share (in shares) Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount Estimated useful life Property, Plant and Equipment, Useful Life Prepayment penalty, period Debt Instrument, Prepayment Penalty, Period Debt Instrument, Prepayment Penalty, Period Prepayment penalty Debt Instrument, Prepayment Penalty Debt Instrument, Prepayment Penalty Fair Value of Financial Instruments Fair Value Disclosures [Text Block] Gross unrealized losses Unrealized losses for a period of 12 months or greater Cash and investments held with various state insurance departments Cash, Cash Equivalents, and Short-term Investments NMIH 2014 Omnibus Incentive Plan [Member] NMIH 2014 Omnibus Incentive Plan [Member] NMIH 2014 Omnibus Incentive Plan [Member] Director Phantom Share Plan [Member] Director Phantom Share Plan [Member] Director Phantom Share Plan [Member] Restricted Stock Units (RSUs), Subject to Market and Service Conditions [Member] Restricted Stock Units (RSUs), Subject to Market and Service Conditions [Member] Restricted Stock Units (RSUs), Subject to Market and Service Conditions [Member] Restricted Stock Units (RSUs), Subject to Service Conditions [Member] Restricted Stock Units (RSUs), Subject to Service Conditions [Member] Restricted Stock Units (RSUs), Subject to Service Conditions [Member] Restricted Stock Units (RSU)s, Subject to Market Conditions [Member] Restricted Stock Units (RSU)s, Subject to Market Conditions [Member] Restricted Stock Units (RSU)s, Subject to Market Conditions [Member] Phantom Share Units (PSUs) [Member] Phantom Share Units (PSUs) [Member] Number of shares authorized to be reserved for issuance (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Number of 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 granted (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross 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 Weighted average remaining contractual life of options outstanding Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term Total unrecognized compensation cost related to non-vested stock options Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options Compensation related to non-vested awards, weighted-average period for recognition Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition Vesting percentage subject to both market and service conditions, annual vesting percentage Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Subject to Both Market and Service Conditions, Annual Vesting Percentage Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Subject to Both Market and Service Conditions, Annual Vesting Percentage Restricted stock units outstanding (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number Modification to vesting terms, number of restricted stock units affected (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 simulations Number of Simulations Number of Simulations 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 Dividends Dividends Total unrecognized compensation cost related to non-vested restricted stock units Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized 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 Phantom stock units 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 payment 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 Restricted stock units granted (in dollars per share) 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 Share price (in dollars per share) Share Price Share-based compensation expense Allocated Share-based Compensation Expense Goodwill and Intangible Assets Disclosure [Abstract] Schedule of Indefinite-Lived Intangible Assets and Goodwill Schedule of Indefinite-Lived Intangible Assets [Table Text Block] Earnings Per Share [Abstract] Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Earnings (Loss) Per Share (EPS) Earnings Per Share [Text Block] Summary of Accounting Principles Significant Accounting Policies [Text Block] Deferred tax asset Deferred Tax Assets, Gross [Abstract] Share-based compensation Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Share-based Compensation Cost 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 Intangible assets Deferred Tax Liabilities, Intangible Assets Other Deferred Tax Liabilities, Other Total deferred tax liabilities Deferred Tax Liabilities, Gross Net deferred income tax asset (liability) Net deferred income tax asset (liability) Property, Plant and Equipment [Table] Property, Plant and Equipment [Table] Leasehold Improvements [Member] 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 Current Current Income Tax Expense (Benefit) Deferred Deferred Income Tax Expense (Benefit) Total income tax benefit Basis of Presentation Basis of Accounting, Policy [Policy Text Block] 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] Recent Accounting Standards Updates New Accounting Pronouncements, Policy [Policy Text Block] Reclassifications Reclassification, Policy [Policy Text Block] Subsequent Events Subsequent Events, Policy [Policy Text Block] Schedule of Future Principal Payments Schedule of Maturities of Long-term Debt [Table Text Block] Supplemental Schedule of Reinsurance Premiums for Insurance Companies [Abstract] Financial Information of Registrant Reinsurance Parent Company Only Supplemental Schedule of Reinsurance Premiums for Insurance Companies [Text Block] Statutory Accounting Practices [Table] Statutory Accounting Practices [Table] NMic and Re one Combined [Member] 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). Federal statutory income tax rate Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent Valuation allowance Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, 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 True-up from prior year Effective Income Tax Rate Reconciliation, True-up From Prior Year, Percent Effective Income Tax Rate Reconciliation, True-up From Prior Year, Percent Effective income tax rate Effective Income Tax Rate Reconciliation, Percent Quarterly Financial Information Disclosure [Abstract] Quarterly Financial Data (Unaudited) Quarterly Financial Information [Text Block] Schedule of Future Minimum Lease Payments Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block] 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] Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Table] Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [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] Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Line Items] Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Line Items] 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 Reinsurance recoverable on unpaid claims 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 Ceded Credit Risk [Table] Ceded Credit Risk [Table] 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] 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 Ceding commission written Reinsurance Ceding Commission Written Reinsurance Ceding Commission Written Ceding commission earned Reinsurance Ceding Commission Earned Reinsurance Ceding Commission Earned Reinsurance Reinsurance [Text Block] Schedule of Combined Statutory Net Loss, Statutory Surplus, Contingency Reserve and RTC Ratios Statutory Accounting Practices Disclosure [Table Text Block] Income Taxes Income Tax Disclosure [Text Block] Investment Type [Axis] Investment Type [Axis] Investments [Domain] Investments [Domain] Fixed maturities [Member] Fixed Maturities [Member] Short-term Investments [Member] Short-term Investments [Member] Investment income Investment Income, Interest and Dividend Investment expenses Investment Income, Investment Expense Net investment income Investment Income, Net 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 Intangible Assets and Goodwill Intangible Assets Disclosure [Text Block] Share-based Compensation Arrangement by Share-based Payment Award, 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 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) Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares [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) Weighted Average Grant Date Fair Value per Share 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) Warrants Line of Credit and Related Warrants [Text Block] Line of Credit and Related Warrants [Text Block] Short-duration Insurance Contracts, Historical Claims Duration [Table] Short-duration Insurance Contracts, Historical Claims Duration [Table] Short-duration Insurance Contracts, Historical Claims Duration [Line Items] 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 Assets and Liabilities Measured at Fair Value 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 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 [Member] State Licenses [Member] State Licenses [Member] GSE Approvals [Member] 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) Intangible assets and goodwill Intangible Assets, Net (Including Goodwill) Loss on impairment Goodwill and Intangible Asset Impairment Term Loan Debt Disclosure [Text Block] Schedule of Earnings Per Share, Basic and Diluted Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Statement of Cash Flows [Abstract] Cash flows from operating activities Net Cash Provided by (Used in) Operating Activities [Abstract] Net income (loss) Net Income (Loss) Attributable to Parent Adjustments to reconcile net income (loss) to net cash used in operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Net realized investment losses (gains) Available-for-sale Securities, Gross Realized Gain (Loss) 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 Deferred income taxes Deferred Income Taxes and Tax Credits Share-based compensation expense Share-based Compensation Changes in operating assets and liabilities: Increase (Decrease) in Other Operating Assets and Liabilities, Net [Abstract] Current tax payable Increase (Decrease) in Income Taxes Payable Accrued investment income Increase (Decrease) in Accrued Investment Income Receivable Premiums receivable Increase (Decrease) in Premiums 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 (used in) provided by operating activities Net Cash Provided by (Used in) Operating Activities, Continuing Operations 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 Purchase of software and equipment Payments to Acquire Property, Plant, and Equipment Net cash provided by (used in) 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 Proceeds from Issuance of Common Stock Gain from settlement of warrants Gain (Loss) From Settlement of Warrants Gain (Loss) From Settlement of Warrants 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 issuance costs Payments of Debt Issuance Costs Net cash (used in) provided by financing activities Net Cash Provided by (Used in) Financing Activities Net (decrease) increase 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 tax payments Income Taxes Paid Net premiums earned Premiums Earned, Net Net investment income Net Investment Income Net realized investment (losses) gains Other revenues Other Revenue, Net Insurance claims and claims expenses Policyholder Benefits and Claims Incurred, Net, Property, Casualty and Liability Underwriting and operating expenses Other Cost and Expense, Operating (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 Gain from settlement of warrants Interest expense Interest Expense, Debt Income (loss) before income taxes Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest Income tax benefit Loss per share Earnings (loss) per share, basic (in dollars per share) Earnings Per Share, Basic Earnings (loss) per share, diluted (in dollars per share) Earnings Per Share, Diluted Basic and diluted loss per share (in dollars per share) Earnings Per Share, Basic and Diluted 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 Weighted average common shares outstanding, basic and diluted (in shares) Weighted Average Number of Shares Outstanding, Basic and Diluted 2017 Operating Leases, Future Minimum Payments Due, Next Twelve Months 2018 Operating Leases, Future Minimum Payments, Due in Two Years 2019 Operating Leases, Future Minimum Payments, Due in Three Years 2020 Operating Leases, Future Minimum Payments, Due in Four Years 2021 Operating Leases, Future Minimum Payments, Due in Five Years 2022 Operating Leases, Future Minimum Payments, Due in Six Years Operating Leases, Future Minimum Payments, Due in Six Years 2023 Operating Leases, Future Minimum Payments, Due in Seven Years Operating Leases, Future Minimum Payments, Due in Seven Years Totals Operating Leases, Future Minimum Payments Due Depreciation and amortization Depreciation, Depletion and Amortization 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] Regulatory Information Insurance Disclosure [Text Block] Statement of Stockholders' Equity [Abstract] Statement [Table] Statement [Table] Equity Components [Axis] Equity Components [Axis] Equity Component [Domain] Equity Component [Domain] Common Stock [Member] Common Stock [Member] Additional Paid-in Capital [Member] Additional Paid-in Capital [Member] Accumulated Other Comprehensive Income (Loss) [Member] AOCI Attributable to Parent [Member] Accumulated Deficit [Member] Retained Earnings [Member] Common Class B [Member] Common Class B [Member] Statement [Line Items] Statement [Line Items] Increase (Decrease) in Stockholders' Equity [Roll Forward] Increase (Decrease) in Stockholders' Equity [Roll Forward] Beginning Balance Common stock: class A shares issued under related to warrants Stock and Warrants Issued During Period, Value, Preferred Stock and Warrants 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 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 of $0, $2,390 and $0 Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax Ending Balance Software and Equipment Property, Plant and Equipment Disclosure [Text Block] Summary of Investments, Other than Investments in Related Parties [Abstract] Summary of Investments, Other than Investments in Related Parties [Table] Summary of Investments, Other than Investments in Related Parties [Table] Bonds [Member] Bonds [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 Available-for-sale Securities, Amortized Cost Basis Fair Value Available-for-sale Securities Amount Reflected on Balance Sheet Summary of Investments, Other than Investments in Related Parties, Carrying Amount Investments Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] Statement of Financial Position [Abstract] 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 Available-for-sale Securities, Debt Maturities, Single Maturity Date, Amortized Cost Basis [Abstract] 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 Amortized Cost Available-for-sale Securities, Debt Maturities, Single Maturity Date [Abstract] 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 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] Claims Development [Line Items] Claims Development [Line Items] Reserves net of Reinsurance Short-duration Insurance Contracts, Incurred Claims and Allocated Claim Adjustment Expense, Net 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, net of Reinsurance Short-duration Insurance Contracts, Cumulative Paid Claims and Allocated Claim Adjustment Expense, Net Line of Credit Facility [Table] Line of Credit Facility [Table] Line of Credit Facility [Line Items] Line of Credit Facility [Line Items] 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 Common stock issued (in shares) Stock Issued During Period, Shares, Other Financial Information of Registrant Parent Company Only Condensed Financial Information of Parent Company Only Disclosure [Text Block] Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Restricted Stock beginning balance (in shares) Restricted stock units granted (in shares) Less: Restricted stock units vested (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period Less: Restricted stock units forfeited (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period Restricted Stock beginning balance (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, 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] Restricted Stock 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 Less: 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 Less: 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 Restricted Stock ending balance (in dollars per share) Change in unrealized investment gains (losses), tax amount Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Tax Schedule of Quarterly Financial Information Quarterly Financial Information [Table Text Block] Condensed Income Statement [Table] Condensed Income Statement [Table] Condensed Income Statements, Captions [Line Items] Condensed Income Statements, Captions [Line Items] Revenues Revenues [Abstract] Total revenues Revenues Expenses Costs and Expenses [Abstract] Other operating expenses Other Expenses Total expenses Costs and Expenses Other income (loss) Other Income and Expenses [Abstract] Interest expense Total other (expenses) income Other Nonoperating Income (Expense) Equity in net income (loss) of subsidiaries Income (Loss) from Equity Method Investments Net income (loss) Other comprehensive (loss) income, net of tax: Other Comprehensive Income (Loss), Net of Tax [Abstract] Net unrealized gains (losses) in accumulated other comprehensive income (loss), net of tax expense of $1,178, $0, and $2,390 for each of the years in the three-year period ended December 31, 2016, respectively Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Net of Tax Reclassification adjustment for (gains) losses included in net income (loss), net of tax expense of $0 for the each of the years in the three-year period ended December 31, 2016 Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax 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 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 Commitments and Contingencies Commitments and Contingencies Disclosure [Text Block] Reinsurance Policy, Type [Axis] Reinsurance Policy, Type [Axis] Reinsurance Policy [Domain] Reinsurance Policy [Domain] 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] Percent of policies ceded under 2016 QSR Transaction Reinsurance Retention Policy, Reinsured Risk, Percentage Ceding commissions under 2016 QSR Transaction Ceded Credit Risk, Commission Earned, Percentage Ceded Credit Risk, Commission Earned, Percentage 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 Fixed maturity, amortized cost Available-for-sale Debt Securities, Amortized Cost Basis Schedule of Stock by Class [Table] Schedule of Stock by Class [Table] Class of Stock [Line Items] Class of Stock [Line Items] Underwriters option period Sale of Stock, Underwriter Option Period Sale of Stock, Underwriter Option Period Maximum number of common stock shares granted to underwriters of IPO (in shares) (up to) Maximum Number of Common Stock Shares Granted to Underwriters of IPO Maximum Number of Common Stock Shares Granted to Underwriters of IPO Maximum number of common stock shares granted to underwriters of IPO, exercise price (in dollars per share) Maximum number of Common Stock Shares Granted to Underwriters of IPO, Exercise Price Maximum number of Common Stock Shares Granted to Underwriters of IPO, Exercise Price Proceeds from issuance initial public offering Proceeds from Issuance Initial Public Offering Underwriting fee and other offering expense Proceeds from Issuance Initial Public Offering, Net Proceeds from Issuance Initial Public Offering, Net Income Statement [Abstract] Revenues Other (expense) income Other Income, Nonoperating [Abstract] Total other (expense) income Earnings (loss) per share Earnings Per Share, Basic and Diluted [Abstract] Weighted average common shares outstanding Weighted Average Number of Shares Outstanding Reconciliation [Abstract] Other comprehensive income (loss), net of tax: Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract] Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value Measurements, Recurring and Nonrecurring [Table] Measurement Frequency [Axis] Measurement Frequency [Axis] Fair Value, Measurement Frequency [Domain] Fair Value, Measurement Frequency [Domain] Fair Value, Measurements, Recurring [Member] Fair Value, Measurements, Recurring [Member] Asset Class [Axis] Asset Class [Axis] Asset Class [Domain] Asset Class [Domain] Foreign Corporate Debt Securities [Member] Foreign Corporate Debt Securities [Member] Yankee Bonds [Member] Yankee Bonds [Member] Yankee Bonds [Member] Significant Other Observable Inputs (Level 2) [Member] Fair Value, Inputs, Level 2 [Member] Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] Fair Value, Inputs, Level 1 [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] Risk free rate Fair Value Assumptions, Risk Free Interest Rate Expected term Fair Value Assumptions, Expected Term Volatility assumption Fair Value Assumptions, Expected Volatility Rate Expected dividend rate Fair Value Assumptions, Expected Dividend Rate Schedule of Stock Option Activity Schedule of Share-based Compensation, Stock Options, Activity [Table Text Block] Schedule of Grant Date Fair Values 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] Schedule of Grant Date Fair Value of Restricted Stock Units, Valuation Assumptions Disclosure of Share-based Compensation Arrangements by Share-based Payment Award [Table Text Block] Summary of Investments - Other than Investments in Related Parties Summary of Investments, Other than Investments in Related Parties [Text Block] Reclassification adjustment from AOCI for sale of securities, tax Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax Basic earnings (loss) per share (in dollars per share) Basic weighted average shares outstanding (in shares) Dilutive weighted average shares outstanding (in shares) Diluted earnings (loss) per share (in dollars per share) Statement of Comprehensive Income [Abstract] Common Stock Offerings Stockholders' Equity Note Disclosure [Text Block] 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 Direct Premiums Earned Ceded to Other Companies Assumed from Other Companies Assumed Premiums Earned Net Amount Percentage of Amount Assumed to Net Premiums, Percentage Assumed to Net 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 NMIC [Member] NMIC [Member] NMIC [Member] 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 Number of policies in force Number of Policies in Force Number of Policies in Force 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. 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 Condensed Cash Flow Statement [Table] Condensed Cash Flow Statement [Table] Condensed Cash Flow Statements, Captions [Line Items] Condensed Cash Flow Statements, Captions [Line Items] Loss (gain) from change in fair value of warrant liability Net realized investment losses Noncash intraperiod tax allocation Expense (Benefit) for Taxes on Current Year Unrealized Gains Expense (Benefit) for Taxes on Current Year Unrealized 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 Proceeds from redemptions, maturities and sale of fixed-maturity investments, available-for-sale Proceeds from Sale of Available-for-sale Securities, Debt Repayments of term loan Fixed maturities, available-for-sale, at fair value (amortized cost of $630,688 and $564,319 as of December 31, 2016 and December 31, 2015, respectively) Available-for-sale Securities, Debt Securities Premiums receivable Premiums Receivable, Net Deferred policy acquisition costs, net Deferred Policy Acquisition Costs Prepaid reinsurance premiums Prepaid Reinsurance Premiums Unearned premiums Unearned Premiums Reinsurance funds withheld Funds Held under Reinsurance Agreements, Liability Deferred ceding commission Deferred Revenue Deferred tax liability, net Commitments and contingencies Commitments and Contingencies Shareholders' equity Stockholders' Equity Attributable to Parent [Abstract] Total shareholders' equity 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] Ceded Net premiums earned Future Principal Payments [Abstract] Long-term Debt, Fiscal Year Maturity [Abstract] 2017 Long-term Debt, Maturities, Repayments of Principal in Next Twelve Months 2018 Long-term Debt, Maturities, Repayments of Principal in Year Two Total 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 Reconciliation of Liability for Insurance Claims and Claims Expenses Schedule of Liability for Unpaid Claims and Claims Adjustment Expense [Table Text Block] Short-duration Insurance Contracts, Claims Development Short-duration Insurance Contracts, Claims Development [Table Text Block] Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Table Text Block] Short-duration Insurance Contracts, Schedule of Historical Claims Duration Short-duration Insurance Contracts, Schedule of Historical Claims Duration [Table Text Block] Reserves for Insurance Claims and Claim Expenses Liability for Future Policy Benefits and Unpaid Claims Disclosure [Text Block]