Worried about subungual melanoma

im in my early 20s and on my thumb there is a small red dot/mark under the upper part of the nail, its been there for at least 6 months. ive shown my dermatologist before and she said it was a splinter hemorrhage, however it doesnt grow out with the nail its always in that same spot.

One thing i noticed is that when i put pressure on the thumb or nail the red mark gets smaller, and when i let go of the pressure it goes back to its normal size. what could this be is it subungual melanoma? it doesnt look like the typical ones ive seen in images as its on the upper part of the nail only and red.

 

It's more likely a nailbed glioma. The only way to know for sure what it is is to biopsy it. Certainly if it doesn't move down as the nail grows a biopsy is indicated.

Since it changes in size when you press it it's most likely a blood vessel

Indeed it is a haematoma,subungual melanomas present with longituidal stripes in 99% of the cases.The other 1 % is a bump under the nail that breaks it.Toe nails grow slower than finger nails,so it will take some time to disappear