XML 21 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities      
Net income before noncontrolling interests $ 265,630 $ 245,953 $ 173,230
Adjustments to reconcile net income to net cash provided by (used in) operating activities:      
Gains attributable to the fair value of future servicing rights, net of guaranty obligation (287,145) (358,000) (180,766)
Change in the fair value of premiums and origination fees 19,450 (32,981) 6,041
Amortization and depreciation 210,284 169,011 152,472
Stock compensation-equity and liability classified 36,582 28,319 24,075
Provision (benefit) for credit losses (13,287) 37,479 7,273
Deferred tax expense 34,222 47,165 22,012
Amortization of deferred loan fees and costs (2,423) (1,723) (6,587)
Amortization of debt issuance costs and debt discount 7,077 4,652 5,451
Origination fees received from loans held for investment 2,550 786 2,553
Originations of loans held for sale (17,810,768) (22,828,602) (15,746,949)
Proceeds from transfers of loans held for sale 18,431,542 21,216,975 16,007,910
Cash paid for cloud computing implementation costs (1,682) (1,199) (6,194)
Changes in:      
Receivables, net (42,873) (19,264) (2,298)
Other assets (26,613) 2,205 (20,924)
Other liabilities 46,657 71,382 2,601
Performance deposits from borrowers 1,252 6,472 (12,339)
Net cash provided by (used in) operating activities 870,455 (1,411,370) 427,561
Cash flows from investing activities      
Capital expenditures (9,208) (2,983) (4,711)
Purchase of equity-method investments (33,446) (1,682) (923)
Purchase of pledged available-for-sale ("AFS") securities (31,750) (24,883) (30,611)
Proceeds from prepayment and sale of pledged AFS securities 45,301 19,635 22,756
Investments in joint ventures (66,718) (24,369) (57,573)
Distributions from joint ventures 47,065 15,907 41,629
Acquisitions, net of cash received (420,555) (46,784) (7,180)
Originations of loans held for investment (557,706) (199,153) (362,924)
Principal collected on loans held for investment upon payoff 649,466 379,491 319,832
Net cash provided by (used in) investing activities (377,551) 115,179 (79,705)
Cash flows from financing activities      
Borrowings (repayments) of warehouse notes payable, net (635,912) 1,718,470 (367,864)
Borrowings of interim warehouse notes payable 266,575 60,770 179,765
Repayments of interim warehouse notes payable (227,999) (167,960) (67,871)
Repayments of notes payable (294,773) (2,977) (2,250)
Borrowings of notes payable 598,500    
Proceeds from secured borrowings   2,766  
Repayments of secured borrowings (73,312)    
Proceeds from issuance of common stock 5,252 14,021 5,511
Repurchase of common stock (18,872) (45,774) (30,676)
Purchase of noncontrolling interests   (10,400)  
Cash dividends paid (64,453) (45,350) (37,272)
Payment of contingent consideration   (1,641) (6,450)
Debt issuance costs (12,732) (4,298) (4,531)
Net cash provided by (used in) financing activities (457,726) 1,517,627 (331,638)
Net increase in cash, cash equivalents, restricted cash, and restricted cash equivalents (NOTE 2) 35,178 221,436 16,218
Cash, cash equivalents, restricted cash, and restricted cash equivalents at beginning of period 358,002 136,566 120,348
Total of cash, cash equivalents, restricted cash, and restricted cash equivalents at end of period 393,180 358,002 136,566
Supplemental Disclosure of Cash Flow Information:      
Cash paid to third parties for interest 37,947 45,944 63,564
Cash paid for income taxes $ 43,427 $ 29,708 $ 39,908