XML 15 R5.htm IDEA: XBRL DOCUMENT v3.23.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Operating Activities    
Net loss $ (60,798) $ (90,806)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 17,013 14,813
Stock-based compensation 19,028 16,788
Amortization of debt discount and issuance costs 1,087 1,440
Non-cash lease expense 4,816 3,169
Impairment costs 113 0
Net (gain) loss on IRLCs, forward sales commitments, and loans held for sale (8,326) 60
Change in fair value of mortgage servicing rights, net 1,208 0
Gain on extinguishment of convertible senior notes (42,270) 0
Other (1,174) 2,290
Change in assets and liabilities:    
Accounts receivable, net 6,738 17,312
Inventory 103,588 112,734
Prepaid expenses and other assets 1,110 (1,982)
Accounts payable (1,675) 9,876
Accrued and other liabilities, deferred tax liabilities, and payroll tax liabilities, noncurrent (16,813) (14,442)
Lease liabilities (4,619) (3,642)
Origination of mortgage servicing rights (347) 0
Origination of loans held for sale (854,085) (159,186)
Proceeds from sale of mortgage servicing rights 339 0
Proceeds from sale of loans originated as held for sale 861,771 170,577
Net cash provided by operating activities 26,704 79,001
Investing activities    
Purchases of property and equipment (2,919) (7,442)
Purchases of investments (57,556) (77,596)
Sales of investments 12,014 5,346
Maturities of investments 48,483 6,500
Net cash provided by (used in) investing activities 22 (73,192)
Financing activities    
Proceeds from the issuance of common stock pursuant to employee equity plans 143 1,887
Tax payments related to net share settlements on restricted stock units (3,161) (2,595)
Borrowings from warehouse credit facilities 852,988 152,386
Repayments to warehouse credit facilities (858,214) (163,144)
Borrowings from secured revolving credit facility 0 156,799
Repayments to secured revolving credit facility 0 (219,711)
Principal payments under finance lease obligations (40) (217)
Repurchases of convertible senior notes (108,274) 0
Cash paid for secured revolving credit facility issuance costs 0 (764)
Net cash used in financing activities (116,558) (75,359)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (58) (4)
Net change in cash, cash equivalents, and restricted cash (89,890) (69,554)
Beginning of period 242,246 718,281
End of period 152,356 648,727
Cash, cash equivalents, and restricted cash: (89,890) (69,554)
Supplemental disclosure of cash flow information    
Cash paid for interest 4,609 3,377
Non-cash transactions    
Stock-based compensation capitalized in property and equipment 1,134 1,134
Property and equipment additions in accounts payable and accrued liabilities $ 32 $ 326