INVESTMENTS | INVESTMENTS Net investment income was attributable to the following: Three Months Ended June 30, Six Months Ended June 30, (in thousands) 2024 2023 2024 2023 Fixed maturity securities $ 17,141 $ 15,894 $ 31,418 $ 30,232 Cash equivalents 31,395 26,117 58,673 44,817 Other (1) 1,626 (274) 3,228 2,923 Investment income 50,162 41,737 93,319 77,972 Investment expense (168) (253) (336) (432) Total $ 49,994 $ 41,484 $ 92,983 $ 77,540 (1) Represents the net interest earned on funds withheld. As of June 30, 2024 and December 31, 2023, the Company recorded accrued investment income of $15.5 million and $6.6 million, respectively. The following tables provide summaries of the Company's investments by major security type as of June 30, 2024 and December 31, 2023: June 30, 2024 (in thousands) Amortized Cost Unrealized Gains Unrealized Losses Fair Value U.S. treasury and agency securities $ 1,399,239 $ 2,115 $ (3,782) $ 1,397,572 Corporate notes 394,124 106 (1,054) 393,176 Certificates of deposit 38,865 — — 38,865 Total $ 1,832,228 $ 2,221 $ (4,836) $ 1,829,613 December 31, 2023 (in thousands) Amortized Cost Unrealized Gains Unrealized Losses Fair Value U.S. treasury and agency securities $ 802,288 $ 1,689 $ (1,062) $ 802,915 Corporate notes 234,908 854 (198) 235,564 Certificates of deposit 16,663 — — 16,663 Total $ 1,053,859 $ 2,543 $ (1,260) $ 1,055,142 The following tables present the estimated fair value and gross unrealized losses of fixed maturity securities in a gross unrealized loss position, by the length of time in which the securities have continuously been in that position, as of June 30, 2024 and December 31, 2023: June 30, 2024 Less than 12 Months 12 Months or Longer (in thousands, except no. of securities) Number of Securities Fair Value Gross Number of Securities Fair Value Gross U.S. treasury and agency securities 279 $ 973,844 $ (3,389) 11 $ 62,768 $ (393) Corporate notes 211 287,408 (1,009) 5 19,158 (45) Total 490 $ 1,261,252 $ (4,398) $ 16 $ 81,926 $ (438) December 31, 2023 Less than 12 Months 12 Months or Longer (in thousands, except no. of securities) Number of Securities Fair Value Gross Number of Securities Fair Value Gross U.S. treasury and agency securities 69 $ 480,312 $ (995) 4 $ 24,551 $ (67) Corporate notes 64 79,024 (166) 19 5,545 (32) Total 133 $ 559,336 $ (1,161) 23 $ 30,096 $ (99) The Company monitors available-for-sale debt securities for credit losses and recognizes an allowance for credit losses when factors indicate a decline in the fair value of a security is credit-related. Certain investments may experience a decline in fair value due to changes in market interest rates, changes in general economic conditions, or a deterioration in the credit worthiness of a security's issuer. For securities in an unrealized loss position that the Company does not intend to sell, the Company has assessed the gross unrealized losses during the period and determined an allowance for credit losses is not necessary because the declines in fair value are believed to be due to market fluctuations and not due to credit-related events. The amortized cost and fair value of the Company's fixed maturity securities as of June 30, 2024 and December 31, 2023 by contractual maturity are shown below. Actual maturities of these securities could differ from their contractual maturities because issuers may have the right to call or prepay obligations, with or without penalties. June 30, 2024 December 31, 2023 (in thousands) Amortized Cost Fair Value Amortized Cost Fair Value Due in one year or less $ 364,474 $ 363,639 $ 690,694 $ 689,833 Due after one year through five years 1,467,754 1,465,974 363,165 365,309 Total $ 1,832,228 $ 1,829,613 $ 1,053,859 $ 1,055,142 |