v3.22.1
Investments - Restricted Cash and Cash Equivalents and Investments (Details) - USD ($)
$ in Thousands
Mar. 31, 2022
Dec. 31, 2021
Mar. 31, 2021
Restricted Cash and Investments Items [Line Items]      
Restricted cash $ 34,911 $ 39,419 $ 53,038
Restricted investments 433,602 542,728  
Total restricted cash and investments 468,513 582,147  
Third Party Agreements      
Restricted Cash and Investments Items [Line Items]      
Restricted cash 28,953 19,177  
Restricted investments 58,581 48,845  
Amortized cost 58,675 48,860  
Related Party Agreements      
Restricted Cash and Investments Items [Line Items]      
Restricted cash 5,958 20,242  
Restricted investments 375,021 493,883  
Amortized cost $ 394,115 $ 493,128