The name of what you need is: VECTORIZATION.
Putting it very simply, vectorizing is a way to transform the pixels of an image into curves, lines and points, with the possibility of modifying its elements separately (edit, rotate, move, recolor, among other changes).
I can do this for you, I can optimize your logo or just re-do it in an identical way but with quality.
Finally, you can use it on any platform with quality, I'll send you the open file, transparent background, and several formats, black for light backgrounds, white for dark backgrounds.
You will also be able to print with vectorized quality, you can print something of an infinite size that will not lose 0.1% of quality.