Logo of jester cap with thought bubble.

Image source: The Motley Fool.

loanDepot, Inc. (LDI -2.07%)
Q1 2022 Earnings Call
May 10, 2022, 11:00 a.m. ET

Contents:

  • Prepared Remarks
  • Questions and Answers
  • Call Participants

Prepared Remarks:


Operator

Good morning, and welcome, everyone, to loanDepot's first quarter 2022 conference call. [Operator instructions] I would now like to turn the call over to Gerhard Erdelji, senior vice president, investor relations. Please go ahead.

Gerhard Erdelji -- Senior Vice President, Investor Relations

Good morning, everyone, and thank you for joining our call. I'm Gerhard Erdelji, investor relations officer here at loanDepot. Today, we will discuss loanDepot's first quarter 2022 results. Before we begin, I would like to remind everyone that this conference call may include forward-looking statements regarding the company's operating and financial performance in future periods.

All statements other than statements of historical fact are statements that could be deemed forward-looking statements, including but not limited to guidance to our pull-through weighted rate lock volume, origination volume, pull-through weighted gain on sale margin, and expenses. These statements are based on the company's current expectations and available information. Actual results for future periods may differ materially from these forward-looking statements due to risks or other factors that are described in the Risk Factors section of our filings with the SEC. A webcast and transcript of this call will be posted on the company's Investor Relations website at investor.loandepot.com under the Events and Presentations tab.

10 stocks we like better than loanDepot, Inc.
When our award-winning analyst team has a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.* 

They just revealed what they believe are the ten best stocks for investors to buy right now... and loanDepot, Inc. wasn't one of them! That's right -- they think these 10 stocks are even better buys.

See the 10 stocks

*Stock Advisor returns as of April 7, 2022

On today's call, we have loanDepot founder and executive chairman, Anthony Hsieh; president and chief executive officer, Frank Martell; and chief financial officer Patrick Flanigan, to provide an overview of our quarter as well as our financial and operational results, outlook, and to answer your questions. We're also joined by our chief capital markets officer, Jeff Dergurahian, and our chief revenue officer, Jeff Walsh, to help address any questions you might have after our prepared remarks. And with that, I'll turn things over to Anthony to get us started. Anthony?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

Thank you, Gerhard, and good morning. I'm pleased to be with all of you on the call today. Thank you for joining us. I look forward to sharing my perspective and answering your questions.

The results for the first quarter reflected an environment that may turn out to be one of the most challenging that our industry has ever experienced. The increase in mortgage rates during the quarter happened much more quickly and sharply than anyone anticipated when the quarter began and resulted in significant and rapid decreases in profit margins. Environments such as these are why we built loanDepot the way we did. Our diversified channel strategy, scale, balance sheet strength, and ample liquidity allows us to be nimble and adapt to changing market conditions.

We have pivoted our business to generate more purchase loan volumes and are adding new products and services to meet the financial needs of our customers in today's market. Intense competition, lower volumes, and decreasing profit margins are putting pressure on the entire industry, which I believe creates long-term opportunities for loanDepot to outperform less efficient and less diversified competitors. To accelerate execution on that goal, we recently announced a major addition to our executive management team. Going forward, I will assume the role of executive chairman overseeing company strategy.

Frank Martell has joined us as president and chief executive officer of loanDepot. Frank has over 30 years executive leadership experience, most recently as CEO of CoreLogic, and has also served on the board of directors of the Mortgage Bankers Association. Frank will drive daily operations for the company's executive management team reporting to him. Along with George Brady, our chief digital officer, driving technology and innovation, and Zeenat Sidi, president and COO of our operating unit mello, Frank continues the enhancement of our C-suite.

The addition of these industry leaders will allow us to accelerate on executing the strategies for the next stage of the company's journey to innovate and disrupt the mortgage industry. To serve our customers in their homeownership journey and to create long-term shareholder value. I am excited for this opportunity, both personally and for the company. With that, let me introduce Frank Martell, loanDepot's president and CEO.

Frank?

Frank Martell -- President and Chief Executive Officer

Thank you, Anthony. Before I begin, on a personal note, I'd like to thank you and the rest of team loanDepot, for a very warm welcome. I'm excited about the opportunities ahead of us to drive significant employee, customer, and shareholder value creation in the medium to longer term. Since its founding 12 years ago, loanDepot has grown rapidly by employing diverse origination strategies, innovative and proprietary technologies that drive customer acquisition, service and satisfaction, and introducing exciting new products and services that meet the evolving needs of the marketplace.

