This is obligatory reading, and I would say at 3 years you're probably exactly at that stage of your career when developers tend to be most susceptible to this mistake: https://www.joelonsoftware.com/2000/04/06/things-you-should-...
The message in this is as true now as it was 23 years ago. Granted, the code in your case might not be the company's flagship product for all I know, and maybe you should start from scratch, but definitely not until you've tried everything else.