Is it ok if I lost weight in the beginning?

Hello mamas

Is it ok that in the first trimester I lost weight because of the morning sickness and vomiting?

I'm 21 weeks and 4 days pregnant and I didn't gain lots of weight maybe 2 kg.