Bike riding while pregnant??

Maria • I`m happily married, & I am a new mommy to a beautiful baby boy & with my new little girl. My life is now complete 💚💜
I am 22 weeks pregnant going to be 23 on Tuesday. Today I wanted to go bike riding so my husband and I decided to go for a short bike ride.  when we came back my mother in law said that I should go bike riding that it can be dangerous. I felt fine and it was really comfortable for me since my bike is a cruiser it's a little bit tall. Have any of you ladies gone bike riding while pregnant?