Document apostrophe not working properly

When adding an apostrophe at the end of a word to indicate ownership (eg, foundation’s), 1 large space (equivalent to about 3 character spaces) is added between the apostrophe and the “s”. If I delete the space, the apostrophe is deleted as well. I use a mac with OS Tahoe 26.2.