Company logos do not need to meet accessibility criterion per WCAG 1.4.3 ("Text that is part of a logo or brand name has no contrast requirement"). However, if you have flexibility with the logo design and can make it pass contrast guidelines, that's a great thing to do.
All other text must meet the minimum contrast ratios. So you'll need to adjust the colors being used for text and backgrounds so that they meet the requirements. For AA, it is required that normal text has a ratio of at least 4.5:1 and 3:1 for large text. AAA requires 7:1 for normal text and 4.5:1 for large text. Additionally AA requires that visual information used to identify UI components (i.e., controls) are to have a 3:1 contrast ratio against adjacent colors.
To learn more take a look at our Q&A for techniques on how-to check contrast ratios.