Our growing service business and diversified multichannel origination strategy as well as our nationwide market reach is unique within the industry. Under Anthony's leadership, team loanDepot has become the scale leader, which provides the company with a durable platform to bolt on profitable solutions and adjacencies, which over time, can drive further scale and help reduce cyclicality. Along these lines, last week, we announced the third quarter launch of our mello HELOC solution. This all-digital HELOC will let homeowners quickly and efficiently access record levels of home equity while preserving the historically low-interest rates of their first mortgages.

While we remain focused on profitable growth opportunities, the recent sharp downturn in refinancing volumes requires a very aggressive focus on cost levels as well as productivity. In a few minutes, Pat will provide some detail around our progress resetting the cost structure during the first quarter. As we move forward this year, in line with our goal of achieving a profitable run rate exiting 2022, we will redouble our efforts to right-size our costs in line with market conditions. Ultimately, leveraging our operating scale and aggressively driving quality and cost productivity will help us expand margins and importantly, provide us with opportunities to participate in data and tech-driven initiatives designed to transform the homeownership and housing finance experience.

Despite its current challenges, residential housing is a $34 trillion asset class in the U.S. with enormous opportunities for innovative customer-focused firms such as loanDepot. I believe loanDepot is poised to succeed through leveraging and expanding its unique lending and servicing solutions, driving cross productivity and process efficiency, and harnessing the collective energy and innovative spirit of the company's dedicated team. With that, I will now turn the call over to Pat Flanagan, who will take us through our financial results in more detail.

Pat Flanagan -- Chief Financial Officer

Thanks, Frank, and good morning, everyone. During the first quarter, loan origination volume was $22 billion, a decrease of 26% from the fourth quarter of 2021. This was within the guidance we issued last quarter of between $19 billion and $24 billion. Our retail and partner strategies delivered $8 billion to purchase loan originations and $14 billion of refinance loan originations during that period.

Our multichannel origination strategy has allowed us to successfully pivot our production to less interest rate-sensitive purchase and cash-out refinance transactions. This was partly driven by our ongoing investment in our in-market retail channel. Retail loan officers increased by 9% year over year. These ongoing investments allowed us to increase the proportion of our purchase transactions from 19% a year ago to 37% in the first quarter as well as increasing both cashout and purchase transactions from 43% to 83% during the same period.

Our pull-through weighted rate lock volume of $20 billion for the first quarter resulted in quarterly total revenue of $503 million, which represented a decrease of 29% from the fourth quarter. Rate lock volume came in at the low end of the guidance we issued last quarter of $19 billion to $29 billion. The decrease in revenues as a result of lower rate lock volume and gain on sale margins. Our pull-through weighted gain on sale margin for the first quarter came in at 213 basis points.

This also came in at the low end of our guidance for gain on sale margin that we issued last quarter of between 200 and 250 basis points and was down from the 281 basis points in the fourth quarter. Rapidly rising interest rates and shrinking overall market size has caused significant margin compression as the industry accelerates shedding excess capacity. Our servicing portfolio complements our origination strategy and ensures that we can serve customers through the entire mortgage journey. Customer retention is one of our primary focuses in this channel.

By controlling the entire customer experience and retaining all of their data in our in-house platform, we improve our operating efficiency by capturing additional revenue opportunities and leveraging our marketing and customer acquisition expenses across multiple products and services. This is reflected by our preliminary organic recapture rate, which increased to 72% for the 12 months ended March 31st, 2022, compared to the final capture rate of 67% for the same period ended March 31st, 2021. The unpaid principal balance of our servicing portfolio decreased to $153 billion as of March 31st, 2022, compared to $162 billion as of December 31st, 2021. This reduction was primarily due to the sale of $24 billion of unpaid balance during the quarter.

We're particularly pleased to note that the prices of these sales exceeded the fair value mark of the assets at the time of sale. Reflecting these sales, servicing fee income decreased from $114 million in the fourth quarter of 2021 to $111 million in the first quarter of 2022. Bear in mind that we hedge our servicing portfolio, so we do not record the full impact of the increase in fair value in a rising interest rate environment in the results of our operations. We believe this strategy is designed to protect against volatility in our earnings and liquidity.

Our strategy of hedging the servicing portfolio is dynamic, and we adjust our hedge positions in reaction to changing interest rate environments. We have invested in our in-house servicing capabilities and by growing the portfolio and bringing more servicing in-house, including our recently announced Ginnie Mae servicing. We leverage the infrastructure and create the scale to increase the earnings contribution from this recurring countercyclical business line. As of the first quarter, we serviced 67% of our portfolio in-house, compared to 44% at the end of the fourth quarter of 2021.

