Corporate Investments and Funds Held for Clients | (6) Corporate Investments and Funds Held for Clients Corporate investments and funds held for clients consisted of the following: June 30, 2023 Type of Issue Amortized cost Gross unrealized gains Gross unrealized losses Fair value Cash and cash equivalents $ 288,767 $ — $ — $ 288,767 Funds held for clients' cash and cash equivalents 2,132,545 — — 2,132,545 Available-for-sale securities: Commercial paper 110,003 12 (138) 109,877 Corporate bonds 112,262 18 (1,867) 110,413 Asset-backed securities 30,061 10 (337) 29,734 Certificates of deposit 68,247 5 (93) 68,159 U.S. treasury securities 158,839 — (2,839) 156,000 U.S government agency securities 8,000 — (513) 7,487 Other 7,329 — (129) 7,200 Total available-for-sale securities 494,741 45 (5,916) 488,870 Total investments $ 2,916,053 $ 45 $ (5,916) $ 2,910,182 December 31, 2023 Type of Issue Amortized cost Gross unrealized gains Gross unrealized losses Fair value Cash and cash equivalents $ 366,904 $ — $ — $ 366,904 Funds held for clients' cash and cash equivalents 2,759,349 — — 2,759,349 Available-for-sale securities: Commercial paper 49,002 5 (19) 48,988 Corporate bonds 204,682 2,830 (751) 206,761 Asset-backed securities 40,140 336 (160) 40,316 Certificates of deposit 37,620 36 (6) 37,650 U.S. treasury securities 159,125 106 (1,168) 158,063 U.S government agency securities 8,000 — (323) 7,677 Other 12,819 163 (50) 12,932 Total available-for-sale securities 511,388 3,476 (2,477) 512,387 Total investments $ 3,637,641 $ 3,476 $ (2,477) $ 3,638,640 All available-for-sale securities were included in Funds held for clients at June 30, 2023 and December 31, 2023. Cash and cash equivalents and funds held for clients’ cash and cash equivalents included demand deposit accounts and money market funds at June 30, 2023 and December 31, 2023. Classification of investments on the Unaudited Consolidated Balance Sheets was as follows: June 30, December 31, 2023 Cash and cash equivalents $ 288,767 $ 366,904 Funds held for clients 2,621,415 3,271,736 Total investments $ 2,910,182 $ 3,638,640 Available-for-sale securities that had been in an unrealized loss position for a period of less and greater than 12 months as of June 30, 2023 and December 31, 2023 had fair market value as follows: June 30, 2023 Securities in an unrealized loss Securities in an unrealized loss Total Gross unrealized losses Fair value Gross unrealized losses Fair value Gross unrealized losses Fair value Commercial paper $ (138) $ 96,665 $ — $ — $ (138) $ 96,665 Corporate bonds (695) 71,089 (1,172) 32,807 (1,867) 103,896 Asset-backed securities (233) 23,313 (104) 2,038 (337) 25,351 Certificates of deposit (93) 52,254 — — (93) 52,254 U.S. treasury securities (1,075) 95,388 (1,764) 60,612 (2,839) 156,000 U.S. government agency securities — — (513) 7,487 (513) 7,487 Other (71) 5,326 (58) 1,874 (129) 7,200 Total available-for-sale securities $ (2,305) $ 344,035 $ (3,611) $ 104,818 $ (5,916) $ 448,853 December 31, 2023 Securities in an unrealized loss Securities in an unrealized loss Total Gross unrealized losses Fair value Gross unrealized losses Fair value Gross unrealized losses Fair value Commercial paper $ (19) $ 32,846 $ — $ — $ (19) $ 32,846 Corporate bonds (60) 24,428 (691) 31,909 (751) 56,337 Asset-backed securities (5) 6,171 (155) 9,906 (160) 16,077 Certificates of deposit (6) 21,394 — — (6) 21,394 U.S. treasury securities (178) 80,597 (990) 67,913 (1,168) 148,510 U.S. government agency securities — — (323) 7,677 (323) 7,677 Other — — (50) 3,596 (50) 3,596 Total available-for-sale securities $ (268) $ 165,436 $ (2,209) $ 121,001 $ (2,477) $ 286,437 The Company regularly reviews the composition of its portfolio to determine the existence of credit impairment. The Company did not recognize any credit impairment losses during the three or six months ended December 31, 2022 or 2023. All securities in the Company’s portfolio held an A-1 rating or better as of December 31, 2023. The Company did not make any material reclassification adjustments out of accumulated other comprehensive income for realized gains and losses on the sale of available-for-sale securities during the three or six months ended December 31, 2022 or 2023. There were no realized gains or losses on the sale of available-for-sale securities for the three or six months ended December 31, 2022 or 2023. Expected maturities of available-for-sale securities at December 31, 2023 were as follows: Amortized cost Fair value One year or less $ 214,684 $ 213,663 One year to two years 152,062 151,098 Two years to three years 85,613 86,714 Three years to five years 59,029 60,912 Total available-for-sale securities $ 511,388 $ 512,387 |