Your bike is only 2-3 years old, and of good quality. Replacing it from what someone replies to over the internet would be asinine. Before you go buying something you don't need, like Vector7 suggested here 🙄, take off your pedals, grease the threads and tighten them down pretty well. Try that first before letting some jackass panic you with "OMFGWTF, throes away ur frame, d00d!!11!" and before you disassemble the whole drivetrain. From there, you might want to check the dropouts on the fork. You may need to add a little grease on the axle where it meets the dropout, and make sure the QRs are secure, of course not overtight, but secure. You may have to do the same for the rear. If that doesn't work, make sure you have no play in the headset. At that point, if these steps get you nowhere, then you may have to get into the BB and clean, lube and torque. And strangely enough, you might also want to check the seatpost clamp. The saddle rails may need a little grease. Bizarre sounds can come from any place on the bike, and can drive you crazy looking for them, but often they're not what you believe them to be. I had a clicking sound I was convinced was initially coming from the headset, as I heard it only when braking and getting out of the seat with weight on the bars, and it turns out it was the front dropout, so I lubed and tightened as I said above. Another sound I was sure was coming from the BB, but I greased the pedal threads and tightened the pedals down. Both sounds disappeared thereafter. Good luck.