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 June 30, 2018 (In Thousands) U.S. Treasury securities and obligations of U.S. government agencies $ 48,288 $ 10 $ (2,060 ) $ 46,238 Municipal debt securities 93,607 226 (1,482 ) 92,351 Corporate debt securities 508,217 509 (10,700 ) 498,026 Asset-backed securities 148,103 345 (664 ) 147,784 Total bonds 798,215 1,090 (14,906 ) 784,399 Short-term investments 53,814 52 — 53,866 Total investments $ 852,029 $ 1,142 $ (14,906 ) $ 838,265 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 June 30, 2018 and December 31, 2017 , approximately $5.2 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. Scheduled Maturities The amortized cost and fair values of available-for-sale securities as of June 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 June 30, 2018 Amortized Fair (In Thousands) Due in one year or less $ 72,205 $ 72,166 Due after one through five years 313,545 309,079 Due after five through ten years 314,376 305,507 Due after ten years 3,800 3,729 Asset-backed securities 148,103 147,784 Total investments $ 852,029 $ 838,265 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 June 30, 2018 , the investment portfolio had gross unrealized losses of $14.9 million , $4.7 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 June 30, 2018 . We based our conclusion that these investments were not other-than-temporarily impaired as of June 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 June 30, 2018 (Dollars in Thousands) U.S. Treasury securities and obligations of U.S. government agencies 14 $ 29,453 $ (1,187 ) 8 $ 14,657 $ (873 ) 22 $ 44,110 $ (2,060 ) Municipal debt securities 27 52,276 (811 ) 10 17,670 (671 ) 37 69,946 (1,482 ) Corporate debt securities 209 363,399 (7,575 ) 19 45,034 (3,125 ) 228 408,433 (10,700 ) Asset-backed securities 42 79,609 (626 ) 4 6,236 (38 ) 46 85,845 (664 ) Short-term investments — — — — — — — — — Total 292 $ 524,737 $ (10,199 ) 41 $ 83,597 $ (4,707 ) 333 $ 608,334 $ (14,906 ) 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 June 30, For the six months ended June 30, 2018 2017 2018 2017 (In Thousands) Investment income $ 5,937 $ 4,099 $ 10,719 $ 8,092 Investment expenses (202 ) (191 ) (410 ) (377 ) Net investment income $ 5,735 $ 3,908 $ 10,309 $ 7,715 The following table presents the components of net realized investment gains (losses): For the three months ended June 30, For the six months ended June 30, 2018 2017 2018 2017 (In Thousands) Gross realized investment gains $ 59 $ 188 $ 59 $ 467 Gross realized investment losses — — — (337 ) Net realized investment gains (losses) $ 59 $ 188 $ 59 $ 130 Investment Securities - Other-than-Temporary Impairment (OTTI) At June 30, 2018 , we held no other-than-temporarily impaired securities and during the three and six months ended June 30, 2018, there were no credit losses recognized in earnings for which a portion of an OTTI loss was recognized in accumulated other comprehensive income. During the three months ended June 30, 2017, there were no OTTI losses. During the six months ended June 30, 2017, there were OTTI losses of $144 thousand recognized in earnings. |