A compound of formula (I): wherein Ar is phenyl; m 1 is 1 and m 2 is 2 or m 1 is 2 and m 2 is 1; J is -C(R 21 R 22 )-; Y is -C(R 41 R 42 )- and Z is -C(R 51 R 52 ), and n 2 and n 3 are independently selected from 0 or 1 with the proviso that at least one of n 2 and n 3 must be 1; R 41 and R 51 may be combined to form, together with Y and Z, a (C 3 -C 5 )cycloalkyl ring which may be optionally substituted by (C 1 -C 3 )alkyl or halo; R 1 , R 2 , R 11 , R 12 , R 21 and R 22 are hydrogen; R 41 , R 42 , R 51 , and R 52 are independently selected from hydrogen, deuterium, halo, or (C 1 -C 3 )alkyl optionally substituted by halo; A is -CO 2 H; G is optionally substituted phenyl; G is optionally substituted one or more times by B, where B is (C 1 -C 10 )alkyl, (C 2 -C 10 )alkenyl, (C 2 -C 10 )alkynyl, (C 1 -C 10 )alkoxy, (C 2 -C 10 )dialkylamino, (C 1 -C 10 )alkylthio, (C 2 -C 10 )heteroalkyl, (C 3 -C 10 )cycloalkyl, (C 3 -C 10 )heterocycloalkyl, halo, (C 1 -C 10 )haloalkyl, (C 1 -C 10 )perhaloalkyl, optionally substituted aryl, optionally substituted heteroaryl, optionally substituted arylalkyl, cyano, or E-M where E is -O-, -S- or -N(R 4 )- and M is optionally substituted (C 1 -C 7 )alkyl, (C 3 -C 7 )cycloalkyl, fluoro(C 1 -C 3 )alkyl, a 5- to 10-membered heterocyclic group or an optionally substituted 6- to 10-membered aryl group, and when G is substituted by a plurality of substituents, each substituent is selected independently; R 4 is hydrogen, deuterium, or (C 1 -C 3 )alkyl optionally substituted by halo; or a pharmaceutically acceptable salt or solvate (eg hydrate) thereof, or corresponding N-oxide. wherein Ar is phenyl; m 1 is 1 and m 2 is 2 or m 1 is 2 and m 2 is 1; J is -C(R 21 R 22 )-; Y is -C(R 41 R 42 )- and Z is -C(R 51 R 52 ), and n 2 and n 3 are independently selected from 0 or 1 with the proviso that at least one of n 2 and n 3 must be 1; R 41 and R 51 may be combined to form, together with Y and Z, a (C 3 -C 5 )cycloalkyl ring which may be optionally substituted by (C 1 -C 3 )alkyl or halo; R 1 , R 2 , R 11 , R 12 , R 21 and R 22 are hydrogen; R 41 , R 42 , R 51 , and R 52 are independently selected from hydrogen, deuterium, halo, or (C 1 -C 3 )alkyl optionally substituted by halo; A is -CO 2 H; G is optionally substituted phenyl; G is optionally substituted one or more times by B, where B is (C 1 -C 10 )alkyl, (C 2 -C 10 )alkenyl, (C 2 -C 10 )alkynyl, (C 1 -C 10 )alkoxy, (C 2 -C 10 )dialkylamino, (C 1 -C 10 )alkylthio, (C 2 -C 10 )heteroalkyl, (C 3 -C 10 )cycloalkyl, (C 3 -C 10 )heterocycloalkyl, halo, (C 1 -C 10 )haloalkyl, (C 1 -C 10 )perhaloalkyl, optionally substituted aryl, optionally substituted heteroaryl, optionally substituted arylalkyl, cyano, or E-M where E is -O-, -S- or -N(R 4 )- and M is optionally substituted (C 1 -C 7 )alkyl, (C 3 -C 7 )cycloalkyl, fluoro(C 1 -C 3 )alkyl, a 5- to 10-membered heterocyclic group or an optionally substituted 6- to 10-membered aryl group, and when G is substituted by a plurality of substituents, each substituent is selected independently; R 4 is hydrogen, deuterium, or (C 1 -C 3 )alkyl optionally substituted by halo; or a pharmaceutically acceptable salt or solvate (eg hydrate) thereof, or corresponding N-oxide. <EOS>