Was this a bad shove?

1/3 I’m starting the handoff UTG with about $400

I raise with KQo to $18

Action folds to the button that calls, and we go to the flop heads up

Js-Qh-10d

I raise $25

Button calls

2c on the turn

I raised $35

He re-raises to $120

I jam all in for about 350

He thinks for a bit then folds and shows Q 10