INVESTMENTS | 4. INVESTMENTS Unrealized Gains and Losses The difference between amortized cost or cost and estimated fair value and gross unrealized gains and losses, by major investment category, consisted of the following: Amortized Gross Gross Cost Unrealized Unrealized or Cost Gains Losses Fair Value (In thousands) March 31, 2019 Debt securities - available-for-sale: United States government obligations and authorities $ 144,450 $ 2,037 $ 525 $ 145,962 Obligations of states and political subdivisions 11,502 88 71 11,519 Corporate 260,844 3,693 1,152 263,385 International 22,458 213 79 22,592 439,254 6,031 1,827 443,458 Debt securities - held-to-maturity: United States government obligations and authorities 3,567 2 91 3,478 Corporate 930 8 2 936 International 55 — — 55 4,552 10 93 4,469 Total investments, excluding equity securities $ 443,806 $ 6,041 $ 1,920 $ 447,927 Amortized Gross Gross Cost Unrealized Unrealized or Cost Gains Losses Fair Value (In thousands) December 31, 2018 Debt securities - available-for-sale: United States government obligations and authorities $ 127,928 $ 1,091 $ 1,151 $ 127,868 Obligations of states and political subdivisions 9,870 27 130 9,767 Corporate 273,192 510 4,971 268,731 International 22,674 12 411 22,275 433,664 1,640 6,663 428,641 Debt securities - held-to-maturity: United States government obligations and authorities 4,085 1 158 3,928 Corporate 986 2 6 982 International 55 — 1 54 5,126 3 165 4,964 Total investments, excluding equity securities $ 438,790 $ 1,643 $ 6,828 $ 433,605 Net Realized and Unrealized Gains and Losses The Company calculates the gain or loss realized on the sale of investments by comparing the sales price (fair value) to the cost or amortized cost of the security sold. Net realized gains and losses on investments are determined in accordance with the specific identification method. Net realized and unrealized gains (losses), by major investment category, consisted of the following: Three Months Ended March 31, 2019 2018 (In thousands) Gross realized and unrealized gains: Debt securities $ 317 $ 223 Equity securities 2,830 1,153 Total gross realized and unrealized gains 3,147 1,376 Gross realized and unrealized losses: Debt securities (400 ) (1,441 ) Equity securities (446 ) (987 ) Total gross realized and unrealized losses (846 ) (2,428 ) Net realized and unrealized gains (losses) on investments $ 2,301 $ (1,052 ) The above line item, net realized and unrealized gains (losses) on investments, includes $2.3 million and less than $0.1 million of recognized net unrealized gains (losses) on equity securities for the three months ended March 31, 2019 and 2018, respectively. Contractual Maturity Actual maturities may differ from contractual maturities because issuers may have the right to call or pre-pay obligations. Amortized cost and estimated fair value of debt securities, by contractual maturity, consisted of the following: March 31, 2019 Amortized Cost Fair Value Securities with Maturity Dates (In thousands) Debt securities, available-for-sale: One year or less $ 17,108 $ 17,094 Over one through five years 198,410 199,858 Over five through ten years 218,177 220,854 Over ten years 5,559 5,652 439,254 443,458 Debt securities, held-to-maturity: One year or less 135 135 Over one through five years 4,042 3,963 Over five through ten years 375 371 4,552 4,469 Total $ 443,806 $ 447,927 Net Investment Income Net investment income consisted of the following: Three Months Ended March 31, 2019 2018 (In thousands) Interest income $ 3,657 $ 2,887 Dividends income 53 56 Net investment income $ 3,710 $ 2,943 Aging of Gross Unrealized Losses Gross unrealized losses and related fair values for debt securities, grouped by duration of time in a continuous unrealized loss position, consisted of the following: Less than 12 months 12 months or longer Total Gross Gross Gross Fair Unrealized Fair Unrealized Fair Unrealized Value Losses Value Losses Value Losses (In thousands) March 31, 2019 Debt securities - available-for-sale: United States government obligations and authorities $ 10,279 $ 8 $ 32,169 $ 517 $ 42,448 $ 525 Obligations of states and political subdivisions 790 21 5,339 50 6,129 71 Corporate 26,723 311 57,096 841 83,819 1,152 International 2,711 6 5,877 73 8,588 79 40,503 346 100,481 1,481 140,984 1,827 Debt securities, held-to-maturity: United States government obligations and authorities 114 — 3,161 91 3,275 91 Corporate 80 — 173 2 253 2 International — — 29 — 29 — 194 — 3,363 93 3,557 93 Total investments, excluding equity securities $ 40,697 $ 346 $ 103,844 $ 1,574 $ 144,541 $ 1,920 Less than 12 months 12 months or longer Total Gross Gross Gross Fair Unrealized Fair Unrealized Fair Unrealized Value Losses Value Losses Value Losses (In thousands) December 31, 2018 Debt securities - available-for-sale: United States government obligations and authorities $ 22,673 $ 246 $ 29,727 $ 905 $ 52,400 $ 1,151 Obligations of states and political subdivisions 3,254 18 4,786 112 8,040 130 Corporate 160,361 3,058 53,232 1,913 213,593 4,971 International 15,608 217 4,678 194 20,286 411 201,896 3,539 92,423 3,124 294,319 6,663 Debt securities, held-to-maturity: United States government obligations and authorities 229 1 3,113 157 3,342 158 Corporate 591 6 90 — 681 6 International 54 1 — — 54 1 874 8 3,203 157 4,077 165 Total investments, excluding equity securities $ 202,770 $ 3,547 $ 95,626 $ 3,281 $ 298,396 $ 6,828 As of March 31, 2019 , the Company held a total of 592 debt securities that were in an unrealized loss position, of which 475 securities were in an unrealized loss position continuously for 12 months or more. As of December 31, 2018 , the Company held a total of 1,222 debt and equity securities that were in an unrealized loss position, of which 371 securities were in an unrealized loss position continuously for 12 months or more. The unrealized losses associated with these securities consisted primarily of losses related to corporate securities. The Company holds some of its debt securities as available-for-sale and as such, these securities are recorded at fair value. The Company continually monitors the difference between cost and the estimated fair value of its investments, which involves uncertainty as to whether declines in value are temporary in nature. If the decline of a particular investment is deemed temporary, the Company records the decline as an unrealized loss in shareholders’ equity. If the decline is deemed to be other than temporary, the Company will write the security’s cost-basis or amortized cost-basis down to the fair value of the investment and recognizes an OTTI loss in the Company’s consolidated statement of operations. Additionally, any portion of such decline related to debt securities that is believed to arise from factors other than credit will be recorded as a component of other comprehensive income rather than charged against income. The Company did not have any OTTI losses on its available-for-sale debt securities for the first three months of 2019 and 2018. The Company's equity investments are measured at fair value through net income (loss). Collateral Deposits Cash and cash equivalents and investments, the majority of which were debt securities, with fair values of $10.6 million and $10.3 million , were deposited with governmental authorities and into custodial bank accounts as required by law or contractual obligations as of March 31, 2019 and December 31, 2018 , respectively. |