Annual report pursuant to Section 13 and 15(d)

Debt - Schedule of Components of Interest Expense, Related Fees, Losses on Debt Extinguishment and Cash Paid for Interest Expense for Debt (Details)

v3.25.0.1
Debt - Schedule of Components of Interest Expense, Related Fees, Losses on Debt Extinguishment and Cash Paid for Interest Expense for Debt (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Debt Instrument [Line Items]      
Interest expense $ 77,151 $ 67,620 $ 54,749
Amortization of debt issuance cost (loan fees) 6,073 6,123 4,800
Unused facility and other fees (loan fees) 2,734 3,722 2,798
Total interest expense and fees 85,958 77,465 62,347
Cash paid for interest expense 77,850 67,149 52,075
Loss on extinguishment of debt 171 0 3,686
SBA Debentures      
Debt Instrument [Line Items]      
Interest expense 4,993 4,562 3,997
Amortization of debt issuance cost (loan fees) 621 585 581
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 5,614 5,147 4,578
Cash paid for interest expense 4,575 4,562 2,835
2022 Notes      
Debt Instrument [Line Items]      
Interest expense     1,011
Amortization of debt issuance cost (loan fees)     50
Unused facility and other fees (loan fees)     0
Total interest expense and fees     1,061
Cash paid for interest expense     2,293
Amortization of original issue discounts     23
July 2024 Notes      
Debt Instrument [Line Items]      
Interest expense 2,706 5,009 5,009
Amortization of debt issuance cost (loan fees) 172 295 295
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 2,878 5,304 5,304
Cash paid for interest expense 5,008 5,009 5,009
February 2025 Notes      
Debt Instrument [Line Items]      
Interest expense 2,140 2,140 2,140
Amortization of debt issuance cost (loan fees) 115 115 115
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 2,255 2,255 2,255
Cash paid for interest expense 2,140 2,140 2,140
June 2025 Notes      
Debt Instrument [Line Items]      
Interest expense 3,017 3,017 3,017
Amortization of debt issuance cost (loan fees) 162 162 162
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 3,179 3,179 3,179
Cash paid for interest expense 3,016 3,017 3,017
June 2025 3-Year Notes      
Debt Instrument [Line Items]      
Interest expense 3,000 3,000 1,567
Amortization of debt issuance cost (loan fees) 155 155 81
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 3,155 3,155 1,648
Cash paid for interest expense 3,000 3,000 1,500
March 2026 A Notes      
Debt Instrument [Line Items]      
Interest expense 2,250 2,250 2,250
Amortization of debt issuance cost (loan fees) 95 95 95
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 2,345 2,345 2,345
Cash paid for interest expense 2,250 2,250 2,250
March 2026 B Notes      
Debt Instrument [Line Items]      
Interest expense 2,275 2,275 2,275
Amortization of debt issuance cost (loan fees) 103 103 103
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 2,378 2,378 2,378
Cash paid for interest expense 2,276 2,276 2,275
September 2026 Notes      
Debt Instrument [Line Items]      
Interest expense 8,697 8,697 8,698
Amortization of debt issuance cost (loan fees) 815 815 815
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 9,512 9,512 9,513
Cash paid for interest expense 8,531 8,532 8,531
Amortization of original issue discounts 166 166 166
January 2027 Notes      
Debt Instrument [Line Items]      
Interest expense 12,316 12,316 11,630
Amortization of debt issuance cost (loan fees) 828 828 782
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 13,144 13,144 12,412
Cash paid for interest expense 11,812 11,812 5,906
Amortization of original issue discounts 503 503 475
2031 Asset-Backed Notes      
Debt Instrument [Line Items]      
Interest expense 7,464 7,613 3,975
Amortization of debt issuance cost (loan fees) 394 399 209
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 7,858 8,012 4,184
Cash paid for interest expense 7,321 7,425 3,671
Amortization of original issue discounts 185 188 98
Loss on extinguishment of debt 171    
2033 Notes      
Debt Instrument [Line Items]      
Interest expense 2,500 2,500 2,500
Amortization of debt issuance cost (loan fees) 108 108 108
Unused facility and other fees (loan fees) 0 0 0
Total interest expense and fees 2,608 2,608 2,608
Cash paid for interest expense 2,500 2,500 2,500
2022 Convertible Notes      
Debt Instrument [Line Items]      
Interest expense     923
Amortization of debt issuance cost (loan fees)     148
Unused facility and other fees (loan fees)     0
Total interest expense and fees     1,071
Cash paid for interest expense     5,004
Amortization of original issue discounts     112
MUFG Bank Facility      
Debt Instrument [Line Items]      
Interest expense 11,931 5,583 4,548
Amortization of debt issuance cost (loan fees) 1,770 1,770 941
Unused facility and other fees (loan fees) 1,949 2,782 2,285
Total interest expense and fees 15,650 10,135 7,774
Cash paid for interest expense 11,866 5,948 4,097
SMBC Facility      
Debt Instrument [Line Items]      
Interest expense 13,862 8,658 1,209
Amortization of debt issuance cost (loan fees) 735 693 315
Unused facility and other fees (loan fees) 785 940 513
Total interest expense and fees 15,382 10,291 2,037
Cash paid for interest expense $ 13,555 $ 8,678 $ 1,047