This increase was primarily due to the transfer of approximately $33 billion in unpaid balance from our sub servicer to in-house, resulting in $2.4 million of deboarding expenses during the first quarter. As part of our balance sheet and capital management strategy, we repurchased $98 million of our senior notes due 2028 at an average purchase price of 88% of par. These transactions resulted in a $10.5 million gain on the extinguishment of debt and will result in annual interest savings of $6 million. During our call with you last quarter, we discussed our outlook for the market this year being between $2.5 trillion and $3 trillion.

Now we expect that market will be equal to or less than $2.5 trillion, which means we need to further reduce our expense base to align with those lower expectations and accelerate our pace of reductions. Looking ahead to the second quarter and assuming no material changes in interest rates or the competitive landscape, we expect pull-through weighted rate lock volume of between $12 billion and $22 billion, reflecting the recent increase in interest rates weighing on demand. We also expect loan origination volume between $13 billion and $18 billion. We expect second quarter pull-through weighted gain on sale margins of between 160 and 210 basis points, reflecting the significantly higher competitive pressure.

Our total expenses for the first quarter of 2022 decreased by $88 million or 13% from the prior quarter due primarily to lower variable expenses on lower loan origination volume and lower marketing expenses. We are aggressively managing our cost structure to return to profitability by the end of the year. We expect to achieve this goal by further reducing marketing expenses and personnel expenses through the addition of headcount reductions. Despite these further expense reductions, given our expectations for decreasing market volumes and the competitive pressures on margins, we do not expect to be profitable for the fiscal year ending 2022.

Given our expectations for lower volumes and gain on sale margins, the lagging the nature of our expense reductions and as part of our balance sheet and capital management strategy, the board has decided to suspend payment of the regular dividend for the foreseeable future. The board will consider resuming the dividend in the future once net income becomes consistent. But in the meantime, we believe retaining cash on the balance sheet is a better use for the long-term benefit of our investors. With that, we're ready to turn it back to the operator for questions and answers.

Operator?

Questions & Answers:


Operator

[Operator instructions] Our first question will come from Doug Harter with Credit Suisse. Please go ahead.

Doug Harter -- Credit Suisse -- Analyst

Thanks. You talked a little bit about the expense reduction being tied to more variable in the first quarter. I guess how should we think about what the fixed costs can come down and how we should think about kind of what your expense level as a percentage of volume can be kind of over the intermediate term?

Pat Flanagan -- Chief Financial Officer

Sure, Doug. Thanks for the question. I think when you think about our fixed expenses, the vast majority of our expenses are people related, commission, and volume dependent. We'll continue to work primarily on scaling those to the current operating environment.

We haven't and we don't intend to provide specific guidance toward the level of expenses on a go-forward basis, but would point you back to our comments where we talked about the goal of returning to monthly profitability before the end of the year.

Doug Harter -- Credit Suisse -- Analyst

Great. I appreciate that. And then how are you thinking about the correct size of the MSR portfolio? How much more sales do you think you would do, the benefit of selling for liquidity versus kind of retaining and increasing your monthly cash flow?

Pat Flanagan -- Chief Financial Officer

Sure. And that's a great question. And we look at the balance sheet in three primaries when it comes to our MSR book and a couple of combinations of liquidity and leverage and then a ratio of the MSRs to our tangible net worth. And as I previously stated, we like to manage the company with total non-funding debt, which is exclusive of our warehouse financing to tangible net worth in the range of one to one and quarter to one.

And we also like to manage our liquidity so that we have cash on hand and immediately available borrowings on our short-term MSR lines equal to at least 5% to 7% of total assets. You'll see at the end of the first quarter, we had substantially higher levels of liquidity than that. And in times of disruption, we tend to build more liquidity and guard that. And we have a couple of levers to pull so we can both decrease the level of MSRs that we book on a monthly basis, and that is one of the strategies that we employ to maintain liquidity, and we can access the bulk sale market from time to time, and we like to stay active in both of those.

I think if you think about our balance sheet going forward within the constraints of those ratios, that's primarily where we think we will land. And again, I want to focus on that we believe the right thing to do in times of disruptive markets and tighter margins is to maintain a very healthy amount of liquidity and moderate leverage on balance sheet.

Doug Harter -- Credit Suisse -- Analyst

