Layoffs are common and carry no stigma in tech. Address it briefly in interviews: 'Position eliminated due to company restructuring.'
Then pivot to what you learned and what you're looking for next. Don't apologize or over-explain. Move the conversation forward.