If you need a compact machine with the power of a desktop, the AtomMan G7 PT is a superb choice, although its looks and design are decidedly gamer.
https://www.techradar.com/computing/minisforum-atomman-g7-pt-mini-pc-review
https://www.techradar.com/computing/minisforum-atomman-g7-pt-mini-pc-review