Corporate Investments and Funds Held for Clients | (5) Corporate Investments and Funds Held for Clients Corporate investments and funds held for clients consist of the following: June 30, 2019 Gross Gross Amortized unrealized unrealized Type of Issue cost gains losses Fair value Cash and cash equivalents $ 132,478 $ — $ (2) $ 132,476 Funds held for clients' cash and cash equivalents 1,293,673 — (6) 1,293,667 Available-for-sale securities: Commercial paper 63,397 33 (2) 63,428 Corporate bonds 27,044 59 (4) 27,099 Asset-backed securities 26,488 55 (3) 26,540 U.S. treasury securities 13,736 21 — 13,757 Total available-for-sale securities (1) 130,665 168 (9) 130,824 Total investments $ 1,556,816 $ 168 $ (17) $ 1,556,967 (1) Included within the fair value of total available-for-sale securities above is $30,022 of corporate investments and $100,802 of funds held for clients. September 30, 2019 Gross Gross Amortized unrealized unrealized Type of Issue cost gains losses Fair value Cash and cash equivalents $ 100,530 $ — $ (1) $ 100,529 Funds held for clients' cash and cash equivalents 1,035,307 — (2) 1,035,305 Available-for-sale securities: Commercial paper 81,505 8 (3) 81,510 Corporate bonds 17,594 54 (1) 17,647 Asset-backed securities 29,513 88 (4) 29,597 U.S. treasury securities 21,004 17 — 21,021 Total available-for-sale securities (2) 149,616 167 (8) 149,775 Total investments $ 1,285,453 $ 167 $ (11) $ 1,285,609 (2) Included within the fair value of total available-for-sale securities above is $30,553 of corporate investments and $119,222 of funds held for clients. Cash and cash equivalents and funds held for clients’ cash and cash equivalents include demand deposit accounts, money market funds, commercial paper and short-term U.S. treasury securities as of June 30, 2019 and September 30, 2019. Classification of investments on the unaudited consolidated balance sheets is as follows: June 30, September 30, 2019 2019 Cash and cash equivalents $ 132,476 $ 100,529 Corporate investments 29,314 29,130 Funds held for clients 1,394,469 1,154,527 Long-term prepaid expenses and other 708 1,423 Total investments $ 1,556,967 $ 1,285,609 Available-for-sale securities that have been in an unrealized loss position for a period of less and greater than 12 months are as follows: June 30, 2019 Securities in an Securities in an unrealized loss unrealized loss position for less position for greater than 12 months than 12 months Total Gross Gross Gross unrealized unrealized unrealized losses Fair value losses Fair value losses Fair value Commercial paper $ (2) $ 19,055 $ — $ — $ (2) $ 19,055 Corporate bonds (1) 1,500 (3) 3,701 (4) 5,201 Asset-backed securities (1) 386 (2) 2,958 (3) 3,344 Total available-for-sale securities $ (4) $ 20,941 $ (5) $ 6,659 $ (9) $ 27,600 September 30, 2019 Securities in an Securities in an unrealized loss unrealized loss position for less position for greater than 12 months than 12 months Total Gross Gross Gross unrealized unrealized unrealized losses Fair value losses Fair value losses Fair value Commercial paper $ (3) $ 33,468 $ — $ — $ (3) $ 33,468 Corporate bonds — — (1) 1,100 (1) 1,100 Asset-backed securities (3) 6,289 (1) 417 (4) 6,706 Total available-for-sale securities $ (6) $ 39,757 $ (2) $ 1,517 $ (8) $ 41,274 The Company regularly reviews the composition of its portfolio to determine the existence of other-than-temporary-impairment (“OTTI”). The Company did not recognize any OTTI charges in accumulated other comprehensive income during the three months ended September 30, 2018 or 2019, nor does it believe that OTTI exists in its portfolio as of September 30, 2019. The Company plans to retain the securities in an unrealized loss position for a period of time sufficient enough to recover their amortized cost basis or until their maturity date. The Company believes that the unrealized losses on these securities were not due to deterioration in credit risk. The securities in an unrealized loss position held an A-1 rating or better as of September 30, 2019. 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 months ended September 30, 2018 or 2019. Gross realized gains and losses on the sale of available-for-sale securities were immaterial for both the three months ended September 30, 2018 and 2019. Expected maturities of available-for-sale securities at September 30, 2019 are as follows: Amortized cost Fair value One year or less $ 132,958 $ 133,041 One year to two years 16,658 16,734 Total available-for-sale securities $ 149,616 $ 149,775 |