Bonjour James,
Maarten’s explanation for the use of Le Passé Composé instead of L’Imparfait is right.
‘Last weekend’ refers to a specific event and hence the use of Le Passé Composé. L’Imparfait is used for an ongoing action or a recurring action that has not been completed and with no clear time frame
See following links: the-passe-compose-is-mostly-used-where-in-english-we-use-the-simple-past
le-passe-compose-usage-on-its-own-or-with-l-imparfait
I hope this is helpful.
Bonne journée !