Investments | Investments We have designated our investment portfolio as available-for-sale and report it at fair value. The related unrealized gains and losses are, after considering the related tax expense or benefit, recognized through comprehensive income and loss, and on an accumulated basis in shareholders' equity. Net realized investment gains and losses are reported in income based upon specific identification of securities sold. Fair Values and Gross Unrealized Gains and Losses on Investments Amortized Gross Unrealized Fair Gains Losses As of September 30, 2018 (In Thousands) U.S. Treasury securities and obligations of U.S. government agencies $ 48,292 $ — $ (2,483 ) $ 45,809 Municipal debt securities 93,945 20 (1,933 ) 92,032 Corporate debt securities 536,240 323 (10,217 ) 526,346 Asset-backed securities 169,061 113 (1,236 ) 167,938 Total bonds 847,538 456 (15,869 ) 832,125 Short-term investments 42,256 54 — 42,310 Total investments $ 889,794 $ 510 $ (15,869 ) $ 874,435 Amortized Gross Unrealized Fair Gains Losses As of December 31, 2017 (In Thousands) U.S. Treasury securities and obligations of U.S. government agencies $ 65,669 $ — $ (981 ) $ 64,688 Municipal debt securities 89,973 534 (659 ) 89,848 Corporate debt securities 435,562 4,231 (1,958 ) 437,835 Asset-backed securities 100,153 916 (125 ) 100,944 Total bonds 691,357 5,681 (3,723 ) 693,315 Long-term investments - other 353 — — 353 Short-term investments 22,149 58 — 22,207 Total investments $ 713,859 $ 5,739 $ (3,723 ) $ 715,875 As of September 30, 2018 and December 31, 2017 , approximately $5.3 million and $7.0 million , respectively, of our cash and investments were held in the form of U.S. Treasury securities on deposit with various state insurance departments to satisfy regulatory requirements. See Note 5 "Reinsurance " for the information related to restricted cash. Scheduled Maturities The amortized cost and fair values of available-for-sale securities as of September 30, 2018 and December 31, 2017 , by contractual maturity, are shown below. Expected maturities will differ from contractual maturities because issuers may have the right to call or prepay obligations with or without call or prepayment penalties. Because most asset-backed securities provide for periodic payments throughout their lives, they are listed below in a separate category. As of September 30, 2018 Amortized Fair (In Thousands) Due in one year or less $ 63,314 $ 63,368 Due after one through five years 335,262 330,603 Due after five through ten years 318,357 308,759 Due after ten years 3,800 3,767 Asset-backed securities 169,061 167,938 Total investments $ 889,794 $ 874,435 As of December 31, 2017 Amortized Fair (In Thousands) Due in one year or less $ 97,406 $ 97,394 Due after one through five years 195,795 195,626 Due after five through ten years 305,798 306,930 Due after ten years 14,707 14,981 Asset-backed securities 100,153 100,944 Total investments $ 713,859 $ 715,875 Aging of Unrealized Losses As of September 30, 2018 , the investment portfolio had gross unrealized losses of $15.9 million , $7.8 million of which has been in an unrealized loss position for a period of 12 months or greater. We did not consider these securities to be other-than-temporarily impaired as of September 30, 2018 . We based our conclusion that these investments were not other-than-temporarily impaired as of September 30, 2018 on the following facts: (i) the unrealized losses were primarily caused by interest rate movements since the purchase date; (ii) we do not intend to sell these investments; and (iii) we do not believe that it is more likely than not that we will be required to sell these investments before recovery of our amortized cost basis, which may not occur until maturity. For those securities in an unrealized loss position, the length of time the securities were in such a position is as follows: Less Than 12 Months 12 Months or Greater Total # of Securities Fair Value Unrealized Losses # of Securities Fair Value Unrealized Losses # of Securities Fair Value Unrealized Losses As of September 30, 2018 (Dollars in Thousands) U.S. Treasury securities and obligations of U.S. government agencies 5 $ 5,033 $ (60 ) 18 $ 40,776 $ (2,423 ) 23 $ 45,809 $ (2,483 ) Municipal debt securities 26 53,431 (885 ) 18 30,580 (1,048 ) 44 84,011 (1,933 ) Corporate debt securities 180 343,602 (6,123 ) 43 76,589 (4,094 ) 223 420,191 (10,217 ) Asset-backed securities 51 111,382 (976 ) 6 10,563 (260 ) 57 121,945 (1,236 ) Total 262 $ 513,448 $ (8,044 ) 85 $ 158,508 $ (7,825 ) 347 $ 671,956 $ (15,869 ) Less Than 12 Months 12 Months or Greater Total # of Securities Fair Value Unrealized Losses # of Securities Fair Value Unrealized Losses # of Securities Fair Value Unrealized Losses As of December 31, 2017 (Dollars in Thousands) U.S. Treasury securities and obligations of U.S. government agencies 16 $ 29,806 $ (394 ) 26 $ 34,882 $ (587 ) 42 $ 64,688 $ (981 ) Municipal debt securities 21 38,628 (264 ) 10 17,945 (395 ) 31 56,573 (659 ) Corporate debt securities 94 128,313 (829 ) 23 48,978 (1,129 ) 117 177,291 (1,958 ) Asset-backed securities 22 27,947 (63 ) 5 12,438 (62 ) 27 40,385 (125 ) Total 153 $ 224,694 $ (1,550 ) 64 $ 114,243 $ (2,173 ) 217 $ 338,937 $ (3,723 ) The following table presents the components of net investment income: For the three months ended September 30, For the nine months ended September 30, 2018 2017 2018 2017 (In Thousands) Investment income $ 6,473 $ 4,363 $ 17,192 $ 12,455 Investment expenses (196 ) (193 ) (606 ) (570 ) Net investment income $ 6,277 $ 4,170 $ 16,586 $ 11,885 The following table presents the components of net realized investment gains (losses): For the three months ended September 30, For the nine months ended September 30, 2018 2017 2018 2017 (In Thousands) Gross realized investment gains $ 461 $ 69 $ 520 $ 536 Gross realized investment losses (469 ) — (469 ) (338 ) Net realized investment gains (losses) $ (8 ) $ 69 $ 51 $ 198 Investment Securities - Other-than-Temporary Impairment (OTTI) At September 30, 2018 , we held no other-than-temporarily impaired securities. During the three and nine months ended September 30, 2018 and the three months ended September 30, 2017, we did not recognize any OTTI losses. During the nine months ended September 30, 2017, we recognized $0.1 million of OTTI losses in earnings. |