I appreciate that. Thank you.

Operator

Our next question will come from Kevin Barker with Piper Sandler. Please go ahead.

Kevin Barker -- Piper Sandler -- Analyst

Thanks for taking my questions. You're proactive in selling MSRs. It seems like there's still a pretty robust market for those. And then your debt continues to trade at a fairly sizable discount to par.

I mean could it be possible to accelerate potential sales of MSRs in order to reduce that debt amount and potentially increase cash? Would you consider going down that route?

Pat Flanagan -- Chief Financial Officer

Hi, Kevin. Yeah. Thanks for the question. And as I said, I think if you look at the strength of the balance sheet at the end of the first quarter, we had very substantial amounts of liquidity, and by managing the amount of MSRs that we sell on a monthly basis, we can offset operating losses and maintain absolute liquidity in the market.

We will and continue to look at the bulk sale MSR market from time to time. We've consistently done that throughout the years. And we think it's important to be actively in that market. We'll look at what the right combination is of co-issue deals and whole loan sales versus selling of books.

And we're comfortable with the leverage of where we are, as I said, non-funding debt to tangible net worth of one to one and quarter to one. When we start to exceed one and quarter and get near one and a half to one, that's when we usually access asset sales to kind of de-lever.

Kevin Barker -- Piper Sandler -- Analyst

OK. And then how much of your marketing spend is contractual in nature versus variable or discretionary? And then could you also give us a view on what production volume you've done quarter to date relative to your guide?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

Pat, is it OK if I take that one? Kevin, in terms of the marketing, what I'd like to highlight is an upward interest rate environment, your rate return refinances obviously disappear. And cash-out refinances start to become more of the dominant percentage of folks that are acquiring refinances. This is the first time, I think it's important for everyone to notice, that this is the first time post-Dodd-Frank where the nonbank and the banking sector lapsed a second mortgage because of some of the laws that were implemented post financial crisis and post-Dodd-Frank. The marketing flow and the lead flow generated by our brand and our performance marketing machine is still very prevalent.

However, the purpose and the motivation of the customers have changed because of rising interest rate environment. I think this is important for us to explain that the fact that we have differentiated assets, and we believe along with this change in consumer motivation, the behavior is still the same. They're still spending money. And the fact that we announced a digital HELOC, the first of its kind at a scale player is really going to allow us to monetize that lead flow and for us to continue to leverage our brand.

This is part of the benefit for operating a multichannel strategy and for us to make the necessary investments so that we can control not only the design of product, and utilizing technology where the digital HELOC is not a traditional HELOC, it's a digital HELOC. We expect to close these loans on an average of seven to eight days. We are adjusting to the market change, which everybody knows it's a rapid change, but the most substantial violent change I encountered in my 36 years. We're adjusting to that, and that marketing spend will change quite dramatically because our leverage on that marketing investment is going to change as our conversion changes as we add additional products.

The punch line to your question on how do we control the marketing cost, it's highly variable, and it's also highly dependent on the additional products that we add.

Pat Flanagan -- Chief Financial Officer

Let me just add on to what Anthony said, just more directly. Most of our marketing spend is highly variable and only about 5% of our quarterly run rate and marketing expense is long term and fixed in nature.

Kevin Barker -- Piper Sandler -- Analyst

OK. So when I think about the operating expenses and your ability to reduce those expenses given the current state of the market, what percent of your operating expenses in the first quarter would you consider variable in nature? And how many of those would be considered fixed? Obviously, I would think you're looking at it from a holistic perspective, but just if we hone into that, maybe we can get an idea of like how much you can really bring down those expenses relative to some of the headwinds we're seeing across the market. Thank you.

Pat Flanagan -- Chief Financial Officer

Sure. Again, the three major sort of categories of spend that we have high degrees of variability around are our people-related expenses, that's primarily commissioned, and that lags revenue by a month or so. And it's marketing, and we need to adjust our marketing to the return profiles on those marketing dollars that are spent in relation to what the market conditions are. And then how much we have or how much we choose to invest in our technology platform.

And then the rest of it is we are aggressively managing expenses down, and we're prioritizing our strategic initiatives for the quarter and for the rest of the year. And again, it's important to note, especially in fast-moving markets, that expenses do lag revenues by a significant portion.

Kevin Barker -- Piper Sandler -- Analyst

Thank you for taking my questions.

Operator

And our next question will come from Trevor Cranston with JMP Securities. Please go ahead.

Trevor Cranston -- JMP Securities -- Analyst

