Fair Value Measurements - Change in Fair Value of Level 3 Financial Assets and Liabilities that are Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Fair Value Disclosures [Abstract]    
Beginning balance $ 166,428 $ 51,398
Net gain (loss) included in "Investment and derivative gain (loss), net" 16,166 (3,514)
Additions from consolidation of VIE   123,680
Transfers to real estate owned by consolidated VIE (534)  
Purchases 157,842 48,229
Sales (13,263)  
Payments, net (139,501) (57,047)
Accretion of discount 8,629 3,682
Ending balance 195,767 166,428
Net unrealized gains (losses) included in earnings for the period for Level 3 assets still held at the reporting date 16,304 (3,492)
Beginning balance 576 0
Net loss (gain) included in "Investment and derivative gain (loss), net" 16 (27)
Additions from consolidation of VIE   559
Payments, net (158)  
Accretion of discount 74 44
Ending balance 508 576
Net unrealized losses (gains) included in earnings for the period for Level 3 liabilities still held at the reporting date $ 16 $ (27)