\newcommand{\logo}[2]{
\begin{figure}[H]
\centering
\includegraphics[width=.12\textwidth]{assets/figures/#1}
\caption{#2}
\end{figure}
}