Home sale capital gain exclusion

We are planning to sell our home in a few months and relocate. We plan to rent for a few months while looking for a new house. We are safely under the $500k gain limit Is there any tax risk if I put proceeds from our sale into a investment account for a few months, until we find our new place? TIA