v3.25.2
Investments - Schedule of Aging of Unrealized Losses (Details)
$ in Thousands
Jun. 30, 2025
USD ($)
security
Dec. 31, 2024
USD ($)
security
Debt Securities, Available-for-sale [Line Items]    
Number of securities, less than 12 months | security 50 98
Fair value, less than 12 months $ 265,436 $ 486,314
Unrealized losses, less than 12 months $ (1,382) $ (7,848)
Number of securities,12 months or greater | security 429 474
Fair value, 12 months or greater $ 1,444,136 $ 1,578,701
Unrealized loss position, 12 months or greater $ (108,525) $ (150,774)
Number of securities, total | security 479 572
Fair Value $ 1,709,572 $ 2,065,015
Unrealized Losses $ (109,907) $ (158,622)
U.S. Treasury securities and obligations of U.S. government agencies    
Debt Securities, Available-for-sale [Line Items]    
Number of securities, less than 12 months | security 2 4
Fair value, less than 12 months $ 2,859 $ 8,002
Unrealized losses, less than 12 months $ (1) $ (98)
Number of securities,12 months or greater | security 7 9
Fair value, 12 months or greater $ 10,760 $ 11,510
Unrealized loss position, 12 months or greater $ (220) $ (391)
Number of securities, total | security 9 13
Fair Value $ 13,619 $ 19,512
Unrealized Losses $ (221) $ (489)
Municipal debt securities    
Debt Securities, Available-for-sale [Line Items]    
Number of securities, less than 12 months | security 3 25
Fair value, less than 12 months $ 12,776 $ 110,648
Unrealized losses, less than 12 months $ (92) $ (1,928)
Number of securities,12 months or greater | security 224 220
Fair value, 12 months or greater $ 475,672 $ 471,770
Unrealized loss position, 12 months or greater $ (36,314) $ (47,939)
Number of securities, total | security 227 245
Fair Value $ 488,448 $ 582,418
Unrealized Losses $ (36,406) $ (49,867)
Corporate debt securities    
Debt Securities, Available-for-sale [Line Items]    
Number of securities, less than 12 months | security 28 68
Fair value, less than 12 months $ 138,522 $ 366,113
Unrealized losses, less than 12 months $ (1,273) $ (5,822)
Number of securities,12 months or greater | security 182 226
Fair value, 12 months or greater $ 919,380 $ 1,053,862
Unrealized loss position, 12 months or greater $ (70,643) $ (100,319)
Number of securities, total | security 210 294
Fair Value $ 1,057,902 $ 1,419,975
Unrealized Losses $ (71,916) $ (106,141)
Asset-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Number of securities, less than 12 months | security 1 0
Fair value, less than 12 months $ 233 $ 0
Unrealized losses, less than 12 months   $ 0
Number of securities,12 months or greater | security 16 19
Fair value, 12 months or greater $ 38,324 $ 41,559
Unrealized loss position, 12 months or greater $ (1,348) $ (2,125)
Number of securities, total | security 17 19
Fair Value $ 38,557 $ 41,559
Unrealized Losses $ (1,348) $ (2,125)
Short-term investments    
Debt Securities, Available-for-sale [Line Items]    
Number of securities, less than 12 months | security 16 1
Fair value, less than 12 months $ 111,046 $ 1,551
Unrealized losses, less than 12 months $ (16)  
Number of securities,12 months or greater | security 0 0
Fair value, 12 months or greater $ 0 $ 0
Unrealized loss position, 12 months or greater $ 0 $ 0
Number of securities, total | security 16 1
Fair Value $ 111,046 $ 1,551
Unrealized Losses $ (16)