How much weight should you gain

Tia

I think I’ve gain more then you normally do at 22 week pregnant. I was 140-145 now I’m 165. Also I’m 5 foot 10. Am I gaining weigh to fast ?