How young is too young when you're 33?

I was at a wedding and hitting it off with a girl who I assumed was young but like 25/26

She was super confident and funny, had her own successful business

I then found out she was 23 and I immediately felt conflicted and kinda withdrew

Is it that it would actually be wrong? I kinda think 25+ is acceptable but I've no real basis for that other than a feeling.

To me it's about maturity but until she said 23 I assumed she was a little older as she kinda had herself together