Organization, Consolidation and Presentation of Financial Statements [Abstract]
Schedule of Prior Period Adjustments
Schedule of Error Corrections and Prior Period Adjustments [Table Text Block]
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)
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
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
Ending balance
Insurance [Abstract]
Reserves for Insurance Claims and Claim Expenses
Liability for Future Policy Benefits and Unpaid Claims Disclosure [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 [Axis]
Antidilutive Securities [Axis]
Antidilutive Securities, Name [Domain]
Antidilutive Securities, Name [Domain]
Stock Compensation Plan
Stock Compensation Plan [Member]
Stock Compensation Plan and Warrant
Stock Compensation Plan and Warrant [Member]
Stock Compensation Plan and Warrant [Member]
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive securities excluded from EPS calculation (in shares)
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount
Dilutive effect of non-vested shares (in shares)
Incremental Common Shares Attributable to Dilutive Effect of Nonvested Shares with Forfeitable Dividends
Investments, Debt and Equity Securities [Abstract]
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 losses
Available-for-sale Securities, Gross Realized Gain (Loss), Excluding Other than Temporary Impairments
Statutory Accounting Practices [Table]
Statutory Accounting Practices [Table]
Legal Entity [Axis]
Legal Entity [Axis]
Entity [Domain]
Entity [Domain]
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 income (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).
Schedule of Statutory Net Loss, Surplus, Contingency Reserve and Risk-to-Capital Ratio
Statutory Accounting Practices Disclosure [Table 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
Common Stock [Member]
Additional Paid-in Capital
Additional Paid-in Capital [Member]
Accumulated Other Comprehensive Income (Loss)
AOCI Attributable to Parent [Member]
Accumulated Deficit
Retained Earnings [Member]
Class of Stock [Axis]
Class of Stock [Axis]
Class of Stock [Domain]
Class of Stock [Domain]
Class A
Common Class A [Member]
Statement [Line Items]
Statement [Line Items]
Increase (Decrease) in Stockholders' Equity [Roll Forward]
Increase (Decrease) in Stockholders' Equity [Roll Forward]
Beginning balance
Stockholders' Equity Attributable to Parent
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 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
Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax
Net income
Net Income (Loss) Attributable to Parent
Ending balance
Ending balance (in shares)
Statement of Financial Position [Abstract]
Common Stock - Class A
Assets
Assets [Abstract]
Fixed maturities, available-for-sale, at fair value (amortized cost of $658,463 and $630,688 as of March 31, 2017 and December 31, 2016, respectively)
Available-for-sale Securities, Debt Securities
Cash and cash equivalents
Cash and Cash Equivalents, at Carrying Value
Premiums receivable
Premiums Receivable, Net
Accrued investment income
Accrued Investment Income Receivable
Prepaid expenses
Prepaid Expense
Deferred policy acquisition costs, net
Deferred Policy Acquisition Costs
Software and equipment, net
Property, Plant and Equipment, Net
Intangible assets and goodwill
Intangible Assets, Net (Including Goodwill)
Prepaid reinsurance premiums
Prepaid Reinsurance Premiums
Deferred tax asset, net
Deferred Income Tax Assets, Net
Other assets
Other Assets
Total assets
Assets
Liabilities
Liabilities [Abstract]
Term loan
Long-term Debt
Unearned premiums
Unearned Premiums
Accounts payable and accrued expenses
Accounts Payable and Accrued Liabilities
Reserve for insurance claims and claim expenses
Liability for Claims and Claims Adjustment Expense
Reinsurance funds withheld
Funds Held under Reinsurance Agreements, Liability
Deferred ceding commission
Deferred Revenue
Warrant liability, at fair value
Warrant Liability
Warrant Liability
Total liabilities
Liabilities
Commitments and contingencies
Commitments and Contingencies
Shareholders' Equity
Stockholders' Equity Attributable to Parent [Abstract]
Common stock - class A shares, $0.01 par value; 59,783,358 and 59,145,161 shares issued and outstanding as of March 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
Accumulated deficit
Retained Earnings (Accumulated Deficit)
Total shareholders' equity
Total liabilities and shareholders' equity
Liabilities and Equity
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]
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]
Schedule of Available-for-sale Securities [Line Items]
Schedule of Available-for-sale Securities [Line Items]
Number of securities, less than 12 months
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Less than One Year
Fair value, less than 12 months
Available-for-sale Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value
Unrealized losses, less than 12 months
Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss
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
Fair value, 12 months or greater
Available-for-sale Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value
Unrealized losses, 12 months or greater
Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss
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
Unrealized Losses
Available-for-sale Securities, Continuous Unrealized Loss Position, Accumulated Loss
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]
Short-duration Insurance Contracts, Accident Year 2017 [Member]
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]
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
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
Fair Value, Measurements, Recurring [Member]
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]
Municipal debt securities
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]
Available-for-sale securities
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
Income Statement [Abstract]
Net unrealized investment gains in AOCI, tax amount
Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Tax
Reclassification adjustment for losses included in net loss (gain), tax amount
Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax
Cash and investments held with various state insurance departments
Cash, Cash Equivalents, and Short-term Investments
Unrealized loss position, accumulated loss
Unrealized losses, 12 months or greater
Other-than-Temporary-Impairment on investments
Other than Temporary Impairment Losses, Investments, Portion Recognized in Earnings, Net
Share price (in dollars per share)
Share Price
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 Business Acquisitions, by Acquisition [Table]
Schedule of Business Acquisitions, by Acquisition [Table]
Sale of Stock [Axis]
Sale of Stock [Axis]
Sale of Stock [Axis]
Sale of Stock [Domain]
Sale of Stock [Domain]
[Domain] for Sale of Stock [Axis]
IPO
IPO [Member]
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]
Business Acquisition [Line Items]
Business Acquisition [Line Items]
Stock issued during period, shares, net issues (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
Consideration transferred, cash and equity interests issued and issuable
Business Combination, Consideration Transferred, Cash and Equity Interests Issued and Issuable
Business Combination, Consideration Transferred, Cash and Equity Interests Issued and Issuable
Consideration transferred, liabilities incurred
Business Combination, Consideration Transferred, Liabilities Incurred
Number of states in which the entity operates
Number of States in which Entity Operates
Deferred policy acquisition cost, amortization expense
Deferred Policy Acquisition Cost, Amortization Expense
Premium deficiency reserve
Premium Deficiency Reserve, Expense
Premium Deficiency Reserve, Expense
Investment Income, Net [Abstract]
Investment Income, Net [Abstract]
Investment income
Investment Income, Interest and Dividend
Investment expenses
Investment Income, Investment Expense
Net investment income
Investment Income, Net
Debt Disclosure [Abstract]
Warrants
Line of Credit and Related Warrants [Text Block]
Line of Credit and Related Warrants [Text Block]
Amortized Cost
Available-for-sale Securities, Debt Maturities, Single Maturity Date, Amortized Cost Basis [Abstract]
Due in one year or less
Available-for-sale Securities, Debt Maturities, Next Twelve Months, Amortized Cost Basis
Due after one through five years
Available-for-sale Securities, Debt Maturities, Year Two Through Five, Amortized Cost Basis
Due after five through ten years
Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Amortized Cost Basis
Due after ten years
Available-for-sale Securities, Debt Maturities, after Ten Years, Amortized Cost Basis
Asset-backed securities
Available-for-sale Securities, Debt Maturities, without Single Maturity Date, Amortized Cost Basis
Amortized Cost
Available-for-sale Securities, Amortized Cost Basis
Fair Value
Available-for-sale Securities, Debt Maturities, Single Maturity Date [Abstract]
Due in one year or less
Available-for-sale Securities, Debt Maturities, Next Twelve Months, Fair Value
Due after one through five years
Available-for-sale Securities, Debt Maturities, Year Two Through Five, Fair Value
Due after five through ten years
Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Fair Value
Due after ten years
Available-for-sale Securities, Debt Maturities, after Ten Years, Fair Value
Asset-backed securities
Available-for-sale Securities, Debt Maturities, without Single Maturity Date, Fair Value
Fair Value
Reinsurance Disclosures [Abstract]
Reinsurance
Reinsurance [Text Block]
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]
Reinsurance Policy, Type [Axis]
Reinsurance Policy, Type [Axis]
Reinsurance Policy [Domain]
Reinsurance Policy [Domain]
Oaktown Re Ltd
Oaktown Re Ltd [Member]
Oaktown Re Ltd [Member]
Subsequent Event [Line Items]
Subsequent Event [Line Items]
Excess of loss reinsurance agreement
Reinsurance Retention Policy, Excess Retention, Amount Reinsured
Fair Value of Financial Instruments
Fair Value Disclosures [Text Block]
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]
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 incurred:
Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims [Abstract]
Current year
Current Year Claims and Claims Adjustment Expense
Prior years
Prior Year Claims and Claims Adjustment Expense
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
Ending balance, net of reinsurance recoverables
Add reinsurance recoverables
Reserve at end of period, net of reinsurance recoverables
Earnings (Loss) per Share
Earnings Per Share [Text Block]
Ceded Credit Risk [Table]
Ceded Credit Risk [Table]
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]
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]
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
Reinsurance recoverable on unpaid claims
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]
Restatement Adjustment
Restatement Adjustment [Member]
Error Corrections and Prior Period Adjustments Restatement [Line Items]
Error Corrections and Prior Period Adjustments Restatement [Line Items]
Income tax (benefit)
Income Tax Expense (Benefit)
Basic EPS (in dollars per share)
Earnings Per Share, Basic
Diluted EPS (in dollars per share)
Earnings Per Share, Diluted
Deferred tax asset, net
Total assets
Total shareholder's equity
Revenues
Revenues [Abstract]
Net premiums earned
Premiums Earned, Net
Net investment income
Net Investment Income
Net realized investment 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) income
Other Income and Expenses [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, Debt
Total other expense
Other Nonoperating Income (Expense)
Income tax expense
Net income (loss)
Earnings (loss) per share
Earnings Per Share, Basic and Diluted [Abstract]
Basic earnings (loss) per share (in dollars per share)
Diluted earnings (loss) per share (in dollars per share)
Weighted average common shares outstanding
Weighted Average Number of Shares Outstanding Reconciliation [Abstract]
Basic weighted average shares outstanding (in shares)
Weighted Average Number of Shares Outstanding, Basic
Dilutive weighted average shares outstanding (in shares)
Weighted Average Number of Shares Outstanding, Diluted
Other comprehensive income, net of tax:
Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]
Net unrealized gains in accumulated other comprehensive income, net of tax expense of $664 and $0 for the quarters ended March 31, 2017 and March 31, 2016, respectively
Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Net of Tax
Reclassification adjustment for losses included in net loss (gain), net of tax expense of $0 for the quarters ended March 31, 2017 and 2016
Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax
Other comprehensive income, net of tax
Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent
Comprehensive income
Comprehensive Income (Loss), Net of Tax, Attributable to Parent
Net premiums written
Premiums Written, Net [Abstract]
Direct
Direct Premiums Written
Ceded
Ceded Premiums Written
Net premiums written
Premiums Written, Net
Net premiums earned
Premiums Earned, Net [Abstract]
Direct
Direct Premiums Earned
Ceded
Ceded Premiums Earned
Net premiums earned
Future Principal Payments [Abstract]
Long-term Debt, Fiscal Year Maturity [Abstract]
2017
Long-term Debt, Maturities, Repayments of Principal, Remainder of Fiscal Year
2018
Long-term Debt, Maturities, Repayments of Principal in Year Two
2019
Long-term Debt, Maturities, Repayments of Principal in Year Three
Total
Long-term Debt, Gross
Income Tax Disclosure [Abstract]
Federal statutory income tax rate
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent
Effective income tax rate on pre-tax income or loss
Effective Income Tax Rate Reconciliation, Percent
Fair Value Measurements, Recurring and Nonrecurring
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]
Term Loan
Debt Disclosure [Text Block]
Ceded risk-in-force
Risk In Force, Ceded
Risk In Force, Ceded
Ceded premiums written
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
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]
Net Investment Income
Investment Income [Table Text Block]
Net Realized Investments Gains (Losses)
Realized Gain (Loss) on Investments [Table Text Block]
Effects of Reinsurance
Effects of Reinsurance [Table Text Block]
Fixed maturities, amortized cost
Available-for-sale Debt Securities, Amortized Cost Basis
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
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]
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
Total gross liability for unpaid claims and claim adjustment expenses
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
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
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
Favorable prior year development
Reserve for prior year insurance claims and claim expenses
Liability for Prior Year Claims and Claims Adjustment Expense
Liability for Prior Year Claims and Claims Adjustment Expense
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
Number of warrants exercised during period
Class of Warrant or Right, Number of Warrants Exercised During Period
Class of Warrant or Right, Number of Warrants Exercised During Period
Schedule of Future Principal Payments
Schedule of Maturities of Long-term Debt [Table Text Block]
Change in unrealized investment gains/losses, tax
Schedule of Earnings Per Share, Basic and Diluted
Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]
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 Debt
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]
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 term
Debt Instrument, Term
Debt instrument, face amount
Debt Instrument, Face Amount
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
Debt issuance cost
Payments of Debt Issuance Costs
Percentage of debt discount
Debt Discount (Premium), Percentage
Debt Discount (Premium), Percentage
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
Investments
Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]
Organization and Basis of Presentation
Business Description and Basis of Presentation [Text Block]
New Accounting Pronouncements or Change in Accounting Principle [Table]
New Accounting Pronouncements or Change in Accounting Principle [Table]
Adjustments for New Accounting Pronouncements [Axis]
Adjustments for New Accounting Pronouncements [Axis]
Type of Adoption [Domain]
Type of Adoption [Domain]
ASU No. 2016-09
Accounting Standards Update 2016-09 [Member]
Accounting Standards Update 2016-09 [Member]
Retained deficit
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Cumulative effect adjustment
Net income (loss)
Dilutive weighted average shares outstanding (in shares)
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 used in operating activities:
Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]
Net realized investment 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 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
Deferred tax asset
Increase (Decrease) in Deferred Income Taxes
Unearned premiums
Increase (Decrease) in Unearned Premiums
Reserve for insurance claims and claims 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
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]
Proceeds from issuance of common stock related to employee equity plans
Proceeds from Issuance of Common Stock
Taxes paid related to net share settlement of equity awards
Payments Related to Tax Withholding for Share-based Compensation
Repayments of term loan
Repayments of Long-term Debt
Payments of debt modification costs
Net cash used in 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
Noncash financing activities
Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]
Interest paid
Interest Paid
Taxes paid
Income Taxes Paid
Statutory Information
Insurance Disclosure [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 Filer Category
Entity Filer Category
Entity Common Stock, Shares Outstanding
Entity Common Stock, Shares Outstanding
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
Year 5
Short-duration Insurance Contracts, Historical Claims Duration, Year Five
Basis of Presentation
Basis of Accounting, 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]
Premiums Receivable
Premiums Receivable, Basis of Accounting, Policy [Policy Text Block]
Recent Accounting Pronouncements
New Accounting Pronouncements, Policy [Policy Text Block]
Earnings Per Share
Earnings Per Share, Policy [Policy Text Block]
Bonds
Bonds [Member]
Short-term investments
Short-term Investments [Member]
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
Income Taxes
Income Tax Disclosure [Text Block]
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]
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