Adjust cost basis after a refinance

Hello all, We sold our primary residence in 2022 and bought our new primary residence.  I am attempting to input the information from the sale of our previous home and have come across the adjusted cost basis section.  I began entering information from our original purchase, but then realized we did a cash out refinance in 2021. Do I report the refinance information or do I report the original sale information?