Just to add to what Stef said, if there are hedgehogs around you might find the following useful re. hedgehogs and dogs.
Good luck. I hope you manage to avoid any more encounters between your dog and the hedgehogs. Simbo65’s advice about keeping the dog on a lead at night is good.
P.S. It isn’t possible to tell male from female by their size.