British English has a large vocabulary for gentle mockery.
To take the mickey: To tease someone, often by imitating or exaggerating.
To wind someone up: To tease someone until they react.
Banter: Teasing exchanged between friends or colleagues.
Alright, Einstein: Said to someone who is showing off what they know.
He takes himself very seriously: He is pompous.
Don’t encourage him: Said, with a smile, about someone who has made a bad joke.