My son is now having sex

Ugh. Every parents nightmare. Or I'm just dramatic, but my 17 year old son told me he had sex and plans to keep having it with his "friend". My son is adopted. We fostered him at 15, adopted him at 16 and he turned 17 in October. This poor baby has been through hell and back with physical and sexual abuse in foster care . He's a good kid overall and having the sex talk was awkward because 1. We didn't really know much about sex talk with a gay teen and 2. With someone who has trauma. But he was getting really close with his friend and they have kissed several times. Me and my husband both let him know if he wants to have sex he is free to do so in the house, because home is his safe place. He's been through so much trauma that if he's having sex we would rather it be in our home where he knows he's safe. He told me that he had sex and I already knew with who since his friend spent the night. The first thing I asked him was did he feel safe and he said yes and that it was gentle which really surprised him and that broke my heart. I then asked if he used a condom and he said yes. All I could do was hug him. I know I adopted him as a teen and it's weird to say my baby is growing up but I've seen how he was when we first met him. He wouldn't even speak. And now he is safe. And doing much older things. And he came to me about it. It's weird but this has me emotional