Hey. Thanks. Good morning. Question on the MSR.

Obviously, in the first quarter, the hedges basically offset the increase in fair value. Can you talk about how you've approached hedging it in the second quarter and how hedges have performed versus fair value increases on the MSR book so far in 2Q? And kind of what your general approach is in the hedging, in the MSR position given the rate outlook today. Thanks.

Pat Flanagan -- Chief Financial Officer

Yeah. Jeff Dergurahian, our chief capital markets officer, is on the line. Jeff, do you want to take that one?

Jeff Dergurahian -- Executive Vice President, Capital Markets

Sure. Thanks, Pat. Trevor, thanks for the question. As Pat mentioned in the opening statement, we're going to adjust the hedge on the MSR book to be at the appropriate level given the interest rate market and where rates are now at the present time.

We're going to continue to hedge the portfolio to line up with whatever the risk profile of that is at any given time. In general, the hedging levels have been reduced just because of the change in the asset profile here into Q2.

Trevor Cranston -- JMP Securities -- Analyst

OK. Are you targeting trying to offset the entirety of a fair value change even despite the fact that higher rates seem to have incremental negative impact on profitability on the operating side of the business?

Pat Flanagan -- Chief Financial Officer

We're looking to preserve value and liquidity that we see that we need to and the overall view of the hedging strategy. It is going to continue to be reevaluated as time goes on.

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

Just to add to that, a significant portion of our MSR financing is short-term revolving in nature that's subject to mark-to-market and margin calls. And one of the primary reasons besides value preservation for hedging the MSR book is to limit the amount of potential cash streams due to margin calls and kind of circles back to my earlier comments during prepared remarks about the need and our desire to continue to protect the levels of liquidity for the company.

Trevor Cranston -- JMP Securities -- Analyst

Yeah. OK. Thank you.

Operator

And our next question will come from Bob Napoli with William Blair. Please go ahead.

Bob Napoli -- William Blair and Company -- Analyst

Thank you very much. Appreciate it. Just having, and I know you guys have all been through many of these cycles, how do you feel this cycle compares? I mean I know you said it's the most difficult, but how quickly is capacity I guess in your view trading out of the industry, how long does it take do you think before gain on sale, before GOS starts to normalize toward long-term historical levels?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

Bob, it's Anthony Hsieh. Look, we're predicting along with MDA and Fannie and Freddie, everyone is predicting volumes this year with a two in front of it. It could be as low as two, it could be mid-twos. In any other year, that would be a healthy market, and there should be a decent amount of profitability as a result of that type of volume.

But when you're coming off of two giant years of 2020 and 2021, and mortgage lending is still very much inefficient, this is where the disruption in the future five to 10 years is going to become substantial. And there's a tremendous opportunity for the leaders in the space, particularly now with all the barriers to entry to so many different components, that takes a company to a level of scale. You're adjusting down from $4-plus trillion to $2.5 trillion or less in a matter of seven or eight or nine months. That is a tremendous and very, very violent change.

And the fact that most of the transactions on the refinance market side now, because of the substantial high-quality of credit that homeowners have today, they're enjoying interest rates that they do not want to pay off. The commerce, there's still lots of purchasing power. There's lots of money for home improvements. In particular, seeing the lack of inventory on the resale side, lots of homeowners are adding on and improving.

And we see this home equity market has very long legs, and it's an area that we're very excited about, but it does take a little bit of time to adjust. How long will this take? I think it will take until the rest of the year. In my previous -- in our previous earnings calls, we talked about four, six quarters, and I remain pretty consistent with that. Could the pressure be getting worse? Possibly, but I don't think so.

I think we're in the trough at this point, we're heading into the right time of the season. And I think that the pressure is good. Any time this adjust has happened, it's great for market consolidation. And with us moving forward and Frank being here, allowing myself to focus a bit more on the company and with Frank and Pat and Jeff and the rest of the team focusing on the inside the organization, creating operational leverage, I think we're excited about the future.

Bob Napoli -- William Blair and Company -- Analyst

Thank you. And then just -- the mortgage market is, I guess the good thing about a refi bust and higher interest rates is it sets up to the next refi wave may be down the road a bit. But the product set for the mortgage industry has changed drastically over the last decade or so. Are there opportunities? I know we've seen a number of subprime expansion.

But are there opportunities for higher-margin products, and I guess maybe HELOCs are one of those, to expand? Or do you guys think that there is no interest from the political side to expand the base of types of borrowers into what maybe could be more profitable for the mortgage industry?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

