I really need advice... (sleeping issues)

Hey Friends! I'm new here! (To parenthood and this group) and I am EBFing my 3 week old daughter. I am running in to a recurring problem that I'm not sure how to assuage and any help would be so appreciated! We have an Arms Reach Co Sleeper, we keep all four sides up because it doesn't fit well attached to our bed. My daughter is not a huge fan of sleeping anywhere but attached to me. I've found some success with nursing/cuddling her to sleep, and then placing her in the bassinet when she's deep enough in sleep not to care... the problem is that when she clusterfeeds or is otherwise miserable in the late night, I'm having trouble staying awake while I lull her to sleep. I've been trying to find positions to hold her that are less risky just incase, and so far we haven't had anything tragic happen... but it scares the crap out of me. I don't want to bedshare. It's terrifying to me. Every time I wake up with her I feel sick to my stomach thinking that I've put her at risk. But when it's 3-4am and I'm running on no sleep at all, I can't function, and I've tried cry it out a little but she doesnt hit a peak, she will scream and cry forever if we let her. I can't do that to her, either. I'm a FTM and still experiencing health issues and mental health issues following delivery but I just want to do right by my daughter...

Any advice would be so appreciated. Thanks💛