Should I replace the logic board? My MacBook don't recognize my SSD

The problem is that sometimes my Macbook don’t reconazie the SSD and I said sometimes because I can spent a whole day trying to turn it on but the only thing I see is the flashing folder, but then the next day when I try again turn on just fine. First, I thought the problem was the SSD so I bought a new one but I still have the same problem, so now I think is the logic board and I don’t if I just try to fix the part where the SSD conect or should I change the whole logic board or buy a new one

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2944067:02crwdne2944067:0:

What is your SSD? The original Apple unit or something else? Make & Model.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

Both either the original Apple and the Aura Pro x2 don't work

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0