This is one of our greatest differentiators and why we work so hard to build assets that allows us to do exactly that, to build a brand, to build a performance marketing machine, and have sophisticated capital markets executions. This is why, just to remind everyone, back in 2015 and 2016, we were the first mortgage company to develop and introduce a personal loan product into the marketplace and exit that space only when the capital markets and the liquidity were disruptive through 2018. This market, post-Dodd-Frank, is uniquely different from any other market. Example, the last market, 60% of loan originations were non-Fannie, Freddie, FHA, VA.

60% of the fundings in the mortgage industry were sort of nongovernment products or GSE product. Today, we're looking at 12, 13 years post-Dodd-Frank, we're still looking at 90% of the funding today pretty much FHA, VA, Fannie and Freddie. The industry must look at new product opportunities to add in that delights our customers and help us lift marketing conversion. Having the assets to drive need at the top of the funnel and then to add products in our product mix, along with adding other services, is one of the key differentiators of this organization going forward.

As we look at a digital HELOC, we also are looking at personal loans, looking at other types of products and services that ultimately allows us to increase the ability to capture and convert higher so that we can additionally lever our marketing investments.

Bob Napoli -- William Blair and Company -- Analyst

Thank you. Appreciate your answers.

Operator

Our next question will come from Arren Cyganovich with Citi. Please go ahead.

Arren Cyganovich -- Citi -- Analyst

Yeah. Thank you. I was curious as to what your view of the mix of purchase and refi, which I would assume is probably mostly cash out refi in the second quarter?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

You want me to take that? OK, Arren, it's Anthony Hsieh. There's one other dynamic that is happening that I'd like to note, and that is, the nonbank market share in the last 10 years has increased significantly at an historical high. Based on the different reports that you read, it's well above 50% is the nonbank market share now as compared to previous cycles. As interest rates rise, there are a few things that makes a nonbank sort of create more sort of headwinds.

One obviously is the reduction in the overall volume, particularly around refinances, and then of course, the pressure on GOS over all the industry. But once interest rates rise, hybrid ARMs return because consumers want a lower interest rate because sticker shock. A 5% interest rate is still very attractive historically, but coming off of a 2% handle just eight, nine, 10 months ago, consumers start looking into hybrids. Seven-year ARMs, 10-year ARMs.

And that typically is a bank/credit union product. I think the nonbank will lose some share back to the bank just because of our capital costs and the way that we originate products. It's not just a purchase versus refinance ratio going forward. It's really how to increase product so that the customer has an opportunity to buy from you.

We are in a significantly different market today than I ever have witnessed in my career. A lot of this is a combination of the pandemic. A lot of this is the rising appreciation in real estate in the last couple of years. And the fact that the nonbank market share along with bank market share has changed significantly and nonbanks are at a disadvantage because of the cost of capital.

We're going to have to be very creative from loanDepot's perspective, and we believe that we have a tremendous strategy going into the rest of the year, understanding the current environment.

Pat Flanagan -- Chief Financial Officer

Let me give you just a couple of numbers. Purchase for the first quarter was about 37% of total originations. And for the second and third quarter, typically we would see a slight increase, and a lot is just due to the seasonality that second and third quarters tend to be purchase season. And I think you'll see that our percentage of purchase growth has grown over time as we continue, and we're adding more loan officers in our in-market retail channel today than we are in our direct-to-consumer channels of our retail side and they typically do more purchase production.

As the market dynamics change, we continue to pivot toward purchase.

Arren Cyganovich -- Citi -- Analyst

OK. That's helpful. Thank you. And then the other question I had was on I think you made a comment that you would expect to get back to profitability by yearend.

Is that an assumption that gain on sale margins will increase by yearend? Or is it an assumption that you'll be able to lower your costs to what is closer to what's being produced say in the second quarter?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

There's a combination of factors that work in there. We will continue to be aggressively managing our cost structure down to match the market size and market conditions. There is a lagging effect because revenue is recognized at the time of lock and we incur a significant amount of expenses in trailing months. If you think about us as a manufacturing business, that work in process takes 30 to 45 days to complete, so there's always a lag in how fast you can cut expenses in a mortgage origination business.

We also are assuming some contribution from our new HELOC product and continued pivoting to more cash out and adding a little bit of additional margin through new products going forward. And we expect, as I mentioned, to do a little higher percentage of purchase business and our purchase business has been carrying slightly higher margins than the refinance business. But that also will change as the product mix goes forward. Most of it is on the back of aggressively managing expenses.

