Preflop, standard.

Flop, two pair usually needs to be bet hard early - it's difficult to improve it. This is an odd case, however. His 3bet range can't be much wider than 99+, AJs+, AQ. Nothing in his range except a suited ace would get played this way (other than AA, KK, AK which are unlikely). It's close, but I think you're ahead of his range and made a decent call.

I'm probably raising the flop, hoping to get it all in there.