I am trying to understand the spike protein production mechanism of the mRNA vaccines, and during my research I learned that the mRNA (Moderna, mRNA-1273) vaccines hijack the cell machinery to produce spike proteins of SARS-CoV-2 by providing genetic material mRNA (which is encapsulated by lipid nanoparticle).
My question, which cells are subject to the vaccine particules (which factor determines the target cells?) Are produced spike proteins part of the cells (which interacted by the vaccine), or are these proteins emitted into the bloodstream like hormones so immune systems attack only the produced spike proteins?
I am asking this question to understand whether the cells which are used to create spike proteins are attacked by the immune system.