Arren Cyganovich -- Citi -- Analyst

OK. And then lastly, the board deciding to cut the dividend, your stock is at very depressed levels. Have you engaged with the Board or the Board engaged in looking at any kind of strategic review of the company's future?

Pat Flanagan -- Chief Financial Officer

I think the short answer is no. At this point, no.

Arren Cyganovich -- Citi -- Analyst

OK. Thank you.

Operator

Our next question will come from the line of Courtney Bahlman with Barclays. Please go ahead.

Courtney Bahlman -- Barclays -- Analyst

Yeah. Hey, team. Thanks so much for the time. And Frank, congrats on the new role.

Just a really quick couple for me on the balance sheet. I know that you guys bought back about $98 million of the '28s in the quarter, but your total debt balance went up. I think you were at like $1.6 billion at the end of the fourth quarter, and now we're at about $1.9 billion at the end of this quarter. I know the 10-Q hasn't been posted yet, but I'm assuming that's because you guys tapped the third facility, that $300 million secured facility you entered in December of last year.

Did you guys utilize that in the quarter? And if so, what's the total balance outstanding between that facility and the $268 million facility that was drawn last quarter? And where does that leave you in terms of unencumbered or unpledged MSRs?

Pat Flanagan -- Chief Financial Officer

Hold on, let me catch up and do some quick math here for you.

Courtney Bahlman -- Barclays -- Analyst

Yeah. Take your time.

Pat Flanagan -- Chief Financial Officer

Actually, why don't we circle back after the call so we make sure and give you an accurate number?

Courtney Bahlman -- Barclays -- Analyst

Yeah. That would be great. Thank you. Then also just one more.

With regard to the funding capacity, it seems like you guys had decreases on two of your existing facilities in the quarter in addition to the payoff of the one. Just curious if you could provide any color here. Has there been any additional pullbacks post-quarter end? I know you guys had about $5 billion in available borrowing capacity at the end of the first quarter. Any decreases to that?

Pat Flanagan -- Chief Financial Officer

So we -- it was by our election to reduce the size of the warehouse lines just to meet the current demand levels. It's cheaper for us and reduces the amount of non-usage fees that we pay. We remain in full compliance and with very good relationship with all of our financing partners, and we have added additional financing partners into our lineup throughout this year.

Courtney Bahlman -- Barclays -- Analyst

OK. Great. That's very helpful. I'll follow up with you guys offline.

Thanks so much for the time.

Operator

And our next question will come from James Faucette with Morgan Stanley. Please go ahead.

Blake Netter -- Morgan Stanley -- Analyst

Hi. This is Blake Netter on the line for James. I wanted to follow up on the capital markets topic. With the Fed expected to taper and making its balance sheet runoff this year, can you walk us through how forces within the MBS market have impacted ODI and your capital markets execution? And how are those dynamics contemplated within your guidance?

Pat Flanagan -- Chief Financial Officer

Sure. Jeff, do you want to take that one?

Jeff Walsh -- Chief Revenue Officer

Yeah. Hey, Blake. In terms of the overall hedging strategy I think you're asking, or is it just in terms of execution in the capital markets?

Blake Netter -- Morgan Stanley -- Analyst

More of execution in the capital markets as you look to sell your new originations into the secondary market.

Jeff Walsh -- Chief Revenue Officer

Yes. I think we continue to be nimble to look for opportunities where we can sell loans to help drive either increased revenue for the company or better efficiency in the sale process. So that's just an ongoing process that we go through all the time.

Blake Netter -- Morgan Stanley -- Analyst

I see. That's useful. And then switching gears to another topic, we noticed that you ceded some market share in 1Q. Was that the result of you aiming to protect your margins and maybe sacrificing level volume there? And if so, how long do you think this might last? Is that the four to six-quarter timeframe that you mentioned earlier? Does that apply here as well?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

Sure. That's a good question. And as we stated previously on prior quarterly calls, we have focused on profitable market share growth. In the near term, while we continue to be aggressive in managing our cost structure down, we are fine in kind of treading water or even if there's a slight decrease in market share during the near term.

But we believe that upon the completion of sizing our organization correctly, that the investments we've made previously in brand and infrastructure will allow us to again take market share in a profitable manner going forward. And as capacity sifts from the market over the next few quarters, we would expect that later in the year that we might be in a position to continue that mission.

Blake Netter -- Morgan Stanley -- Analyst

That's helpful. Thank you for taking my questions.

Operator

