The following tables present the gross unrealized losses and related fair values for the Company’s investments in available-for-sale debt securities, grouped by duration of time in a continuous unrealized loss position as of June 30, 2022, and December 31, 2021 (in millions):
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | June 30, 2022 | | Less than 12 months | | 12 months or more | | Total | | Fair Value | | Gross Unrealized Losses | | Fair Value | | Gross Unrealized Losses | | Fair Value | | Gross Unrealized Losses | Fixed maturities available-for-sale: | | | | | | | | | | | | U.S. government and agencies | $ | 19.1 | | | $ | (0.3) | | | $ | 1.8 | | | $ | (0.1) | | | $ | 20.9 | | | $ | (0.4) | | States and other territories | 1.5 | | | (0.1) | | | 3.8 | | | (0.3) | | | 5.3 | | | (0.4) | | Corporate securities | 32.9 | | | (1.1) | | | 8.9 | | | (0.7) | | | 41.8 | | | (1.8) | | | | | | | | | | | | | | Residential mortgage-backed securities | 8.1 | | | (0.3) | | | 6.4 | | | (0.8) | | | 14.5 | | | (1.1) | | Commercial mortgage-backed securities | 2.3 | | | (0.1) | | | 3.7 | | | (0.5) | | | 6.0 | | | (0.6) | | Asset backed securities | 7.4 | | | (0.2) | | | 2.8 | | | (0.2) | | | 10.2 | | | (0.4) | | Short-term investments: | | | | | | | | | | | | U.S. government and agencies | 349.5 | | | (0.3) | | | — | | | — | | | 349.5 | | | (0.3) | | Total | $ | 420.8 | | | $ | (2.4) | | | $ | 27.4 | | | $ | (2.6) | | | $ | 448.2 | | | $ | (5.0) | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | December 31, 2021 | | Less than 12 months | | 12 months or more | | Total | | Fair Value | | Gross Unrealized Losses | | Fair Value | | Gross Unrealized Losses | | Fair Value | | Gross Unrealized Losses | | | | | | | | | | | | | States and other territories | 5.2 | | | (0.1) | | | — | | | — | | | 5.2 | | | (0.1) | | Corporate securities | 15.9 | | | (0.2) | | | — | | | — | | | 15.9 | | | (0.2) | | | | | | | | | | | | | | Residential mortgage-backed securities | 10.5 | | | (0.2) | | | — | | | — | | | 10.5 | | | (0.2) | | Commercial mortgage-backed securities | 4.7 | | | (0.1) | | | — | | | — | | | 4.7 | | | (0.1) | | Asset backed securities | 5.4 | | | (0.1) | | | — | | | — | | | 5.4 | | | (0.1) | | Total | $ | 41.7 | | | $ | (0.7) | | | $ | — | | | $ | — | | | $ | 41.7 | | | $ | (0.7) | |
|