Hi Hebba,
The only way there would be a pregnancy risk in the scenario you're describing is if you ejaculated on or in her vulva/vaginal canal. If that did not happen, then pregnancy is not a possibility. You can read more about why that is here:
Human Reproduction: A Seafarer's Guide