Fair value measurements - Summary of valuation techniques (Details) $ in Thousands | Mar. 31, 2022USD ($)$ / shares | Dec. 31, 2021USD ($)$ / shares |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Fair Value | $ 246,004 | $ 514,470 |
Derivative liabilities, at fair value | 3,313 | 92 |
Level 3 | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liabilities, at fair value | | $ (79) |
Level 3 | Measurement Input, Discount Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.0302 |
Level 3 | Measurement Input, Discount Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.0311 |
Level 3 | Measurement Input, Discount Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.0303 |
Level 3 | Measurement Input, Prepayment Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.1408 |
Level 3 | Measurement Input, Prepayment Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.1514 |
Level 3 | Measurement Input, Prepayment Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.1423 |
Level 3 | Measurement Input, Collateral Losses | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.0015 |
Level 3 | Measurement Input, Collateral Losses | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.0020 |
Level 3 | Measurement Input, Collateral Losses | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.0015 |
Level 3 | Measurement Input, Loss Severity | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.1000 |
Level 3 | Measurement Input, Loss Severity | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.1000 |
Level 3 | Measurement Input, Loss Severity | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.1000 |
Level 3 | Measurement Input, Pull Through Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.9000 |
Level 3 | Measurement Input, Pull Through Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.9500 |
Level 3 | Measurement Input, Pull Through Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Derivative liability, measurement input | | 0.9069 |
Level 3 | Securitized Residential Mortgage | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, fair value | $ 2,105,572 | $ 1,158,134 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Discount Rate | Minimum | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0417 | 0.0226 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Discount Rate | Maximum | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.1300 | 0.1300 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Discount Rate | Weighted Average | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0475 | 0.0312 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Prepayment Rate | Minimum | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0402 | 0.0475 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Prepayment Rate | Maximum | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0864 | 0.1105 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Prepayment Rate | Weighted Average | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0787 | 0.0951 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Collateral Losses | Minimum | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0007 | 0.0038 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Collateral Losses | Maximum | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0435 | 0.0440 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Collateral Losses | Weighted Average | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0043 | 0.0083 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Loss Severity | Minimum | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | (0.1996) | (0.1808) |
Level 3 | Securitized Residential Mortgage | Measurement Input, Loss Severity | Maximum | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.2635 | 0.2911 |
Level 3 | Securitized Residential Mortgage | Measurement Input, Loss Severity | Weighted Average | Discounted Cash Flow | Variable Interest Entity, Primary Beneficiary | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.1228 | 0.1010 |
Level 3 | Residential Mortgage | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, fair value | $ 1,162,316 | $ 1,465,523 |
Level 3 | Residential Mortgage | Consensus Pricing | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, fair value | $ 3,898 | 4,405 |
Level 3 | Residential Mortgage | Recent Transaction | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, fair value | | $ 6,129 |
Level 3 | Residential Mortgage | Measurement Input, Discount Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0393 | 0.0277 |
Level 3 | Residential Mortgage | Measurement Input, Discount Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0750 | 0.0750 |
Level 3 | Residential Mortgage | Measurement Input, Discount Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0451 | 0.0337 |
Level 3 | Residential Mortgage | Measurement Input, Prepayment Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0 | 0 |
Level 3 | Residential Mortgage | Measurement Input, Prepayment Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.2197 | 0.2589 |
Level 3 | Residential Mortgage | Measurement Input, Prepayment Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.1281 | 0.1528 |
Level 3 | Residential Mortgage | Measurement Input, Collateral Losses | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0 | 0 |
Level 3 | Residential Mortgage | Measurement Input, Collateral Losses | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.1814 | 0.1537 |
Level 3 | Residential Mortgage | Measurement Input, Collateral Losses | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0026 | 0.0030 |
Level 3 | Residential Mortgage | Measurement Input, Loss Severity | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | (0.1518) | (0.1486) |
Level 3 | Residential Mortgage | Measurement Input, Loss Severity | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.1000 | 0.1000 |
Level 3 | Residential Mortgage | Measurement Input, Loss Severity | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 0.0987 | 0.0997 |
Level 3 | Residential Mortgage | Measurement Input, Offered Price | Minimum | Consensus Pricing | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | $ / shares | 91.82 | 88.57 |
Level 3 | Residential Mortgage | Measurement Input, Offered Price | Maximum | Consensus Pricing | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | $ / shares | 112.22 | 112.89 |
Level 3 | Residential Mortgage | Measurement Input, Offered Price | Weighted Average | Consensus Pricing | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | $ / shares | 102.04 | 102.59 |
Level 3 | Non-Agency RMBS | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Fair Value | $ 13,916 | $ 15,362 |
Level 3 | Non-Agency RMBS | Measurement Input, Discount Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.0483 | 0.0342 |
Level 3 | Non-Agency RMBS | Measurement Input, Discount Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.0868 | 0.1500 |
Level 3 | Non-Agency RMBS | Measurement Input, Discount Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.0644 | 0.0532 |
Level 3 | Non-Agency RMBS | Measurement Input, Prepayment Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.1059 | 0.0570 |
Level 3 | Non-Agency RMBS | Measurement Input, Prepayment Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.1059 | 0.1299 |
Level 3 | Non-Agency RMBS | Measurement Input, Prepayment Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.1059 | 0.1263 |
Level 3 | Non-Agency RMBS | Measurement Input, Collateral Losses | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.0024 | 0.0023 |
Level 3 | Non-Agency RMBS | Measurement Input, Collateral Losses | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.0024 | 0.0266 |
Level 3 | Non-Agency RMBS | Measurement Input, Collateral Losses | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.0024 | 0.0035 |
Level 3 | Non-Agency RMBS | Measurement Input, Loss Severity | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.1000 | (0.4398) |
Level 3 | Non-Agency RMBS | Measurement Input, Loss Severity | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.1000 | 0.1000 |
Level 3 | Non-Agency RMBS | Measurement Input, Loss Severity | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, measurement input | 0.1000 | 0.0732 |
Level 3 | Non-Agency RMBS Interest Only | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, fair value | $ 4,865 | $ 3,395 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Discount Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1000 | 0.1000 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Discount Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1250 | 0.1250 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Discount Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1211 | 0.1210 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Prepayment Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1059 | 0.1299 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Prepayment Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1059 | 0.1299 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Prepayment Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1059 | 0.1299 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Collateral Losses | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.0024 | 0.0023 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Collateral Losses | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.0024 | 0.0023 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Collateral Losses | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.0024 | 0.0023 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Loss Severity | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1000 | 0.1000 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Loss Severity | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1000 | 0.1000 |
Level 3 | Non-Agency RMBS Interest Only | Measurement Input, Loss Severity | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Debt securities, interest only, measurement input | 0.1000 | 0.1000 |
Level 3 | AG Arc | Comparable Multiple | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, fair value | $ 54,121 | $ 53,435 |
Level 3 | AG Arc | Measurement Input, Book Value Multiple | Minimum | Comparable Multiple | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 1.01 | 1.06 |
Level 3 | AG Arc | Measurement Input, Book Value Multiple | Maximum | Comparable Multiple | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 1.01 | 1.06 |
Level 3 | AG Arc | Measurement Input, Book Value Multiple | Weighted Average | Comparable Multiple | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Loans held-for-sale, measurement input | 1.01 | 1.06 |
Level 3 | Securitized debt | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, fair value | $ (1,859,917) | $ (999,215) |
Level 3 | Securitized debt | Measurement Input, Discount Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0375 | 0.0156 |
Level 3 | Securitized debt | Measurement Input, Discount Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0642 | 0.0449 |
Level 3 | Securitized debt | Measurement Input, Discount Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0416 | 0.0215 |
Level 3 | Securitized debt | Measurement Input, Prepayment Rate | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0580 | 0.0586 |
Level 3 | Securitized debt | Measurement Input, Prepayment Rate | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.1426 | 0.1105 |
Level 3 | Securitized debt | Measurement Input, Prepayment Rate | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0851 | 0.0966 |
Level 3 | Securitized debt | Measurement Input, Collateral Losses | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0007 | 0.0038 |
Level 3 | Securitized debt | Measurement Input, Collateral Losses | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0241 | 0.0293 |
Level 3 | Securitized debt | Measurement Input, Collateral Losses | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0040 | 0.0083 |
Level 3 | Securitized debt | Measurement Input, Loss Severity | Minimum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.0373 | 0.0636 |
Level 3 | Securitized debt | Measurement Input, Loss Severity | Maximum | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.1500 | 0.1289 |
Level 3 | Securitized debt | Measurement Input, Loss Severity | Weighted Average | Discounted Cash Flow | | |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] | | |
Long-term debt, measurement input | 0.1244 | 0.1015 |