[Operator instructions] Our next question will come from Derek Hewett with Bank of America. Please go ahead.

Derek Hewett -- Bank of America Merrill Lynch -- Analyst

Good morning, everyone. Given the challenging environment, we've already started to see headcount rationalization. But when do you think we're going to see potential industry consolidation?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

Hi, Derek. It's Anthony Hsieh. The industry is -- this is fairly early in the cycle. As the 10-year yield continues to rise and stabilize, I fully expect this pressure is going to force some additional consolidation.

There is lots of firsts in this particular cycle that is new to the industry post-Dodd-Frank. Lots of variables are unknown. It's harder to predict this cycle than previous cycles because of regulatory changes. Lots of changes between different models, lots of changes in consumer behavior.

We also have a digital disruption going on. We have real estate services disruption happening as well, which is our same core customer. Real estate buying and selling services and real estate finance should be the same company. I think you're going to see that come closer together in this cycle as well.

I think revenue, additional revenue opportunity outside of what we're talking about now in the $2 trillion to $2.5 trillion between your traditional refinance market and purchase market, in non-QM and second mortgage, and then HELOC is going to start building some momentum. We are very bullish on new revenue opportunities, but certainly, companies without the resources to add these products and have marketing control is going to feel much, much more of this pressure. Personally, I believe the longer this pressure period lasts, the better it is for loanDepot because it allows us to really strategize and continue to invest into our diversified strategy. The consolidation is starting, and it will continue on for at least the next four quarters.

Derek Hewett -- Bank of America Merrill Lynch -- Analyst

OK. Thank you. And then with the new consumer loans, will those new products reside on balance sheet? Or are you going to find a partner or are you going to partner up with another entity?

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

I can comment to that, and if Dergurahian or anyone else wants to add to my remarks. We are going to sell these assets. We plan to retain the servicing as we believe that any one of these HELOCs that we put on our servicing book is going to be a refinance when the 10-year yield drops. And as long as high 10-year yield is going to go up, it comes to a point where it's going to drop.

And when it drops, we have that HELOC on our servicing book. It becomes a refinance at that point where the customer will consolidate their second mortgage, which is on the HELOC, and their first. And currently, just to share with the marketplace, because we are such velocity marketers, 40% of our customers that are inbound today is asking for HELOC by name. Despite the fact that there's been very little marketing to society, customers are very savvy and starting to ask for a HELOC by name.

Certainly, because they don't want to touch the 2% to 2.5% historical low 30-year interest rate that they obtained over the last one to two years.

Derek Hewett -- Bank of America Merrill Lynch -- Analyst

OK. Great. Thank you.

Operator

And that will conclude today's question-and-answer session. Frank Martell, I'll turn the call back over to you.

Frank Martell -- President and Chief Executive Officer

OK. Thank you, operator. And again, thanks to everybody for joining the call today and for your robust and comprehensive questioning. We appreciate that very much.

Look, on behalf of Anthony, myself, Pat, and the rest of the loanDepot team, we remain laser-focused on driving profitable growth vectors, resizing and optimizing our cost structure in line with first quartile performance indicators, but also importantly, as we've discussed on this call, market realities at this point in time. I think these focus areas are the right ones. And together, with the unrelenting focus of a very talented team we believe will be critical to driving shareholder value in the medium to longer term. We are targeting to return to a profitable run rate as we exit the year.

And that will involve both growth and focusing on profitability, but also on our cost structure, our productivity, our quality, and our customer delivery. We appreciate and look forward to continuing to build our relationship with all of you and our investors, and we thank you for your time today and wish you all a great day.

Operator

[Operator signoff]

Duration: 51 minutes

Call participants:

Gerhard Erdelji -- Senior Vice President, Investor Relations

Anthony Hsieh -- Founder, Chairman, and Chief Executive Officer

Frank Martell -- President and Chief Executive Officer

Pat Flanagan -- Chief Financial Officer

Doug Harter -- Credit Suisse -- Analyst

Kevin Barker -- Piper Sandler -- Analyst

Trevor Cranston -- JMP Securities -- Analyst

Jeff Dergurahian -- Executive Vice President, Capital Markets

Bob Napoli -- William Blair and Company -- Analyst

Arren Cyganovich -- Citi -- Analyst

Courtney Bahlman -- Barclays -- Analyst

Blake Netter -- Morgan Stanley -- Analyst

Jeff Walsh -- Chief Revenue Officer

Derek Hewett -- Bank of America Merrill Lynch -- Analyst

More LDI analysis

All earnings call transcripts